Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm: export memblock_reserve()d regions via /proc/iomem
memblock reserved regions are not reported via /proc/iomem on ARM, kexec's user-space doesn't know about memblock_reserve()d regions and thus possible for kexec to overwrite with the new kernel or initrd. [ 0.000000] Booting Linux on physical CPU 0xf00 [ 0.000000] Linux version 4.9.115-rt93-dirty (yuchen@localhost.localdomain) (gcc version 6.2.0 (ZTE Embsys-TSP V3.07.2 0) ) torvalds#62 SMP PREEMPT Fri Sep 20 10:39:29 CST 2019 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt:Machine model: LS1021A TWR Board [ 0.000000] INITRD: 0x80f7f000+0x03695e40 overlaps in-use memory region - disabling initrd Signed-off-by: Yu Chen <yu.chen3@zte.com.cn> Reviewed-by: Junhua Huang <huang.junhua@zte.com.cn>
- Loading branch information