]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI/MSI: Provide MSI_FLAG_PCI_MSI_MASK_PARENT
authorShivamurthy Shastri <shivamurthy.shastri@linutronix.de>
Wed, 26 Jun 2024 19:05:12 +0000 (21:05 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 18 Jul 2024 18:31:19 +0000 (20:31 +0200)
commit7d189c77106ed6df09829f7a419e35ada67b2bd0
tree80e34dc876a174e0aa632f74cf161c45753a33d8
parent6dca724d61a1d10f772dcd06948c30ceca027069
PCI/MSI: Provide MSI_FLAG_PCI_MSI_MASK_PARENT

Most ARM(64) PCI/MSI domains mask and unmask in the parent domain after or
before the PCI mask/unmask operation takes place. So there are more than a
dozen of the same wrapper implementation all over the place.

Don't make the same mistake with the new per device PCI/MSI domains and
provide a new MSI feature flag, which lets the domain implementation
enable this sequence in the PCI/MSI code.

Signed-off-by: Shivamurthy Shastri <shivamurthy.shastri@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/87ed8j34pj.ffs@tglx
drivers/pci/msi/irqdomain.c
include/linux/msi.h