On 4/5/2025 1:08 AM, Sean Christopherson wrote: > Return -EINVAL instead of success if amd_ir_set_vcpu_affinity() is > invoked without use_vapic; lying to KVM about whether or not the IRTE was > configured to post IRQs is all kinds of bad. > > Fixes: d98de49a53e4 ("iommu/amd: Enable vAPIC interrupt remapping mode by default") > Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx> Reviewed-by: Vasant Hegde <vasant.hegde@xxxxxxx> -Vasant