+ AKASHI Takahiro + Simon Horman Thank you guys for any suggestions. And vmcore-dmesg just can not work for 52-bits VA arm64 now. Thanks, Pingfan On Fri, Dec 10, 2021 at 11:07 AM Pingfan Liu <piliu@xxxxxxxxxx> wrote: > > 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. > > This series fixes them so vmcore-dmesg can work on 52-bits VA kernel > > 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 | 43 +++++++++++++++++++++++------- > kexec/arch/arm64/kexec-arm64.h | 4 ++- > util_lib/elf_info.c | 7 ++++- > util_lib/include/elf_info.h | 2 +- > 5 files changed, 44 insertions(+), 35 deletions(-) > > -- > 2.31.1 > _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec