powerpc: enable relocatable support for 6xx
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | powerpc: enable relocatable support for 6xxarch/ arch/ arch/ +1 more | +106 | 0 replies | |
| 2/4 | powerpc: move the exception trampoline helper functions to a separate filearch/ arch/ arch/ +5 more | +109 | 0 replies | |
| 3/4 | powerpc: s/kdump/exception/ for the exception trampoline functionsarch/ arch/ arch/ +2 more | +20 | 0 replies | |
| 4/4 | powerpc: make the kernel bootable from non 0 address for 6xxarch/ arch/ arch/ +2 more | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] powerpc: enable relocatable support for 6xx
This patch series enables the relocatable support for 6xx boards. With these patches:
* the kernel can boot from any address between 0x10000 ~ 0x2000000
* kdump is workable
* a single kernel image can be used as boot or kdump kernel
Boot test on a mpc8260 board. Also passed the build test for the following configurations:
ppc40x_defconfig
ppc64e_defconfig
ppc64_defconfig
corenet32_smp_defconfig
corenet64_smp_defconfig
ppc44x_defconfig
pmac32_defconfig
pq2fads_defconfig
mpc5200_defconfig
pseries_defconfig---
Kevin Hao (4):
powerpc: enable relocatable support for 6xx
powerpc: move the exception trampoline helper functions to a separate
file
powerpc: s/kdump/exception/ for the exception trampoline functions
powerpc: make the kernel bootable from non 0 address for 6xx
arch/powerpc/Kconfig | 4 +- arch/powerpc/include/asm/exception_trampoline.h | 35 ++++++++ arch/powerpc/include/asm/kdump.h | 32 -------- arch/powerpc/include/asm/page.h | 2 +- arch/powerpc/kernel/Makefile | 1 + arch/powerpc/kernel/crash_dump.c | 41 ---------- arch/powerpc/kernel/exception_trampoline.c | 82 +++++++++++++++++++ arch/powerpc/kernel/head_32.S | 103 ++++++++++++++++++++++++ arch/powerpc/kernel/prom.c | 4 +- arch/powerpc/kernel/prom_init_check.sh | 2 +- arch/powerpc/kernel/setup_32.c | 3 +- arch/powerpc/kernel/setup_64.c | 4 +- arch/powerpc/mm/ppc_mmu_32.c | 7 +- 13 files changed, 232 insertions(+), 88 deletions(-) create mode 100644 arch/powerpc/include/asm/exception_trampoline.h create mode 100644 arch/powerpc/kernel/exception_trampoline.c
Signature · 5 lines
1.8.1.4 Thanks, Kevin