aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMatthew Garrett <[email protected]>2012-03-27 10:17:41 -0400
committerLinus Torvalds <[email protected]>2012-03-31 12:49:56 -0700
commitc9651e70ad0aa499814817cbf3cc1d0b806ed3a1 (patch)
tree6347cadf5e3d2835bf63dc52a8fdfe2daaea5161 /tools/perf/util/scripting-engines/trace-event-python.c
parentcdb0f9a1ad2ee3c11e21bc99f0c2021a02844666 (diff)
ASPM: Fix pcie devices with non-pcie children
Since 3.2.12 and 3.3, some systems are failing to boot with a BUG_ON. Some other systems using the pata_jmicron driver fail to boot because no disks are detected. Passing pcie_aspm=force on the kernel command line works around it. The cause: commit 4949be16822e ("PCI: ignore pre-1.1 ASPM quirking when ASPM is disabled") changed the behaviour of pcie_aspm_sanity_check() to always return 0 if aspm is disabled, in order to avoid cases where we changed ASPM state on pre-PCIe 1.1 devices. This skipped the secondary function of pcie_aspm_sanity_check which was to avoid us enabling ASPM on devices that had non-PCIe children, causing trouble later on. Move the aspm_disabled check so we continue to honour that scenario. Addresses https://bugzilla.kernel.org/show_bug.cgi?id=42979 and http://bugs.debian.org/665420 Reported-by: Romain Francoise <[email protected]> # kernel panic Reported-by: Chris Holland <[email protected]> # disk detection trouble Signed-off-by: Matthew Garrett <[email protected]> Cc: [email protected] Tested-by: Hatem Masmoudi <[email protected]> # Dell Latitude E5520 Tested-by: janek <[email protected]> # pata_jmicron with JMB362/JMB363 [jn: with more symptoms in log message] Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions