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)
commit890337624e1fa2da079fc1c036a62d178c985280
treeafbad15dfbe9c1e6f734c8d3722125f77324757a
parent57ce3a3c99b21e9c4f951ef01e0a3603c987c259
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