Re: [PATCH v7 0/4] support reserving crashkernel above 4G on arm64 kdump

2020-02-12 Thread John Donnelly
On 2/12/20 8:10 PM, Chen Zhou wrote: Hi John, On 2020/2/12 21:20, John Donnelly wrote: On 12/23/19 9:23 AM, Chen Zhou wrote: This patch series enable reserving crashkernel above 4G in arm64. There are following issues in arm64 kdump: 1. We use crashkernel=X to reserve crashkernel below 4G, wh

Re: [PATCH v7 0/4] support reserving crashkernel above 4G on arm64 kdump

2020-02-12 Thread Chen Zhou
Hi John, On 2020/2/12 21:20, John Donnelly wrote: > On 12/23/19 9:23 AM, Chen Zhou wrote: >> This patch series enable reserving crashkernel above 4G in arm64. >> >> There are following issues in arm64 kdump: >> 1. We use crashkernel=X to reserve crashkernel below 4G, which will fail >> when there

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

2020-02-12 Thread Bhupesh Sharma
Hi Lianbo, Thanks for the patch. On Wed, Feb 12, 2020 at 6:27 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"

Re: [PATCH v7 0/4] support reserving crashkernel above 4G on arm64 kdump

2020-02-12 Thread John Donnelly
On 12/23/19 9:23 AM, Chen Zhou wrote: This patch series enable reserving crashkernel above 4G in arm64. There are following issues in arm64 kdump: 1. We use crashkernel=X to reserve crashkernel below 4G, which will fail when there is no enough low memory. 2. Currently, crashkernel=Y@X can be use

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

2020-02-12 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

[PATCH] x86/kexec: do not reserve kexec setup_data in kexec e820 table

2020-02-12 Thread Dave Young
The e820 table for kexec kernel always takes setup_data as reserved. It is reasonable for the setup_data passed by the 1st kernel boot loader, for example SETUP_PCI etc. But SETUP_EFI is used by kexec itself to enable EFI in 2nd kernel, also kexec setups it every time. Thus it is pointless to rese