diff options
author | Pingfan Liu <piliu@redhat.com> | 2021-05-26 18:41:28 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2021-06-06 08:52:08 +0200 |
commit | 61b8c79b0fb76490f944fd5e61f25edd81f2a46b (patch) | |
tree | e592c02ab5e4a6d36e1ac41dcda9422ff2d08216 /kexec/ifdown.c | |
parent | 5e7ce27626a44428c01e0e5ab3fe60ef98ca788c (diff) |
arm64/crashdump-arm64: deduce the paddr of _text
Since kernel commit e2a073dde921 ("arm64: omit [_text, _stext) from
permanent kernel mapping"), the physical address of 'Kernel code' in
/proc/iomem is mapped from _text, instead, from _stext.
Taking the compatibility into account, it had better deduce the paddr of
_text despite of the unavailability through /proc/iomem. It can be
achieved by utilizing the fact _text aligned on 2MB.
Signed-off-by: Pingfan Liu <piliu@redhat.com>
Cc: Simon Horman <horms@verge.net.au>
To: kexec@lists.infradead.org
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/ifdown.c')
0 files changed, 0 insertions, 0 deletions