arm64: kexec: translate relocate_kernel.S to C languange
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | arm64: relocate: Let __relocate_new_kernel_start align on SZ_4Karch/ | +1 | 0 replies | |
| 2/4 | arm64: mm: Provide prot param in trans_pgd_idmap_page()'s prototypearch/ arch/ arch/ +1 more | +7 | 0 replies | |
| 3/4 | arm64: kexec: Introduce d_size to carry cacheline size informationarch/ arch/ | +4 | 0 replies | |
| 4/4 | arm64: kexec: Change relocate_kernel to C codearch/ arch/ arch/ +3 more | +206 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] arm64: kexec: translate relocate_kernel.S to C languange
Translate relocate_kernel.S to C languange to make it more readable.
The relocate_kernel.c is PIE, but I am not sure whether it should locate in kernel/pi, which runs check on the PIE code. (I can correct it in next version)
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Pasha Tatashin <[email protected]>
To: [email protected]
---
Pingfan Liu (4):
arm64: relocate: Let __relocate_new_kernel_start align on SZ_4K
arm64: mm: Provide prot param in trans_pgd_idmap_page()'s prototype
arm64: kexec: Introduce d_size to carry cacheline size information
arm64: kexec: Change relocate_kernel to C code
arch/arm64/include/asm/kexec.h | 1 + arch/arm64/include/asm/trans_pgd.h | 2 +- arch/arm64/kernel/Makefile | 1 + arch/arm64/kernel/asm-offsets.c | 10 -- arch/arm64/kernel/hibernate.c | 3 +- arch/arm64/kernel/machine_kexec.c | 16 ++- arch/arm64/kernel/relocate_kernel.S | 100 -------------- arch/arm64/kernel/relocate_kernel.c | 197 ++++++++++++++++++++++++++++ arch/arm64/kernel/vmlinux.lds.S | 3 +- arch/arm64/mm/trans_pgd.c | 4 +- 10 files changed, 218 insertions(+), 119 deletions(-) delete mode 100644 arch/arm64/kernel/relocate_kernel.S create mode 100644 arch/arm64/kernel/relocate_kernel.c
Signature · 7 lines
2.41.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel