android_kernel_samsung_msm8976/arch/powerpc
Linas Vepstas 054d8ff377 [PATCH] powerpc/pseries: avoid crash in PCI code if mem system not up
The powerpc code is currently performing PCI setup before memory
initialization.  PCI setup touches PCI config space registers.  If the PCI
card is bad, this will evoke an error, which currrently can't be handled,
as the PCI error recovery code expects kmalloc() to be functional.  This
patch will cause the system to punt instead of crashing with

cpu 0x0: Vector: 300 (Data Access) at [c0000000004434d0]
    pc: c0000000000c06b4: .kmem_cache_alloc+0x8c/0xf4
    lr: c00000000004ad6c: .eeh_send_failure_event+0x48/0xfc

This patch will also print name of the offending pci device.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-05-03 23:06:40 +10:00
..
boot Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
configs [PATCH] powerpc: update cell_defconfig 2006-04-29 15:11:30 +10:00
kernel Merge branch 'audit.b10' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current 2006-05-01 21:43:05 -07:00
lib [PATCH] powerpc: fix various sparse warnings 2006-03-27 14:48:08 +11:00
math-emu powerpc: move math-emu over to arch/powerpc 2006-03-27 23:43:27 -06:00
mm [PATCH] powerpc: Allow devices to register with numa topology 2006-05-01 18:17:46 -07:00
oprofile [PATCH] powerpc: Remove oprofile spinlock backtrace code 2006-03-29 13:44:16 +11:00
platforms [PATCH] powerpc/pseries: avoid crash in PCI code if mem system not up 2006-05-03 23:06:40 +10:00
sysdev [PATCH] powerpc: Lower threshold for DART enablement to 1GB 2006-04-21 22:29:37 +10:00
xmon [PATCH] powerpc: add a raw dump command to xmon 2006-03-17 13:22:33 +11:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge 2006-04-18 10:34:24 -07:00
Kconfig.debug powerpc: remove OCP references 2006-03-27 23:48:37 -06:00
Makefile [PATCH] powerpc32: Set cpu explicitly in kernel compiles 2006-04-13 09:38:33 -07:00