aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2025-05-14 10:34:55 +0000
committerMarc Zyngier <[email protected]>2025-05-19 07:01:19 +0000
commit73e1b621b25d7d45cebf9940cad3b377d3b94791 (patch)
tree795a0d1f0844269a495df15268d69f913dde661a /rust/helpers/build_bug.c
parentKVM: arm64: nv: Handle VNCR_EL2 invalidation from MMU notifiers (diff)
downloadkernel-73e1b621b25d7d45cebf9940cad3b377d3b94791.tar.gz
kernel-73e1b621b25d7d45cebf9940cad3b377d3b94791.zip
KVM: arm64: nv: Program host's VNCR_EL2 to the fixmap address
Since we now have a way to map the guest's VNCR_EL2 on the host, we can point the host's VNCR_EL2 to it and go full circle! Note that we unconditionally assign the fixmap to VNCR_EL2, irrespective of the guest's version being mapped or not. We want to take a fault on first access, so the fixmap either contains something guranteed to be either invalid or a guest mapping. Reviewed-by: Oliver Upton <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions