WSL2-Linux-Kernel/arch/powerpc/platforms/pseries
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
..
Kconfig powerpc: Disallow lparcfg being a module 2006-03-14 11:35:37 +11:00
Makefile [POWERPC] Move rtas_stop_self() into platforms/pseries/hotplug-cpu.c 2006-12-08 15:55:54 +11:00
eeh.c [POWERPC] pSeries: EEH improperly enabled for some Power4 systems 2007-02-07 14:03:17 +11:00
eeh_cache.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
eeh_driver.c [POWERPC] Clarify EEH error message 2007-01-24 21:13:56 +11:00
eeh_event.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
firmware.c [POWERPC] pseries: Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
firmware.h [PATCH] powerpc: Move pSeries firmware feature setup into platforms/pseries 2006-02-10 16:52:03 +11:00
hotplug-cpu.c [POWERPC] Cleanup pass over platforms/pseries/hotplug-cpu.c 2006-12-08 15:55:55 +11:00
hvCall.S [POWERPC] Fix bugs in the hypervisor call stats code 2007-01-09 17:03:03 +11:00
hvCall_inst.c [POWERPC] Fix bugs in the hypervisor call stats code 2007-01-09 17:03:03 +11:00
hvconsole.c [POWERPC] clean up pseries hcall interfaces 2006-08-01 16:19:15 +10:00
hvcserver.c [PATCH] powerpc/pseries: Change H_StudlyCaps to H_SHOUTING_CAPS 2006-04-01 22:36:57 +11:00
iommu.c [POWERPC] Fix broken DMA on non-LPAR pSeries 2007-01-22 21:27:35 +11:00
lpar.c [POWERPC] Make pSeries_lpar_hpte_insert static 2006-10-16 16:33:04 +10:00
nvram.c [POWERPC] pseries: Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
pci.c [POWERPC] Update fixup_winbond_82c105 comment 2007-01-24 21:13:58 +11:00
pci_dlpar.c [POWERPC] Generic OF platform driver for PCI host bridges. 2006-12-04 20:38:49 +11:00
plpar_wrappers.h [POWERPC] Implement SLB shadow buffer 2006-08-08 17:08:56 +10:00
ras.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ras.h [PATCH] cell: enable pause(0) in cpu_idle 2006-01-09 15:44:32 +11:00
reconfig.c [POWERPC] Replace kmalloc+memset with kzalloc 2006-12-04 20:42:09 +11:00
rtasd.c [POWERPC] pseries: Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
scanlog.c [PATCH] struct path: convert powerpc 2006-12-08 08:28:48 -08:00
setup.c [POWERPC] dont allow pSeries_probe to succeed without initialising MMU 2006-12-09 11:39:06 +11:00
smp.c [POWERPC] Move the rest of the hotplug cpu code into platforms/pseries/hotplug-cpu.c 2006-12-08 15:55:55 +11:00
xics.c [POWERPC] Avoid calling get_irq_server() with a real, not virtual irq. 2007-01-09 17:03:01 +11:00
xics.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00