diff options
| author | Marc Zyngier <[email protected]> | 2025-02-25 17:29:28 +0000 |
|---|---|---|
| committer | Oliver Upton <[email protected]> | 2025-03-03 22:57:10 +0000 |
| commit | 89896cc1591188bfaf2f550abd5b8119b9a9787f (patch) | |
| tree | c381f8e3aceddd25f3396a6bd63316daef062b38 /rust/helpers/io.c | |
| parent | KVM: arm64: nv: Propagate used_lrs between L1 and L0 contexts (diff) | |
| download | kernel-89896cc1591188bfaf2f550abd5b8119b9a9787f.tar.gz kernel-89896cc1591188bfaf2f550abd5b8119b9a9787f.zip | |
KVM: arm64: nv: Fold GICv3 host trapping requirements into guest setup
Popular HW that is able to use NV also has a broken vgic implementation
that requires trapping.
On such HW, propagate the host trap bits into the guest's shadow
ICH_HCR_EL2 register, making sure we don't allow an L2 guest to bring
the system down.
This involves a bit of tweaking so that the emulation code correctly
poicks up the shadow state as needed, and to only partially sync
ICH_HCR_EL2 back with the guest state to capture EOIcount.
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'rust/helpers/io.c')
0 files changed, 0 insertions, 0 deletions
