PCI: hv: Rework MSI handling
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:51:33 +0000 (23:51 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:22:19 +0000 (22:22 +0100)
commitdc2b453290c471266a2d56d7ead981e3c5cea05e
tree37a2dcb63dc784bcfc31c9e1a79be0f7ef49364a
parent706b585a1b9554cb1ede5108c733593b94a7e1c4
PCI: hv: Rework MSI handling

Replace the about to vanish iterators and make use of the filtering. Take
the descriptor lock around the iterators.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20211206210748.629363944@linutronix.de
drivers/pci/controller/pci-hyperv.c