Re: [PATCH] lmb: Default to not-LMB_USE_MAX_REGIONS

2023-02-23 Thread Patrick DELAUNAY
On 2/8/23 16:16, Tom Rini wrote: On Wed, Feb 08, 2023 at 03:13:31PM +, Philippe Schenker wrote: On Wed, 2023-02-08 at 09:54 -0500, Tom Rini wrote: On Wed, Feb 08, 2023 at 02:33:58PM +, Philippe Schenker wrote: Hi Tom, We currently face an issue on our apalis-imx8 machine, that is n

Re: [PATCH] lmb: Default to not-LMB_USE_MAX_REGIONS

2023-02-08 Thread Tom Rini
On Wed, Feb 08, 2023 at 03:13:31PM +, Philippe Schenker wrote: > On Wed, 2023-02-08 at 09:54 -0500, Tom Rini wrote: > > On Wed, Feb 08, 2023 at 02:33:58PM +, Philippe Schenker wrote: > > > > > Hi Tom, > > > > > > We currently face an issue on our apalis-imx8 machine, that is not > > > abl

Re: [PATCH] lmb: Default to not-LMB_USE_MAX_REGIONS

2023-02-08 Thread Philippe Schenker
On Wed, 2023-02-08 at 09:54 -0500, Tom Rini wrote: > On Wed, Feb 08, 2023 at 02:33:58PM +, Philippe Schenker wrote: > > > Hi Tom, > > > > We currently face an issue on our apalis-imx8 machine, that is not > > able > > to boot with a ramdisk. What happens is that there are all 8 of 8 > > LMBs

Re: [PATCH] lmb: Default to not-LMB_USE_MAX_REGIONS

2023-02-08 Thread Tom Rini
On Wed, Feb 08, 2023 at 02:33:58PM +, Philippe Schenker wrote: > Hi Tom, > > We currently face an issue on our apalis-imx8 machine, that is not able > to boot with a ramdisk. What happens is that there are all 8 of 8 LMBs > reserved and fdt tries to allocate one more, probably for relocation.

Re: [PATCH] lmb: Default to not-LMB_USE_MAX_REGIONS

2023-02-08 Thread Philippe Schenker
Hi Tom, We currently face an issue on our apalis-imx8 machine, that is not able to boot with a ramdisk. What happens is that there are all 8 of 8 LMBs reserved and fdt tries to allocate one more, probably for relocation. I now stumbled on this recent patch and noticed that in my understanding thi

Re: [PATCH] lmb: Default to not-LMB_USE_MAX_REGIONS

2023-02-07 Thread Tom Rini
On Wed, Jan 25, 2023 at 06:08:23PM -0500, Tom Rini wrote: > The LMB code allows for picking a hard limit on the number of regions it > can know of, or to dynamically allocate these regions. The reason for > this choice is to allow for the compiler to perform a size optimization > in the common cas

[PATCH] lmb: Default to not-LMB_USE_MAX_REGIONS

2023-01-25 Thread Tom Rini
The LMB code allows for picking a hard limit on the number of regions it can know of, or to dynamically allocate these regions. The reason for this choice is to allow for the compiler to perform a size optimization in the common case. This optimization however, is very small, ranging from 196 bytes