[PATCH v2 0/2] fix bug when calling kexec_load()

From: Rongwei Wang
Date: Sun Nov 14 2021 - 15:17:03 EST


Patch 1/2 mainly to fix the bug when calling kexec_load().
And a user case shown in commit log.

Patch 2/2 just make a very simple optimization, reducing
calls to page_address() in kexec_page_alloc().

v1 -> v2
- Patch " arm64: trans_pgd: fix incorrect use of pmd_populate_kernel in
copy_pte()"
restore the usage of pmd_populate_kernel.

v1 link:
https://patchwork.kernel.org/project/linux-arm-kernel/patch/20211030183200.51295-2-rongwei.wang@xxxxxxxxxxxxxxxxx/

Rongwei Wang (2):
arm64: trans_pgd: fix incorrect use of pmd_populate_kernel in
copy_pte()
arm64: kexec: reduce calls to page_address()

arch/arm64/kernel/machine_kexec.c | 6 ++++--
arch/arm64/mm/trans_pgd.c | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)

--
2.27.0