diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2025-02-26 21:31:23 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2025-02-27 00:22:49 +0300 |
commit | 5c57533eb8c1efeeab4e2e417fa983d65707b925 (patch) | |
tree | 741e27b722c7e59b6aeb0ca2c1a692e4767c4234 /tools/perf/scripts/python/gecko.py | |
parent | d0b79563fd60c063ee4ad2a76024e60338ed3881 (diff) | |
download | linux-5c57533eb8c1efeeab4e2e417fa983d65707b925.tar.xz |
KVM: arm64: vgic-v4: Fall back to software irqbypass if LPI not found
Continuing with the theme of broken VMMs and guests, irqbypass
registration can fail if the virtual ITS lacks a translation for the
MSI. Either the guest hasn't mapped it or userspace may have forgotten
to restore the ITS.
Exit silently and allow irqbypass configuration to succeed. As a reward
for ingenuity, LPIs are demoted to software injection.
Tested-by: Sudheer Dantuluri <dantuluris@google.com>
Fixes: 196b136498b3 ("KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass")
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250226183124.82094-4-oliver.upton@linux.dev
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