diff options
author | Pingfan Liu <piliu@redhat.com> | 2022-01-18 15:48:11 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2022-01-24 10:05:20 +0100 |
commit | 454395e18ff12d2728ee458695160e9ab4899e33 (patch) | |
tree | 64b6b8e91d8974c7bcb2a526daad913685e75c16 /kexec/kexec-elf-core.c | |
parent | bde864387a104137ff3bd5f0871709846d5c7943 (diff) |
arm64: read VA_BITS from kcore for 52-bits VA kernel
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 <piliu@redhat.com>
Reviewed-by: Philipp Rudo <prudo@redhat.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec-elf-core.c')
0 files changed, 0 insertions, 0 deletions