aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2011-03-05 13:21:51 +0100
committerJesse Barnes <[email protected]>2011-03-21 09:38:02 -0700
commit8b8bae901ce23addbdcdb54fa1696fb2d049feb5 (patch)
tree4b95885dc5ba5b6105231289501e83ef429987c2 /tools/perf/util/trace-event-scripting.c
parenta44f99c7efdb88fa41128065c9a9445c19894e34 (diff)
PCI/ACPI: Report ASPM support to BIOS if not disabled from command line
We need to distinguish the situation in which ASPM support is disabled from the command line or through .config from the situation in which it is disabled, because the hardware or BIOS can't handle it. In the former case we should not report ASPM support to the BIOS through ACPI _OSC, but in the latter case we should do that. Introduce pcie_aspm_support_enabled() that can be used by acpi_pci_root_add() to determine whether or not it should report ASPM support to the BIOS through _OSC. Cc: [email protected] References: https://bugzilla.kernel.org/show_bug.cgi?id=29722 References: https://bugzilla.kernel.org/show_bug.cgi?id=20232 Reported-and-tested-by: Ortwin Glück <[email protected]> Reviewed-by: Kenji Kaneshige <[email protected]> Tested-by: Kenji Kaneshige <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions