PCI pciehp: fix power fault interrupt storm problem
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Fri, 13 Nov 2009 06:14:10 +0000 (15:14 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 24 Nov 2009 23:25:19 +0000 (15:25 -0800)
commit5651c48cfafef1b9a7ebdc00ebeb32f2af887a89
tree98fa6b66b5a88d1a53d041fd0473d9711b8dd88a
parent13598378f29c125d78047b23330eb2294b03d414
PCI pciehp: fix power fault interrupt storm problem

Enabling power fault detected event notification in current pciehp
might cause power fault interrupt storm on some machines. On those
machines. On those machines, power fault detected bit in the slot
status register was set again immediately when it is cleared in the
interrupt service routine, and next power fault detected interrupt was
notified again. Therefore, disable power fault detected event
notification for now.

This patch also removes unnecessary handling for power fault cleared
event because this event is not supported by PCIe spec.

Tested-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/pciehp_hpc.c