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