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 <[email protected]>
> Cc: Simon Horman <[email protected]>
> To: [email protected]
> ---
> v1 -> v2:
> deduce paddr of _text to cope with compability.
Thanks, and sorry for the delay.
Applied.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec