]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Document ordering requirements for irqbypass
authorOliver Upton <oliver.upton@linux.dev>
Wed, 26 Feb 2025 18:31:24 +0000 (10:31 -0800)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 26 Feb 2025 21:22:49 +0000 (13:22 -0800)
commitd766d87cf4a0a415a45bbb8fc2e3a4cc1995654d
tree880c3eb1a53c0d8fb8a2cc2755b0c7beaece1ceb
parent5c57533eb8c1efeeab4e2e417fa983d65707b925
KVM: arm64: Document ordering requirements for irqbypass

One of the not-so-obvious requirements for restoring a VM is ensuring
that the vITS has been restored _before_ creating any irqbypass mappings.
This is because KVM needs to get the guest translation for MSIs to
correctly assemble the vLPI mapping getting installed in the physical
ITS.

Document the restore ordering requirements necessary for GICv4 vLPI
injection to work.

Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250226183124.82094-5-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Documentation/virt/kvm/devices/arm-vgic-its.rst