]> git.ipfire.org Git - thirdparty/linux.git/commit
iommu/amd: KVM: SVM: Pass NULL @vcpu_info to indicate "not guest mode"
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 22:45:25 +0000 (15:45 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 23 Jun 2025 16:50:25 +0000 (09:50 -0700)
commit95d50ebe6df80b791d599b1f7434f3a8cac8a84f
treecf0a4382cbd8dff551106280a6ad6954be568762
parentc4cdbaf9d81c8387da8b9b91567d4b0eb1b8a549
iommu/amd: KVM: SVM: Pass NULL @vcpu_info to indicate "not guest mode"

Pass NULL to amd_ir_set_vcpu_affinity() to communicate "don't post to a
vCPU" now that there's no need to communicate information back to KVM
about the previous vCPU (KVM does its own tracking).

Tested-by: Sairaj Kodilkar <sarunkod@amd.com>
Link: https://lore.kernel.org/r/20250611224604.313496-24-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/avic.c
drivers/iommu/amd/iommu.c