diff options
author | 2025-02-25 17:29:28 +0000 | |
---|---|---|
committer | 2025-03-03 14:57:10 -0800 | |
commit | 89896cc1591188bfaf2f550abd5b8119b9a9787f (patch) | |
tree | c381f8e3aceddd25f3396a6bd63316daef062b38 /scripts/lib/kdoc/kdoc_output.py | |
parent | KVM: arm64: nv: Propagate used_lrs between L1 and L0 contexts (diff) | |
download | linux-rng-89896cc1591188bfaf2f550abd5b8119b9a9787f.tar.xz linux-rng-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 <maz@kernel.org>
Link: https://lore.kernel.org/r/20250225172930.1850838-15-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions