Commit 454395e1 authored by Pingfan Liu's avatar Pingfan Liu Committed by Simon Horman
Browse files

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: default avatarPingfan Liu <piliu@redhat.com>
Reviewed-by: default avatarPhilipp Rudo <prudo@redhat.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent bde86438
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment