Re: [RFC PATCH] PCI, kdump: Clear bus master bit upon shutdown in kdump kernel

2020-02-23 Thread Dave Young
Hi Bjorn, On 02/22/20 at 10:56am, Bjorn Helgaas wrote: > [+cc Khalid, Deepa, Randy, Dave, Myron] > > On Thu, Dec 26, 2019 at 03:21:18AM +0800, Kairui Song wrote: > > There are reports about kdump hang upon reboot on some HPE machines, > > kernel hanged when trying to shutdown a PCIe port, an uncor

Re: [RESEND PATCH v5 2/5] arm64/crash_core: Export TCR_EL1.T1SZ in vmcoreinfo

2020-02-23 Thread Bhupesh Sharma
Hi Amit, On Fri, Feb 21, 2020 at 2:36 PM Amit Kachhap wrote: > > Hi Bhupesh, > > On 1/13/20 5:44 PM, Bhupesh Sharma wrote: > > Hi James, > > > > On 01/11/2020 12:30 AM, Dave Anderson wrote: > >> > >> - Original Message - > >>> Hi Bhupesh, > >>> > >>> On 25/12/2019 19:01, Bhupesh Sharma wr

[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

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

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] x86/kexec: do not reserve kexec setup_data in kexec e820 table

2020-02-23 Thread Dave Young
On 02/12/20 at 07:04pm, Dave Young wrote: > 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