Skip to content

powerpc: enable relocatable support for 6xx

Kevin Hao linuxppc-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4powerpc: enable relocatable support for 6xxarch/powerpc/Kconfig arch/powerpc/include/asm/page.h arch/powerpc/kernel/head_32.S +1 more+106 -30 replies
2/4powerpc: move the exception trampoline helper functions to a separate filearch/powerpc/include/asm/exception_trampoline.h arch/powerpc/include/asm/kdump.h arch/powerpc/kernel/Makefile +5 more+109 -760 replies
3/4powerpc: s/kdump/exception/ for the exception trampoline functionsarch/powerpc/include/asm/exception_trampoline.h arch/powerpc/kernel/exception_trampoline.c arch/powerpc/kernel/prom.c +2 more+20 -200 replies
4/4powerpc: make the kernel bootable from non 0 address for 6xxarch/powerpc/Kconfig arch/powerpc/include/asm/exception_trampoline.h arch/powerpc/kernel/Makefile +2 more+21 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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