diff options
| author | Oliver Upton <oliver.upton@linux.dev> | 2025-09-24 16:51:50 -0700 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2025-10-13 14:44:37 +0100 |
| commit | e0b5a7967dec05144bc98125f98c47f74fd1152b (patch) | |
| tree | 9c1df0ba5c219a83fe15faec1d9c30a7b119523c /tools/testing/selftests/kvm/lib/kvm_util.c | |
| parent | KVM: arm64: Compute per-vCPU FGTs at vcpu_load() (diff) | |
| download | linux-e0b5a7967dec05144bc98125f98c47f74fd1152b.tar.gz linux-e0b5a7967dec05144bc98125f98c47f74fd1152b.zip | |
KVM: arm64: nv: Use FGT write trap of MDSCR_EL1 when available
Marc reports that the performance of running an L3 guest has regressed
by 60% as a result of setting MDCR_EL2.TDA to hide bad architecture.
That's of course terrible for the single user of recursive NV ;-)
While there's nothing to be done on non-FGT systems, take advantage of
the precise write trap of MDSCR_EL1 and leave the rest of the debug
registers untrapped.
Reported-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util.c')
0 files changed, 0 insertions, 0 deletions
