From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 648A9C433F5 for ; Wed, 24 Nov 2021 13:49:39 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D5AF26B007D; Wed, 24 Nov 2021 08:49:23 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D09FC6B007B; Wed, 24 Nov 2021 08:49:23 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BF92F6B007D; Wed, 24 Nov 2021 08:49:23 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0150.hostedemail.com [216.40.44.150]) by kanga.kvack.org (Postfix) with ESMTP id AFD596B0075 for ; Wed, 24 Nov 2021 08:49:23 -0500 (EST) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 7606A8A3EB for ; Wed, 24 Nov 2021 13:49:13 +0000 (UTC) X-FDA: 78843955386.22.2470FE2 Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by imf28.hostedemail.com (Postfix) with ESMTP id 02A8690000B8 for ; Wed, 24 Nov 2021 13:49:12 +0000 (UTC) Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4Hzj6H3Yd2z9sSc; Wed, 24 Nov 2021 14:49:11 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LeLWf_gu2Rtj; Wed, 24 Nov 2021 14:49:11 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4Hzj6F3xTPz9sSt; Wed, 24 Nov 2021 14:49:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 714138B774; Wed, 24 Nov 2021 14:49:09 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 2zx_RAzlbcMG; Wed, 24 Nov 2021 14:49:09 +0100 (CET) Received: from [172.25.230.108] (unknown [172.25.230.108]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 1D85B8B763; Wed, 24 Nov 2021 14:49:09 +0100 (CET) Message-ID: Date: Wed, 24 Nov 2021 14:49:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH 1/8] powerpc/mm: Make slice specific to book3s/64 Content-Language: fr-FR From: Christophe Leroy To: kernel test robot , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , alex@ghiti.fr Cc: linux-mm@kvack.org, kbuild-all@lists.01.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <14e2c0b0d4fff49c1cb30166f54ce8e445e17b16.1637570556.git.christophe.leroy@csgroup.eu> <202111222218.RhruLp7S-lkp@intel.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 02A8690000B8 X-Stat-Signature: jqqjfka3faa9zainmia3jwxcbg3db6y9 Authentication-Results: imf28.hostedemail.com; dkim=none; spf=pass (imf28.hostedemail.com: domain of christophe.leroy@csgroup.eu designates 93.17.235.10 as permitted sender) smtp.mailfrom=christophe.leroy@csgroup.eu; dmarc=none X-HE-Tag: 1637761752-999802 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Le 24/11/2021 =C3=A0 13:10, Christophe Leroy a =C3=A9crit=C2=A0: >=20 >=20 > 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=20 >> 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: =20 >> https://github.com/0day-ci/linux/commits/Christophe-Leroy/Convert-powe= rpc-to-default-topdown-mmap-layout/20211122-165115=20 >> >> base: =20 >> 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=20 >> https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cro= ss=20 >> -O ~/bin/make.cross >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 chmod +x ~/bin/make.c= ross >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # apt-get install spa= rse >> =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 #=20 >> https://github.com/0day-ci/linux/commit/1d0b7cc86d08f25f595b52d8c39ba9= ca1d29a30a=20 >> >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 git remote add linux-= review 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 l= inux-review=20 >> Christophe-Leroy/Convert-powerpc-to-default-topdown-mmap-layout/202111= 22-165115=20 >> >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 git checkout 1d0b7cc8= 6d08f25f595b52d8c39ba9ca1d29a30a >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # save the attached .= config 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=20 >> make.cross C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=3D= powerpc64 >> >> 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=20 >> 'slice_get_unmapped_area': >>>> arch/powerpc/mm/book3s64/slice.c:639:1: warning: the frame size of=20 >>>> 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 | ^ >=20 >=20 > The problem was already existing when slice.c was in arch/powerpc/mm/ >=20 > This patch doesn't introduce the problem. >=20 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 .... config FRAME_WARN int "Warn for stack frames larger than" range 0 8192 default 2048 if GCC_PLUGIN_LATENT_ENTROPY default 1536 if (!64BIT && (PARISC || XTENSA)) default 1024 if (!64BIT && !PARISC) default 2048 if 64BIT help Tell gcc to warn at build time for stack frames larger than this. Setting this too low will cause a lot of warnings. Setting it to 0 disables the warning.