aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorJesse Barnes <[email protected]>2010-11-05 19:16:36 +0000
committerJesse Barnes <[email protected]>2010-11-11 17:38:14 +0000
commit97c145f7c87453cec90e91238fba5fe2c1561b32 (patch)
treee69b486547e713b6a9358ad780dcdf7b697a7912 /tools/perf/util/scripting-engines/trace-event-perl.c
parentPCI: fix size checks for mmap() on /proc/bus/pci files (diff)
downloadkernel-97c145f7c87453cec90e91238fba5fe2c1561b32.tar.gz
kernel-97c145f7c87453cec90e91238fba5fe2c1561b32.zip
PCI: read current power state at enable time
When we enable a PCI device, we avoid doing a lot of the initial setup work if the device's enable count is non-zero. If we don't fetch the power state though, we may later fail to set up MSI due to the unknown status. So pick it up before we short circuit the rest due to a pre-existing enable or mismatched enable/disable pair (as happens with VGA devices, which are special in a special way). Tested-by: Jesse Brandeburg <[email protected]> Reported-by: Dave Airlie <[email protected]> Tested-by: Dave Airlie <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions