[PATCHv2 0/3] arm64: make phys_to_virt() correct

Pingfan Liu piliu at redhat.com
Thu Dec 16 20:19:11 PST 2021


Currently phys_to_virt() does not work well on 52-bits VA arm64 kernel.
One issue is contributed by phys_offset not signed.
The other is contributed by wrong page_offset.

v1 -> v2
Fix broken patch [2/3] in v1
Move arch_scan_vmcoreinfo declaration to util_lib/include/elf_info.h
Using UINT64_MAX instread of 0xffffffffffffffff



Pingfan Liu (3):
  arm64: make phys_offset signed
  arm64/crashdump: unify routine to get page_offset
  arm64: read VA_BITS from kcore for 52-bits VA kernel

 kexec/arch/arm64/crashdump-arm64.c | 23 +-------------
 kexec/arch/arm64/kexec-arm64.c     | 48 +++++++++++++++++++++++-------
 kexec/arch/arm64/kexec-arm64.h     |  3 +-
 util_lib/elf_info.c                |  7 ++++-
 util_lib/include/elf_info.h        |  3 +-
 5 files changed, 48 insertions(+), 36 deletions(-)

-- 
2.31.1




More information about the kexec mailing list