diff options
| author | Marc Zyngier <[email protected]> | 2025-05-14 10:34:55 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2025-05-19 07:01:19 +0000 |
| commit | 73e1b621b25d7d45cebf9940cad3b377d3b94791 (patch) | |
| tree | 795a0d1f0844269a495df15268d69f913dde661a /rust/helpers/build_bug.c | |
| parent | KVM: arm64: nv: Handle VNCR_EL2 invalidation from MMU notifiers (diff) | |
| download | kernel-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
