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 /rust/kernel/alloc/layout.rs | |
| parent | fb10ddf35c1cc3b2888a944c0a3b1aa3baea585e (diff) | |
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 'rust/kernel/alloc/layout.rs')
0 files changed, 0 insertions, 0 deletions
