Content-Type: multipart/mixed; boundary="===============5091211089499941631==" MIME-Version: 1.0 From: Chen, Rong A To: kbuild-all@lists.01.org Subject: Re: [PATCH 1/8] powerpc/mm: Make slice specific to book3s/64 Date: Fri, 26 Nov 2021 13:15:53 +0800 Message-ID: <802212cd-87d6-cb7b-768d-9794d08eb4f8@intel.com> In-Reply-To: List-Id: --===============5091211089499941631== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 11/24/2021 9:49 PM, Christophe Leroy wrote: > = > = > Le 24/11/2021 =C3=A0 13:10, Christophe Leroy a =C3=A9crit=C2=A0: >> >> >> Le 22/11/2021 =C3=A0 15:48, kernel test robot a =C3=A9crit=C2=A0: >>> Hi Christophe, >>> >>> I love your patch! Perhaps something to improve: >>> >>> [auto build test WARNING on powerpc/next] >>> [also build test WARNING on hnaz-mm/master linus/master v5.16-rc2 = >>> next-20211118] >>> [If your patch is applied to the wrong git tree, kindly drop us a note. >>> And when submitting patch, we suggest to use '--base' as documented in >>> https://git-scm.com/docs/git-format-patch] >>> >>> url: = >>> https://github.com/0day-ci/linux/commits/Christophe-Leroy/Convert-power= pc-to-default-topdown-mmap-layout/20211122-165115 = >>> >>> base: = >>> https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next >>> config: powerpc64-randconfig-s031-20211122 (attached as .config) >>> compiler: powerpc64-linux-gcc (GCC) 11.2.0 >>> reproduce: >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 wget = >>> https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cros= s = >>> -O ~/bin/make.cross >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 chmod +x ~/bin/make.cr= oss >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # apt-get install spar= se >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # sparse version: v0.6= .4-dirty >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # = >>> https://github.com/0day-ci/linux/commit/1d0b7cc86d08f25f595b52d8c39ba9c= a1d29a30a = >>> >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 git remote add linux-r= eview https://github.com/0day-ci/linux >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 git fetch --no-tags li= nux-review = >>> Christophe-Leroy/Convert-powerpc-to-default-topdown-mmap-layout/2021112= 2-165115 = >>> >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 git checkout 1d0b7cc86= d08f25f595b52d8c39ba9ca1d29a30a >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # save the attached .c= onfig to linux build tree >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 COMPILER_INSTALL_PATH= =3D$HOME/0day COMPILER=3Dgcc-11.2.0 = >>> make.cross C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' = >>> ARCH=3Dpowerpc64 >>> >>> If you fix the issue, kindly add following tag as appropriate >>> Reported-by: kernel test robot >>> >>> All warnings (new ones prefixed by >>): >>> >>> =C2=A0=C2=A0=C2=A0 arch/powerpc/mm/book3s64/slice.c: In function = >>> 'slice_get_unmapped_area': >>>>> arch/powerpc/mm/book3s64/slice.c:639:1: warning: the frame size of = >>>>> 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=3D] >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 639 | } >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | ^ >> >> >> The problem was already existing when slice.c was in arch/powerpc/mm/ >> >> This patch doesn't introduce the problem. >> > = > In fact the problem is really added by yourself mister 'kernel test robot= '. > = > CONFIG_FRAME_WARN is supposed to be 2048 on 64 bit architectures. > = > It the robot starts to reduce that value, it is on its own .... Hi Christophe, Thanks for the information, we'll set the default value for FRAME_WARN = in randconfig tests. Best Regards, Rong Chen > = > = > config FRAME_WARN > =C2=A0=C2=A0=C2=A0=C2=A0int "Warn for stack frames larger than" > =C2=A0=C2=A0=C2=A0=C2=A0range 0 8192 > =C2=A0=C2=A0=C2=A0=C2=A0default 2048 if GCC_PLUGIN_LATENT_ENTROPY > =C2=A0=C2=A0=C2=A0=C2=A0default 1536 if (!64BIT && (PARISC || XTENSA)) > =C2=A0=C2=A0=C2=A0=C2=A0default 1024 if (!64BIT && !PARISC) > =C2=A0=C2=A0=C2=A0=C2=A0default 2048 if 64BIT > =C2=A0=C2=A0=C2=A0=C2=A0help > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Tell gcc to warn at build time for stack = frames larger than this. > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Setting this too low will cause a lot of = warnings. > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Setting it to 0 disables the warning. > _______________________________________________ > kbuild-all mailing list -- kbuild-all(a)lists.01.org > To unsubscribe send an email to kbuild-all-leave(a)lists.01.org --===============5091211089499941631==--