Re: [PATCH 2/2] PCI/MSI: Update MSI-X irq domain hwsize
From: Guixin Liu
Date: Wed Mar 25 2026 - 22:02:17 EST
在 2026/3/25 21:58, Thomas Gleixner 写道:
On Wed, Mar 25 2026 at 16:40, Guixin Liu wrote:You are right, besides MSI, other attributes may also change.
在 2026/3/25 15:42, Thomas Gleixner 写道:Actually none of that is required. When you update the firmware then
So the straight forward solution is to free the MSI domain when theYes, I had also considered this aspect before, I will change the scheme
driver shuts down and tears the MSI interrupts down.
to this, and send another patch, thanks.
just let the PCI core rescan the device. That makes way more sense as
the new firmware might change other config entries as well not only the
MSI ones.
Thanks,
tglx
Removing and then recanning the PCI device is the best approach.
Best Regards,
Guixin Liu