diff options
author | Marc Zyngier <maz@kernel.org> | 2025-02-25 20:29:28 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2025-03-04 01:57:10 +0300 |
commit | 89896cc1591188bfaf2f550abd5b8119b9a9787f (patch) | |
tree | c381f8e3aceddd25f3396a6bd63316daef062b38 /tools/perf/scripts/python/gecko.py | |
parent | 7682c023212e77babc68f04c44fe895091d9a5a9 (diff) | |
download | linux-89896cc1591188bfaf2f550abd5b8119b9a9787f.tar.xz |
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 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions