Re: [PATCH RESEND v2] PCI/MSI: Fix x86 VMs crash due to dereferencing NULL MSI domain

From: Thomas Gleixner
Date: Thu Mar 27 2025 - 17:29:59 EST


On Thu, Mar 27 2025 at 19:46, Andy Shevchenko wrote:

> On Thu, Mar 27, 2025 at 04:29:46PM +0000, Ashish Kalra wrote:
>> From: Ashish Kalra <ashish.kalra@xxxxxxx>
>>
>> Moving pci_msi_ignore_mask to per MSI domain flag is causing a panic
>> with SEV-SNP VMs under KVM while booting and initializing virtio-scsi
>> driver as below :
>
> Isn't it already fixed (in current Linus' master branch?

Yes it is.

3ece3e8e5976 ("PCI/MSI: Handle the NOMASK flag correctly for all PCI/MSI backends")

And it is fixed so that it takes _all_ potential PCI/MSI backends into
account and not only papers over the problem at hand as pointed out in
the thread leading up to the above commit.

Thanks,

tglx