Re: [PATCH 2/2] arm64: Allocate crashkernel always in ZONE_DMA

2020-07-03 Thread Bhupesh Sharma
Hi Chen, On Fri, Jul 3, 2020 at 10:54 AM chenzhou wrote: > > Hi Bhupesh, > > > On 2020/7/3 3:22, Bhupesh Sharma wrote: > > Hi Will, > > > > On Thu, Jul 2, 2020 at 1:20 PM Will Deacon wrote: > >> On Thu, Jul 02, 2020 at 03:44:20AM +0530, Bhupesh Sharma wrote: > >>> commit bff3b04460a8 ("arm64:

Re: [PATCH 2/2] arm64: Allocate crashkernel always in ZONE_DMA

2020-07-02 Thread chenzhou
Hi Bhupesh, On 2020/7/3 3:22, Bhupesh Sharma wrote: > Hi Will, > > On Thu, Jul 2, 2020 at 1:20 PM Will Deacon wrote: >> On Thu, Jul 02, 2020 at 03:44:20AM +0530, Bhupesh Sharma wrote: >>> commit bff3b04460a8 ("arm64: mm: reserve CMA and crashkernel in >>> ZONE_DMA32") allocates crashkernel for

Re: [PATCH 2/2] arm64: Allocate crashkernel always in ZONE_DMA

2020-07-02 Thread Bhupesh Sharma
Hi Will, On Thu, Jul 2, 2020 at 1:20 PM Will Deacon wrote: > > On Thu, Jul 02, 2020 at 03:44:20AM +0530, Bhupesh Sharma wrote: > > commit bff3b04460a8 ("arm64: mm: reserve CMA and crashkernel in > > ZONE_DMA32") allocates crashkernel for arm64 in the ZONE_DMA32. > > > > However as reported by

Re: [PATCH 2/2] arm64: Allocate crashkernel always in ZONE_DMA

2020-07-02 Thread Will Deacon
On Thu, Jul 02, 2020 at 03:44:20AM +0530, Bhupesh Sharma wrote: > commit bff3b04460a8 ("arm64: mm: reserve CMA and crashkernel in > ZONE_DMA32") allocates crashkernel for arm64 in the ZONE_DMA32. > > However as reported by Prabhakar, this breaks kdump kernel booting in > ThunderX2 like arm64

[PATCH 2/2] arm64: Allocate crashkernel always in ZONE_DMA

2020-07-01 Thread Bhupesh Sharma
commit bff3b04460a8 ("arm64: mm: reserve CMA and crashkernel in ZONE_DMA32") allocates crashkernel for arm64 in the ZONE_DMA32. However as reported by Prabhakar, this breaks kdump kernel booting in ThunderX2 like arm64 systems. I have noticed this on another ampere arm64 machine. The OOM log in