Re: [PATCH 0/2] arm64: mm: fix kdump broken with ZONE_DMA reintroduced

2021-01-20 Thread chenzhou
Hi Will, Catalin, On 2021/1/20 21:07, Catalin Marinas wrote: > On Wed, Jan 20, 2021 at 12:40:55PM +, Will Deacon wrote: >> On Sat, Dec 26, 2020 at 11:35:55AM +0800, Chen Zhou wrote: >>> If the memory reserved for crash dump kernel falled in ZONE_DMA32, >>> the devices in crash dump kernel nee

Re: [PATCH 0/2] arm64: mm: fix kdump broken with ZONE_DMA reintroduced

2021-01-20 Thread Catalin Marinas
On Wed, Jan 20, 2021 at 12:40:55PM +, Will Deacon wrote: > On Sat, Dec 26, 2020 at 11:35:55AM +0800, Chen Zhou wrote: > > If the memory reserved for crash dump kernel falled in ZONE_DMA32, > > the devices in crash dump kernel need to use ZONE_DMA will alloc fail. > > > > Fix this by

Re: [PATCH 0/2] arm64: mm: fix kdump broken with ZONE_DMA reintroduced

2021-01-20 Thread Will Deacon
On Sat, Dec 26, 2020 at 11:35:55AM +0800, Chen Zhou wrote: > If the memory reserved for crash dump kernel falled in ZONE_DMA32, > the devices in crash dump kernel need to use ZONE_DMA will alloc fail. > > Fix this by reserving low memory in ZONE_DMA if CONFIG_ZONE_DMA is > enabled, othe

[PATCH 0/2] arm64: mm: fix kdump broken with ZONE_DMA reintroduced

2020-12-25 Thread Chen Zhou
If the memory reserved for crash dump kernel falled in ZONE_DMA32, the devices in crash dump kernel need to use ZONE_DMA will alloc fail. Fix this by reserving low memory in ZONE_DMA if CONFIG_ZONE_DMA is enabled, otherwise, reserving in ZONE_DMA32. Patch 1 updates the comments about t