Re: [PATCH] mips: kernel: setup: fix crash kernel resource allocation

2021-02-08 Thread Ivan Khoronzhuk
On Sun, Feb 07, 2021 at 11:18:42AM +0200, Mike Rapoport wrote: On Sat, Feb 06, 2021 at 12:59:40PM +, Ivan Khoronzhuk wrote: In order to avoid crash kernel corruption, its memory is reserved early in memblock and as result, in time when resources are inited it's not present in memblock.memory

Re: [PATCH] mips: kernel: setup: fix crash kernel resource allocation

2021-02-08 Thread Ivan Khoronzhuk
On Sun, Feb 07, 2021 at 11:19:03AM +0800, Jinyang He wrote: On 02/06/2021 08:59 PM, Ivan Khoronzhuk wrote: In order to avoid crash kernel corruption, its memory is reserved early in memblock and as result, in time when resources are inited it's not present in memblock.memory, so crash kernel me

Re: [PATCH] mips: kernel: setup: fix crash kernel resource allocation

2021-02-07 Thread Mike Rapoport
On Sat, Feb 06, 2021 at 12:59:40PM +, Ivan Khoronzhuk wrote: > In order to avoid crash kernel corruption, its memory is reserved > early in memblock and as result, in time when resources are inited > it's not present in memblock.memory, so crash kernel memory is out > of ranges listed with for_

Re: [PATCH] mips: kernel: setup: fix crash kernel resource allocation

2021-02-06 Thread Jinyang He
On 02/06/2021 08:59 PM, Ivan Khoronzhuk wrote: In order to avoid crash kernel corruption, its memory is reserved early in memblock and as result, in time when resources are inited it's not present in memblock.memory, so crash kernel memory is out of ranges listed with for_each_mem_range(). To av

[PATCH] mips: kernel: setup: fix crash kernel resource allocation

2021-02-06 Thread Ivan Khoronzhuk
In order to avoid crash kernel corruption, its memory is reserved early in memblock and as result, in time when resources are inited it's not present in memblock.memory, so crash kernel memory is out of ranges listed with for_each_mem_range(). To avoid it and still keep memory reserved lets reseve