Skip to content

Commit 25b1fa8

Browse files
committed
Merge tag 'pci-v5.7-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull PCI fixes from Bjorn Helgaas: - Workaround Apex TPU class code issue that prevents resource assignment (Bjorn Helgaas) - Update MAINTAINERS to add Rob Herring for native PCI controller drivers (Lorenzo Pieralisi) * tag 'pci-v5.7-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: MAINTAINERS: Add Rob Herring and remove Andy Murray as PCI reviewers PCI: Move Apex Edge TPU class quirk to fix BAR assignment
2 parents 7adc4b3 + ef46738 commit 25b1fa8

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13050,7 +13050,7 @@ F: drivers/pci/controller/pci-xgene-msi.c
1305013050

1305113051
PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS
1305213052
M: Lorenzo Pieralisi <[email protected]>
13053-
R: Andrew Murray <[email protected]>
13053+
R: Rob Herring <[email protected]>
1305413054
1305513055
S: Supported
1305613056
Q: http://patchwork.ozlabs.org/project/linux-pci/list/

drivers/pci/quirks.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5567,3 +5567,10 @@ static void pci_fixup_no_d0_pme(struct pci_dev *dev)
55675567
dev->pme_support &= ~(PCI_PM_CAP_PME_D0 >> PCI_PM_CAP_PME_SHIFT);
55685568
}
55695569
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ASMEDIA, 0x2142, pci_fixup_no_d0_pme);
5570+
5571+
static void apex_pci_fixup_class(struct pci_dev *pdev)
5572+
{
5573+
pdev->class = (PCI_CLASS_SYSTEM_OTHER << 8) | pdev->class;
5574+
}
5575+
DECLARE_PCI_FIXUP_CLASS_HEADER(0x1ac1, 0x089a,
5576+
PCI_CLASS_NOT_DEFINED, 8, apex_pci_fixup_class);

drivers/staging/gasket/apex_driver.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -570,13 +570,6 @@ static const struct pci_device_id apex_pci_ids[] = {
570570
{ PCI_DEVICE(APEX_PCI_VENDOR_ID, APEX_PCI_DEVICE_ID) }, { 0 }
571571
};
572572

573-
static void apex_pci_fixup_class(struct pci_dev *pdev)
574-
{
575-
pdev->class = (PCI_CLASS_SYSTEM_OTHER << 8) | pdev->class;
576-
}
577-
DECLARE_PCI_FIXUP_CLASS_HEADER(APEX_PCI_VENDOR_ID, APEX_PCI_DEVICE_ID,
578-
PCI_CLASS_NOT_DEFINED, 8, apex_pci_fixup_class);
579-
580573
static int apex_pci_probe(struct pci_dev *pci_dev,
581574
const struct pci_device_id *id)
582575
{

0 commit comments

Comments
 (0)