[PATCH] pciehp: handle sticky power-fault status
authorThomas Schaefer <thomas.schaefer@kontron.com>
Thu, 8 Dec 2005 19:55:57 +0000 (11:55 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Jan 2006 20:13:18 +0000 (12:13 -0800)
commitc7ab337f91b59f71a30c3ab71e3bdfff41671977
tree187fdbee2a796814d00dfe097dc470b4087b658f
parent9d265124d051c2cf6716639239609d83f736dcdb
[PATCH] pciehp: handle sticky power-fault status

This patch disables power fault, MRL sensor and presence detection
interrupts when a PCIe slot is powered-off and enables those
interrupts when it is powered-on again. This is necessary to prevent
the associated events from causing an endless cycle of interrupts
due to the power-fault bit, which stays set till power is restored
to the slot.

Signed-off-by: Thomas Schaefer <thomas.schaefer@kontron.com>
Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pciehp_hpc.c