Re: [PATCH] PCI: vmd: Delay interrupt handling on MTL VMD controller

From: Keith Busch
Date: Fri Sep 13 2024 - 12:35:06 EST


On Fri, Sep 13, 2024 at 09:44:47PM +0530, Manivannan Sadhasivam wrote:
>
> For the workaround, does it make sense to have a platform specific quirk in the
> NVMe driver? Because, reading the NVMe device register from VMD driver doesn't
> look plausible to me.

I don't know.

Does the breakage really need a register read on the device that
dispatched the original MSI? The VMD driver has no idea which device
sent it. If you really need to query every single device in the domain,
your performance is going to tank. It's bad enough issuing just a single
read in the IRQ handler, but to all of them?