]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit654f501b06b1a15fd44266c38c85419a3491b7d5
treeeb8e6a6aa2afca8d3eed305957033d9dab5d2c84
parent34c2695aa7f645aa4acba07c86d30f89042b60a9
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