[PATCH] allow dynamic enablement of EEH

John Rose johnrose at austin.ibm.com
Sat Feb 26 09:50:57 EST 2005


EEH scans the system I/O adapters at boot for EEH-capabilities.  If no
EEH-capable adapters are found, the subsystem is marked disabled for the
life of the system.  EEH should allow dynamic enabling of the EEH
subsystem when hotplug-adding an adapter.

Please apply, if appropriate.

Thanks-
John

Signed-off-by: John Rose <johnrose at austin.ibm.com>

diff -puN arch/ppc64/kernel/eeh.c~04_eeh_add_early arch/ppc64/kernel/eeh.c
--- 2_6_linus_2/arch/ppc64/kernel/eeh.c~04_eeh_add_early	2005-02-25 16:29:51.000000000 -0600
+++ 2_6_linus_2-johnrose/arch/ppc64/kernel/eeh.c	2005-02-25 16:29:51.000000000 -0600
@@ -808,7 +808,7 @@ void eeh_add_device_early(struct device_
 	struct pci_controller *phb;
 	struct eeh_early_enable_info info;
 
-	if (!dn || !eeh_subsystem_enabled)
+	if (!dn)
 		return;
 	phb = dn->phb;
 	if (NULL == phb || 0 == phb->buid) {

_





More information about the Linuxppc64-dev mailing list