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

From: Mike Rapoport
Date: Thu Dec 16 2021 - 09:19:26 EST


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.