diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2025-09-17 13:31:25 -0700 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2025-09-18 16:46:20 +0100 |
commit | 3af1105c4fa362d17d577b55d2b8a7c4609f16fc (patch) | |
tree | ce8e9148d1e9fa0e7a342d422f41c6b7164877f8 /rust/kernel | |
parent | 4a684088421d5a1ffb3b13243c58a9078c99e4b9 (diff) |
KVM: arm64: nv: Apply guest's MDCR traps in nested context
KVM needs to ensure the guest hypervisor's traps take effect when the
vCPU is in a nested context. While supporting infrastructure is in place
for most of the EL2 trap registers, MDCR_EL2 is not.
Fold the guest's trap configuration into the effective MDCR_EL2. Apply
it directly to the in-memory representation as it gets recomputed on
every vcpu_load() anyway.
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions