PCI: pciehp: fix possible endless loop in pcie_isr
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 3 Feb 2009 06:06:13 +0000 (15:06 +0900)
committerJesse Barnes <jbarnes@hobbes.lan>
Fri, 20 Mar 2009 02:29:28 +0000 (19:29 -0700)
commit81b840cd27e3ee9af67b6e05a4847868f74fce69
tree35a88cc6fbf67273c61f053fa5375a0a01f3c181
parent0b3e7388e3b438500aaa0630879ce536747a47ca
PCI: pciehp: fix possible endless loop in pcie_isr

Fix possible endless loop in pcie_isr.

Currently, pcie_isr() (interrupt service routine of pciehp) can end up in an
endless loop if the Slot Status register is set again immediately after being
cleared. According to the past discussion (see below URL) this case can happen
if the power fault detected bit is set during handling.

http://sourceforge.net/mailarchive/message.php?msg_id=20051130135409.A14918%40unix-os.sc.intel.com

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pciehp_hpc.c