diff options
author | Alex Chiang <achiang@hp.com> | 2009-03-30 10:50:14 -0600 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-04-06 11:30:26 -0700 |
commit | 5d4a4b25ddc3e864d3a562c024bebdc922118854 (patch) | |
tree | 9f0c9cdf4c14487517be83e82596a83616d905af /drivers/acpi | |
parent | c2ac7cdc6707a8a3fc5cdaebb65cb724ba8ecdef (diff) | |
download | linux-5d4a4b25ddc3e864d3a562c024bebdc922118854.tar.bz2 |
PCI Hotplug: acpiphp: grab refcount on p2p subordinate bus
If a logical hot unplug (remove) is performed on a bridge claimed
by acpiphp and then acpiphp is unloaded, we will encounter an oops.
This is because acpiphp will access the bridge's subordinate bus,
which was released by the user's prior hot unplug.
The solution is to grab a reference on the subordinate PCI bus.
This will prevent the bus from release until acpiphp is unloaded.
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tested-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Reported-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions