]> git.baikalelectronics.ru Git - kernel.git/commit
genirq/msi: Handle PCI/MSI allocation fail in core code
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:27:59 +0000 (23:27 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Dec 2021 10:52:22 +0000 (11:52 +0100)
commit359e9e9dda6ee3ce935c581e0166ec0fdd276f7b
treeafbad15dfbe9c1e6f734c8d3722125f77324757a
parenta17373e4a0beef2e0dfa5ada7af954378808f159
genirq/msi: Handle PCI/MSI allocation fail in core code

Get rid of yet another irqdomain callback and let the core code return the
already available information of how many descriptors could be allocated.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com> # PCI
Link: https://lore.kernel.org/r/20211206210225.046615302@linutronix.de
drivers/pci/msi/irqdomain.c
include/linux/msi.h
kernel/irq/msi.c