]> git.ipfire.org Git - thirdparty/linux.git/commit
iommu/amd: WARN if KVM calls GA IRTE helpers without virtual APIC support
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 22:45:59 +0000 (15:45 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 23 Jun 2025 16:50:48 +0000 (09:50 -0700)
commita23480fe21de60b3e191faa5b0a5ddd24c5e38d6
treedab61e25ca5e21cedf1d400c94155b7944a4e758
parent11a60455d4c9d50f07a36efefd5e487989b99b8b
iommu/amd: WARN if KVM calls GA IRTE helpers without virtual APIC support

WARN if KVM attempts to update IRTE entries when virtual APIC isn't fully
supported, as KVM should guard all such calls on IRQ posting being enabled.

Link: https://lore.kernel.org/r/20250611224604.313496-58-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
drivers/iommu/amd/iommu.c