> -----Original Message----- > From: Randy Dunlap [mailto:rdunlap@xxxxxxxxxxxxx] > Sent: Friday, September 18, 2020 4:00 PM > To: Song Bao Hua (Barry Song) <song.bao.hua@xxxxxxxxxxxxx>; tiantao (H) > <tiantao6@xxxxxxxxxxxxx>; corbet@xxxxxxx; keescook@xxxxxxxxxxxx; > anton@xxxxxxxxxx; ccross@xxxxxxxxxxx; tony.luck@xxxxxxxxx; > paulmck@xxxxxxxxxx; tglx@xxxxxxxxxxxxx; akpm@xxxxxxxxxxxxxxxxxxxx; > bp@xxxxxxx; mchehab+huawei@xxxxxxxxxx; > pawan.kumar.gupta@xxxxxxxxxxxxxxx; mike.kravetz@xxxxxxxxxx; > oneukum@xxxxxxxx; gpiccoli@xxxxxxxxxxxxx; linux-doc@xxxxxxxxxxxxxxx > Cc: Linuxarm <linuxarm@xxxxxxxxxx> > Subject: Re: [PATCH] Documentation: arm64 supports cma > > On 9/17/20 8:28 PM, Song Bao Hua (Barry Song) wrote: > > > > > >> -----Original Message----- > >> From: Tian Tao [mailto:tiantao6@xxxxxxxxxxxxx] > >> Sent: Friday, September 18, 2020 3:16 PM > >> To: corbet@xxxxxxx; keescook@xxxxxxxxxxxx; anton@xxxxxxxxxx; > >> ccross@xxxxxxxxxxx; tony.luck@xxxxxxxxx; paulmck@xxxxxxxxxx; > >> tglx@xxxxxxxxxxxxx; akpm@xxxxxxxxxxxxxxxxxxxx; bp@xxxxxxx; > >> mchehab+huawei@xxxxxxxxxx; pawan.kumar.gupta@xxxxxxxxxxxxxxx; > >> rdunlap@xxxxxxxxxxxxx; mike.kravetz@xxxxxxxxxx; oneukum@xxxxxxxx; > >> gpiccoli@xxxxxxxxxxxxx; linux-doc@xxxxxxxxxxxxxxx > >> Cc: Linuxarm <linuxarm@xxxxxxxxxx> > >> Subject: [PATCH] Documentation: arm64 supports cma > >> > >> arm64 also supports cma, updated documentation. > >> > >> Signed-off-by: Tian Tao <tiantao6@xxxxxxxxxxxxx> > >> --- > >> Documentation/admin-guide/kernel-parameters.txt | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> diff --git a/Documentation/admin-guide/kernel-parameters.txt > >> b/Documentation/admin-guide/kernel-parameters.txt > >> index 7ebe3be..38a1602 100644 > >> --- a/Documentation/admin-guide/kernel-parameters.txt > >> +++ b/Documentation/admin-guide/kernel-parameters.txt > >> @@ -591,7 +591,7 @@ > >> some critical bits. > >> > >> cma=nn[MG]@[start[MG][-end[MG]]] > >> - [ARM,X86,KNL] > >> + [ARM,ARM64,X86,KNL] > > > > Yes. It supports ARM64. On the other hand, it also supports other > architectures like > > MIPS > > S390 > > MICROBLAZE > > ... > > So I am not sure if it is a completely correct fix. > > > > CMA only depends on MMU. It probably doesn't depend on arch too much. > > > > Is it better to just move to [KNL]? > > How about [KNL,CMA]? CMA is already listed as a build option/restriction > in Documentation/admin-guide/kernel-parameters.rst. Sounds good to me. > > > > >> Sets the size of kernel global memory area for > >> contiguous memory allocations and optionally the > >> placement constraint by the physical address range of > >> -- > Thanks. Barry