Re: [PATCHv4 3/4] arm64: read VA_BITS from kcore for 52-bits VA kernel

2022-01-20 Thread Philipp Rudo
Hi Pingfan, On Tue, 18 Jan 2022 15:48:11 +0800 Pingfan Liu wrote: > phys_to_virt() calculates virtual address. As a important factor, > page_offset is excepted to be accurate. > > Since arm64 kernel exposes va_bits through vmcore, using it. > > Signed-off-by: Pingfan Liu > Cc: Kairui Song >

[PATCHv4 3/4] arm64: read VA_BITS from kcore for 52-bits VA kernel

2022-01-17 Thread Pingfan Liu
phys_to_virt() calculates virtual address. As a important factor, page_offset is excepted to be accurate. Since arm64 kernel exposes va_bits through vmcore, using it. Signed-off-by: Pingfan Liu Cc: Kairui Song Cc: Simon Horman Cc: Philipp Rudo To: kexec@lists.infradead.org --- kexec/arch/arm