PCI/MSI: Provide MSI_FLAG_MSIX_CONTIGUOUS
authorThomas Gleixner <tglx@linutronix.de>
Fri, 10 Dec 2021 22:19:20 +0000 (23:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:16:40 +0000 (22:16 +0100)
commit7a823443e9b4ed1ff4a3026d184f09d23fd6d9c9
treedcd2f1d55b5def2178f495208170863bb37e6877
parent173ffad79d177d9a91fbf3be6bf67ca81e0f765a
PCI/MSI: Provide MSI_FLAG_MSIX_CONTIGUOUS

Provide a domain info flag which makes the core code check for a contiguous
MSI-X index on allocation. That's simpler than checking it at some other
domain callback in architecture code.

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