RE: [PATCH] arm64: mm: add support for memmap kernel parameters

2020-11-19 Thread Song Bao Hua (Barry Song)
@vger.kernel.org; > a...@linux-foundation.org; linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH] arm64: mm: add support for memmap kernel parameters > > On Wed, Nov 18, 2020 at 11:55:33PM +, Song Bao Hua (Barry Song) > wrote: > > > From: Ard Biesheuvel [mailto:a..

Re: [PATCH] arm64: mm: add support for memmap kernel parameters

2020-11-18 Thread Mike Rapoport
On Wed, Nov 18, 2020 at 11:55:33PM +, Song Bao Hua (Barry Song) wrote: > > From: Ard Biesheuvel [mailto:a...@kernel.org] > > > > On Wed, 18 Nov 2020 at 21:27, Song Bao Hua (Barry Song) > > wrote: > > > > > > Good question. Originally I wrote this patch to debug and verify the > > vmemmap > >

RE: [PATCH] arm64: mm: add support for memmap kernel parameters

2020-11-18 Thread Song Bao Hua (Barry Song)
@vger.kernel.org; > a...@linux-foundation.org; linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH] arm64: mm: add support for memmap kernel parameters > > On Wed, 18 Nov 2020 at 21:27, Song Bao Hua (Barry Song) > wrote: > > > > > > > > > -Origin

Re: [PATCH] arm64: mm: add support for memmap kernel parameters

2020-11-18 Thread Ard Biesheuvel
; > catalin.mari...@arm.com; linux-arm-ker...@lists.infradead.org; > > linux-kernel@vger.kernel.org; a...@linux-foundation.org; > > anshuman.khand...@arm.com; Linuxarm > > Subject: Re: [PATCH] arm64: mm: add support for memmap kernel parameters > > > > On Wed, Nov 18

RE: [PATCH] arm64: mm: add support for memmap kernel parameters

2020-11-18 Thread Song Bao Hua (Barry Song)
@linux-foundation.org; > anshuman.khand...@arm.com; Linuxarm > Subject: Re: [PATCH] arm64: mm: add support for memmap kernel parameters > > On Wed, Nov 18, 2020 at 07:38:54PM +0200, Mike Rapoport wrote: > > On Wed, Nov 18, 2020 at 07:33:14PM +1300, Barry Song wrote: > >

Re: [PATCH] arm64: mm: add support for memmap kernel parameters

2020-11-18 Thread Will Deacon
On Wed, Nov 18, 2020 at 07:38:54PM +0200, Mike Rapoport wrote: > On Wed, Nov 18, 2020 at 07:33:14PM +1300, Barry Song wrote: > > memmap should be an useful kernel parameter which has been supported by > > x86, mips and xtensa. > > Why is this parameter should be useful for ARM64? > My understandi

Re: [PATCH] arm64: mm: add support for memmap kernel parameters

2020-11-18 Thread Mike Rapoport
Hi Barry, On Wed, Nov 18, 2020 at 07:33:14PM +1300, Barry Song wrote: > memmap should be an useful kernel parameter which has been supported by > x86, mips and xtensa. Why is this parameter should be useful for ARM64? My understanding is that it is required only to work around really broken boot

[PATCH] arm64: mm: add support for memmap kernel parameters

2020-11-17 Thread Barry Song
memmap should be an useful kernel parameter which has been supported by x86, mips and xtensa. This patch adds support for ARM64. At this stage, the below two modes are supported only: memmap=nn[KMG]@ss[KMG] Force usage of a specific region of memory memmap=nn[KMG]$ss[KMG] Region of memory to be re