KVM: SVM: Revert IRTE to legacy mode if IOMMU doesn't provide IR metadata
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 22:45:40 +0000 (15:45 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 23 Jun 2025 16:50:35 +0000 (09:50 -0700)
commit71d6b3b8e69d8a212c53df1150e559b101d6768b
treedda2b6a27a676cd4cfdf5f5c4befead5110a5e8c
parentcc8b13105eac969bb721c52cf95fd35818b5c54c
KVM: SVM: Revert IRTE to legacy mode if IOMMU doesn't provide IR metadata

Revert the IRTE back to remapping mode if the AMD IOMMU driver mucks up
and doesn't provide the necessary metadata.  Returning an error up the
stack without actually handling the error is useless and confusing.

Link: https://lore.kernel.org/r/20250611224604.313496-39-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/avic.c