[PATCH 2/2] arm64: mm: support bootparam max_addr

Mike Rapoport rppt at kernel.org
Thu Dec 16 06:19:15 PST 2021


On Wed, Dec 15, 2021 at 12:05:36PM +0000, Peng Fan wrote:
> > Subject: Re: [PATCH 2/2] arm64: mm: support bootparam max_addr
> > 
> > > > > > > If pass "mem=1024MB", the actually max addr will be
> > > > > > > 0x81000000.  However if need the max addr be 0x80000000,
> > > > > > > mem=1008MB should be used.
> > > > > > >
> 
> BTW, do you think max_addr would be an option be added to memblock
> common code mm/memblock.c?

You have a working solution with mem=1008MB, I don't see a need for
additional kernel parameter.

-- 
Sincerely yours,
Mike.



More information about the linux-arm-kernel mailing list