[PATCH] apple_m1_defconfig: Bump CONFIG_LMB_MAX_REGIONS to 64

Mark Kettenis mark.kettenis at xs4all.nl
Fri Mar 17 19:16:21 CET 2023


> Date: Fri, 17 Mar 2023 12:43:16 -0400
> From: Tom Rini <trini at konsulko.com>
> 
> On Mon, Mar 13, 2023 at 03:31:32PM +0100, Mark Kettenis wrote:
> > > From: Janne Grunau <j at jannau.net>
> > > Date: Mon, 13 Mar 2023 14:54:32 +0100
> > > 
> > > Apple silicon SoCs have numerous embedded co-processors with pre-loaded
> > > firmware. The co-processors text and data sections need to be mapped via
> > > DART iommus controlled by the main processor. Those sections are
> > > exported as reserved-memory. Bump CONFIG_LMB_MAX_REGIONS from 8 to 64 to
> > > deal with the large amount of reserved-memory regions.
> > 
> > We recently bumped the default for CONFIG_LMB_MAX_REGIONS from 8 to
> > 16, but 64 would be a safer value for this platform as there are more
> > co-processor drivers in the pipeline that may add reserved-memory
> > regions.  These machines have plenty of memory.
> > 
> > > Signed-off-by: Janne Grunau <j at jannau.net>
> > 
> > Reviewed-by: Mark Kettenis <kettenis at openbsd.org>
> 
> Does this mean it's a fix we need for v2023.04, or v2023.07 is OK?

2023.07 is ok


More information about the U-Boot mailing list