Skip to content

Commit 0ae5eaf

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci
Pull PCI changes from Jesse Barnes: "A single fix for a regression that affects some people who try to disable ASPM for whatever reason." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci: PCI: ignore pre-1.1 ASPM quirking when ASPM is disabled
2 parents 212ad2f + 4949be1 commit 0ae5eaf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/pci/pcie/aspm.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,9 @@ static int pcie_aspm_sanity_check(struct pci_dev *pdev)
500500
int pos;
501501
u32 reg32;
502502

503+
if (aspm_disabled)
504+
return 0;
505+
503506
/*
504507
* Some functions in a slot might not all be PCIe functions,
505508
* very strange. Disable ASPM for the whole slot

0 commit comments

Comments
 (0)