diff options
| author | Oliver Upton <[email protected]> | 2025-02-26 18:31:23 +0000 |
|---|---|---|
| committer | Oliver Upton <[email protected]> | 2025-02-26 21:22:49 +0000 |
| commit | 5c57533eb8c1efeeab4e2e417fa983d65707b925 (patch) | |
| tree | 741e27b722c7e59b6aeb0ca2c1a692e4767c4234 /rust/helpers/io.c | |
| parent | KVM: arm64: vgic-v4: Only WARN for HW IRQ mismatch when unmapping vLPI (diff) | |
| download | kernel-5c57533eb8c1efeeab4e2e417fa983d65707b925.tar.gz kernel-5c57533eb8c1efeeab4e2e417fa983d65707b925.zip | |
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 <[email protected]>
Fixes: 196b136498b3 ("KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass")
Acked-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
