linux-kernel-test/arch/powerpc/platforms
Linas Vepstas 25c4a46f0e [POWERPC] pSeries: EEH improperly enabled for some Power4 systems
It appears that EEH is improperly enabled for some Power4 systems.
On these systems, the ibm,set-eeh-option returns a value of success
even when EEH is not supported on the given node. Thus, an explicit
check for support is required.

During boot, on power4, without this patch, one sees messages
similar to:

EEH: event on unsupported device, rc=0 dn=/pci@400000000110/IBM,sp@1
EEH: event on unsupported device, rc=0 dn=/pci@400000000110/pci@2
EEH: event on unsupported device, rc=0 dn=/pci@400000000110/pci@2,2
etc.

The patch makes these go away.

Without this patch, EEH recovery does seem to work correctly for
at least some devices (I tested ethernet e1000), but fails to
recover others (the Emulex LightPulse LPFC, most notably).
Off the top of my head, I don't remember why some devices are
affected, but not others.

The PAPR indicates that the correct way to test for EEH is as
done in this patch; its not clear to me if this was in the PAPR
all along, or recently added; if it was there all along, its not
clear to me why this hadn't been fixed long ago. I suspect only
certain firmware levels are affected.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-02-07 14:03:17 +11:00
..
4xx kconfig: Standardize "depends" -> "depends on" in Kconfig files 2006-12-12 20:04:19 +01:00
8xx [POWERPC] Add mpc866ads board-specific bits to arch/powerpc 2007-02-07 14:03:17 +11:00
52xx [POWERPC] 52xx: Don't use device_initcall to probe of_platform_bus 2007-01-09 17:03:02 +11:00
82xx [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
83xx [POWERPC] 83xx: Fix compiler warnings on 836x and 832x 2007-01-30 00:36:57 -06:00
85xx [POWERPC] Remove ioremap64 and fixup_bigphys_addr 2006-12-04 20:39:04 +11:00
86xx [POWERPC] Select DEFAULT_UIMAGE for HPC-NET/8641 2007-01-24 21:13:58 +11:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell [POWERPC] spufs: Add SPU register lock 2007-01-24 21:13:59 +11:00
celleb [POWERPC] Celleb: setup sio in SCC 2007-01-24 21:36:02 +11:00
chrp [POWERPC] Merge 32 and 64 bits asm-powerpc/io.h 2006-12-04 20:39:05 +11:00
embedded6xx [POWERPC] Remove the broken Gemini support 2007-01-24 21:13:58 +11:00
iseries [POWERPC] iSeries: fix setup initcall 2007-01-09 17:03:03 +11:00
maple [POWERPC] Maple: don't override bus-range supplied by firmware 2007-02-07 14:03:17 +11:00
pasemi [POWERPC] Fix unbalanced uses of of_node_put 2007-01-09 17:03:01 +11:00
powermac WorkQueue: Fix up arch-specific work items where possible 2006-12-05 19:36:26 +00:00
prep powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
ps3 [POWERPC] ps3_free_io_irq: Fix inverted error check 2007-01-24 21:08:14 +11:00
pseries [POWERPC] pSeries: EEH improperly enabled for some Power4 systems 2007-02-07 14:03:17 +11:00
Makefile [POWERPC] 8xx: Add mpc885ads support and common mpc8xx files 2007-02-07 14:03:17 +11:00