Re: [PATCH 1/4] RISC-V: Do not allocate memblock while iterating reserved memblocks

2021-01-10 Thread Anup Patel
On Thu, Jan 7, 2021 at 2:57 PM Atish Patra wrote: > > Currently, resource tree allocates memory blocks while iterating on the > list. It leads to following kernel warning because memblock allocation > also invokes memory block reservation API. > > [0.00] [ cut here ]---

Re: [PATCH 1/4] RISC-V: Do not allocate memblock while iterating reserved memblocks

2021-01-08 Thread Geert Uytterhoeven
Hi Atish, On Thu, Jan 7, 2021 at 10:28 AM Atish Patra wrote: > Currently, resource tree allocates memory blocks while iterating on the > list. It leads to following kernel warning because memblock allocation > also invokes memory block reservation API. > > [0.00] [ cut here ]-

[PATCH 1/4] RISC-V: Do not allocate memblock while iterating reserved memblocks

2021-01-07 Thread Atish Patra
Currently, resource tree allocates memory blocks while iterating on the list. It leads to following kernel warning because memblock allocation also invokes memory block reservation API. [0.00] [ cut here ] [0.00] WARNING: CPU: 0 PID: 0 at kernel/resource.c:7