kernel_optimize_test/arch/ppc64
Linas Vepstas 18126f35f6 [PATCH] ppc64: bugfix: crash on PCI hotplug
09-hotplug-bugfix.patch

In the current 2.6.14-rc2-git6 kernel, performing a Dynamic LPAR Add
of a hotplug slot will crash the system, with the following (abbreviated)
stack trace:

cpu 0x3: Vector: 700 (Program Check) at [c000000053dff7f0]
    pc: c0000000004f5974: .__alloc_bootmem+0x0/0xb0
    lr: c0000000000258a0: .update_dn_pci_info+0x108/0x118
        c0000000000257c8 .update_dn_pci_info+0x30/0x118 (unreliable)
        c0000000000258fc .pci_dn_reconfig_notifier+0x4c/0x64
        c000000000060754 .notifier_call_chain+0x68/0x9c

The root cause was that __init __alloc_bootmem() was called long after
boot had finished, resulting in a crash because this routine is undefined
after boot time.  The patch below fixes this crash, and adds some docs to
clarify the code.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-11-10 11:35:27 +11:00
..
boot [PATCH] ppc64 boot: fix compile warnings 2005-11-10 11:26:01 +11:00
configs [PATCH] ppc64: update defconfigs 2005-10-19 23:12:36 -07:00
kernel [PATCH] ppc64: bugfix: crash on PCI hotplug 2005-11-10 11:35:27 +11:00
xmon powerpc: Merge xmon 2005-10-28 22:53:37 +10:00
defconfig [PATCH] ppc64: compile nls_cp437 and nls_iso8859_1 into the kernel in defconfig 2005-10-29 15:14:44 +10:00
Kconfig [PATCH] Memory Add Fixes for ppc64 2005-11-08 15:17:38 +11:00
Kconfig.debug [PATCH] powerpc: Kill ppcdebug 2005-11-07 12:37:45 +11:00
Makefile powerpc: fix __strnlen_user in merge tree 2005-11-01 14:34:17 +11:00