[PATCH] allow dynamic enablement of EEH
Linas Vepstas
linas at austin.ibm.com
Sat Mar 12 08:22:16 EST 2005
Hi John,
I just unearthed this patch .. sorry it took so long ...
FWIW, its good to me...
Signed-off-by: Linas Vepstas <linas at linas.org>
or should that be
Approved-by: Linas Vepstas <linas at linas.org>
--linas
On Fri, Feb 25, 2005 at 04:50:57PM -0600, John Rose was heard to remark:
> 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