[PATCHv2] arm64/crashdump-arm64: deduce the paddr of _text

Simon Horman horms at verge.net.au
Sat Jun 5 23:54:52 PDT 2021

On Wed, May 26, 2021 at 06:41:28PM +0800, Pingfan Liu wrote:
> 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 at redhat.com>
> Cc: Simon Horman <horms at verge.net.au>
> To: kexec at lists.infradead.org
> ---
> v1 -> v2:
>  deduce paddr of _text to cope with compability.

Thanks, and sorry for the delay.


More information about the kexec mailing list