diff options
author | Tiejun Chen <[email protected]> | 2011-06-02 11:02:50 +0800 |
---|---|---|
committer | Jesse Barnes <[email protected]> | 2011-07-22 08:25:38 -0700 |
commit | b1a98b695b4efe10067d0e1cb5b66146a4e517bf (patch) | |
tree | 102d98bae1ffdd17a2090bcfee6b42c2c4bf39dd /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0918472ceeffad234df5589e45b646a94476f835 (diff) |
PCI: enumerate the PCI device only removed out PCI hieratchy of OS when re-scanning PCI
When hot-plugging a root bridge, we always prevent assigning a bus number
that already exists. This makes sure we don't step over an existing bus.
But sometimes we only remove PCI device in PCI hieratchy of OS, i,e.
echo 1 > /sys/bus/pci/devices/.../remove
but actually don't hotplug this device out the platform, so in this case
we still should re-scan this bus to enumerate this device when re-scanning
PCI again.
Signed-off-by: Tiejun Chen <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions