PCI: Refactor HT advertising of NO_MSI flag
authorMarc Zyngier <maz@kernel.org>
Tue, 30 Mar 2021 15:11:45 +0000 (16:11 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 20 Apr 2021 13:11:22 +0000 (14:11 +0100)
commit557853f4e23e60b6c5a6ec4771bbdf39bbae15d0
treeeb8e6a6aa2afca8d3eed305957033d9dab5d2c84
parent61af69296cbadf4c88a1076a3b3e5572827b04c8
PCI: Refactor HT advertising of NO_MSI flag

The few quirks that deal with NO_MSI tend to be copy-paste heavy.
Refactor them so that the hierarchy of conditions is slightly
cleaner.

Link: https://lore.kernel.org/r/20210330151145.997953-15-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/quirks.c