]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/MSI: Let core code free MSI descriptors
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:51:16 +0000 (23:51 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:22:17 +0000 (22:22 +0100)
commit1d516081a0033e52d4bd193f878a8192470821ec
tree4fb21d7237c713c1bad5324b841b2fb9fbe48665
parenta1055b23100cafa28a386fca8bd448a83633fa98
PCI/MSI: Let core code free MSI descriptors

Set the domain info flag which tells the core code to free the MSI
descriptors from msi_domain_free_irqs() and add an explicit call to the
core function into the legacy code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20211206210748.089085131@linutronix.de
drivers/pci/msi/irqdomain.c
drivers/pci/msi/legacy.c
drivers/pci/msi/msi.c