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 A5C47C433F5 for ; Fri, 26 Nov 2021 05:16:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DF16A6B0075; Fri, 26 Nov 2021 00:16:11 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DA0F86B0078; Fri, 26 Nov 2021 00:16:11 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C8FA56B007B; Fri, 26 Nov 2021 00:16:11 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0060.hostedemail.com [216.40.44.60]) by kanga.kvack.org (Postfix) with ESMTP id B78766B0075 for ; Fri, 26 Nov 2021 00:16:11 -0500 (EST) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 785ED184DDFB5 for ; Fri, 26 Nov 2021 05:16:01 +0000 (UTC) X-FDA: 78849919722.09.2C69208 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by imf26.hostedemail.com (Postfix) with ESMTP id 2544020019C4 for ; Fri, 26 Nov 2021 05:15:58 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10179"; a="222478690" X-IronPort-AV: E=Sophos;i="5.87,263,1631602800"; d="scan'208";a="222478690" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2021 21:15:58 -0800 X-IronPort-AV: E=Sophos;i="5.87,263,1631602800"; d="scan'208";a="510513613" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.255.31.165]) ([10.255.31.165]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2021 21:15:55 -0800 Subject: Re: [kbuild-all] Re: [PATCH 1/8] powerpc/mm: Make slice specific to book3s/64 To: Christophe Leroy , 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> From: "Chen, Rong A" Message-ID: <802212cd-87d6-cb7b-768d-9794d08eb4f8@intel.com> Date: Fri, 26 Nov 2021 13:15:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 2544020019C4 X-Stat-Signature: 376acbe83t46f6qwsyeam175wd4omk7n Authentication-Results: imf26.hostedemail.com; dkim=none; spf=none (imf26.hostedemail.com: domain of rong.a.chen@intel.com has no SPF policy when checking 134.134.136.126) smtp.mailfrom=rong.a.chen@intel.com; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=intel.com (policy=none) X-HE-Tag: 1637903758-306996 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: On 11/24/2021 9:49 PM, Christophe Leroy wrote: >=20 >=20 > 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=20 >>> next-20211118] >>> [If your patch is applied to the wrong git tree, kindly drop us a not= e. >>> And when submitting patch, we suggest to use '--base' as documented i= n >>> https://git-scm.com/docs/git-format-patch] >>> >>> url:=20 >>> https://github.com/0day-ci/linux/commits/Christophe-Leroy/Convert-pow= erpc-to-default-topdown-mmap-layout/20211122-165115=20 >>> >>> base:=20 >>> https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git nex= t >>> 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.cr= oss=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.= cross >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # apt-get install sp= arse >>> =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/1d0b7cc86d08f25f595b52d8c39ba= 9ca1d29a30a=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 = linux-review=20 >>> Christophe-Leroy/Convert-powerpc-to-default-topdown-mmap-layout/20211= 122-165115=20 >>> >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 git checkout 1d0b7cc= 86d08f25f595b52d8c39ba9ca1d29a30a >>> =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_PAT= H=3D$HOME/0day COMPILER=3Dgcc-11.2.0=20 >>> make.cross C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__'=20 >>> 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=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 | ^ >> >> >> The problem was already existing when slice.c was in arch/powerpc/mm/ >> >> This patch doesn't introduce the problem. >> >=20 > In fact the problem is really added by yourself mister 'kernel test rob= ot'. >=20 > CONFIG_FRAME_WARN is supposed to be 2048 on 64 bit architectures. >=20 > 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=20 in randconfig tests. Best Regards, Rong Chen >=20 >=20 > 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 stac= k frames larger than this. > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Setting this too low will cause a lot o= f warnings. > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Setting it to 0 disables the warning. > _______________________________________________ > kbuild-all mailing list -- kbuild-all@lists.01.org > To unsubscribe send an email to kbuild-all-leave@lists.01.org