On Wed, Nov 18, 2020 at 02:41:45PM +1300, Barry Song wrote: > early_param memmap is only implemented on X86, MIPS and XTENSA. To avoid > wasting users’ time on trying this on platform like ARM, mark it clearly. > > Signed-off-by: Barry Song <song.bao.hua@xxxxxxxxxxxxx> Reviewed-by: Mike Rapoport <rppt@xxxxxxxxxxxxx> > --- > * the background was that I spent one hour on using memmap on arm64, only > to find memmap= is not implemented on most architectures; > > Documentation/admin-guide/kernel-parameters.rst | 1 + > Documentation/admin-guide/kernel-parameters.txt | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/admin-guide/kernel-parameters.rst b/Documentation/admin-guide/kernel-parameters.rst > index 6d421694d98e..06fb1b4aa849 100644 > --- a/Documentation/admin-guide/kernel-parameters.rst > +++ b/Documentation/admin-guide/kernel-parameters.rst > @@ -172,6 +172,7 @@ parameter is applicable:: > X86 Either 32-bit or 64-bit x86 (same as X86-32+X86-64) > X86_UV SGI UV support is enabled. > XEN Xen support is enabled > + XTENSA xtensa architecture is enabled. > > In addition, the following text indicates that the option:: > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index 526d65d8573a..8bdbc555f221 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -2709,7 +2709,7 @@ > option description. > > memmap=nn[KMG]@ss[KMG] > - [KNL] Force usage of a specific region of memory. > + [KNL, X86, MIPS, XTENSA] Force usage of a specific region of memory. > Region of memory to be used is from ss to ss+nn. > If @ss[KMG] is omitted, it is equivalent to mem=nn[KMG], > which limits max address to nn[KMG]. > -- > 2.25.1 > -- Sincerely yours, Mike.