ARM64: kernel: dump kernel addresses larger than VA_START
authorHuibin Hong <huibin.hong@rock-chips.com>
Wed, 29 Jun 2016 11:58:26 +0000 (19:58 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Thu, 30 Jun 2016 06:14:26 +0000 (14:14 +0800)
commit75830c2ceae158730744c834e2d318ad17660f90
treeac24a064a0ce085b300bf0b54dc199739a5e24d5
parent42c976e49e451328959221d99b0e1fd56706f923
ARM64: kernel: dump kernel addresses larger than VA_START

The arm64 virtual addresses of kernel are like:
VA_START < MODULES_VADDR < KIMAGE_VADDR < PAGE_OFFSET.
PAGE_OFFSET is the virtual address of the start of the linear map.
And the vmalloc, kernel code and so on are between VA_START and
PAGE_OFFSET, so it is necessary to expand dump addresses to VA_START,
instead of PAGE_OFFSET.

Change-Id: I810ed216862de4c6e68b92d483de4aa68da532b8
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
arch/arm64/kernel/process.c