]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit70e7d54f1e4a9b8bf46951aa16b817c07d888262
treedcd2f1d55b5def2178f495208170863bb37e6877
parent03d6b6f23dc6de300209a5e6268bddad60920c65
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