Re: [PATCH v2] kexec: support parsing the string "Reserved" to get the correct e820 reserved region

2020-04-01 Thread Simon Horman
On Mon, Feb 24, 2020 at 12:17:50PM +0530, Bhupesh Sharma wrote: > Hi Lianbo, > > On Mon, Feb 24, 2020 at 12:07 PM Lianbo Jiang wrote: > > > > When loading kernel and initramfs for kexec, kexec-tools could get the > > e820 reserved region from "/proc/iomem" in order to rebuild the e820 > > ranges

Re: [PATCH v2] kexec: support parsing the string "Reserved" to get the correct e820 reserved region

2020-02-24 Thread lijiang
在 2020年02月24日 14:48, Baoquan He 写道: > On 02/24/20 at 02:36pm, Lianbo Jiang wrote: >> When loading kernel and initramfs for kexec, kexec-tools could get the >> e820 reserved region from "/proc/iomem" in order to rebuild the e820 >> ranges for kexec kernel, but there may be the string "Reserved" in t

Re: [PATCH v2] kexec: support parsing the string "Reserved" to get the correct e820 reserved region

2020-02-23 Thread Bhupesh Sharma
Hi Lianbo, On Mon, Feb 24, 2020 at 12:07 PM Lianbo Jiang wrote: > > When loading kernel and initramfs for kexec, kexec-tools could get the > e820 reserved region from "/proc/iomem" in order to rebuild the e820 > ranges for kexec kernel, but there may be the string "Reserved" in the > "/proc/iomem

Re: [PATCH v2] kexec: support parsing the string "Reserved" to get the correct e820 reserved region

2020-02-23 Thread Baoquan He
On 02/24/20 at 02:36pm, Lianbo Jiang wrote: > When loading kernel and initramfs for kexec, kexec-tools could get the > e820 reserved region from "/proc/iomem" in order to rebuild the e820 > ranges for kexec kernel, but there may be the string "Reserved" in the > "/proc/iomem", which caused the fail

[PATCH v2] kexec: support parsing the string "Reserved" to get the correct e820 reserved region

2020-02-23 Thread Lianbo Jiang
When loading kernel and initramfs for kexec, kexec-tools could get the e820 reserved region from "/proc/iomem" in order to rebuild the e820 ranges for kexec kernel, but there may be the string "Reserved" in the "/proc/iomem", which caused the failure of parsing. For example: #cat /proc/iomem|grep