Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3299398pxv; Mon, 28 Jun 2021 01:09:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAV0lR+nRjqa3xO0nMuXg8gg98gNqxu8/jBOQ2sliwvixua/m5WD8SZ5V31Gl/o4x3oG/e X-Received: by 2002:aa7:d918:: with SMTP id a24mr32352240edr.235.1624867754917; Mon, 28 Jun 2021 01:09:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624867754; cv=none; d=google.com; s=arc-20160816; b=qme1dJpCa3b6rDMtBkSTlEEcd6rcJXgHjoSh2M4VgLY+uPJKB3PGVJci2YNs+1F2yv /mZQSpHLHcsH6M8eaHCNDJlMG85HveyEInPXZtBGIJJvPHFexCvrpVskWV40Ae7vuCsI oWMcZbP4r7T7jsIwc7TFdYbSN0KnTJYLWyK9sRlfdM33AG6mCS3NNYUDSX04k5qaz5Z8 1KmgsY9iot8kePsMCVW/3V490cF3GElWIUGg0dHrJJz0RbkdOBZlr3qg/yjWkPkqEwvs zCPScsdUKZbHEYnyUh4f6zi2oebtuSm2rmzxMS+HlgplhHv7Xl3ElOfPZ/yumwwSGlYc Eu0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=VcQK6b8Q1K4mMo4J4GLgB2LCcmGGPFFZDsUg4tVqu2A=; b=0xP9vYfl8n2brEZtkt3IgPuTLUjxpJO8MP0fucaQNqufYlkQMdF++EFheAlEnS+ZRa dqPxVDEeCg6ZNf32u6DOEdlTIBbewjOTi+lOcAC+SeyXa11FtHeilSQ7ha8CGjxIzNj6 5XqHZu+BaPyvdmWD2WGwqffA7dsgqfMed6P1AezmjHciUJh3No8MUyArqR3/l9he9edr n4AVgNqR9WDQclz46cLWDtzAg4DZWyaQHu0thoQRVa0dVL4Eqq5E38ON2+b3epZJ+L2e wSwc6njN6olAlc7EXWzT2wGGSCFrFi/heUw1e8K83d4I/DIGvpuFzyzyRg114ejK4XD/ IJ+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m4si13988063ejl.583.2021.06.28.01.08.51; Mon, 28 Jun 2021 01:09:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232329AbhF1IIW (ORCPT + 99 others); Mon, 28 Jun 2021 04:08:22 -0400 Received: from mga04.intel.com ([192.55.52.120]:28311 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232318AbhF1IIV (ORCPT ); Mon, 28 Jun 2021 04:08:21 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10028"; a="206082426" X-IronPort-AV: E=Sophos;i="5.83,305,1616482800"; d="scan'208";a="206082426" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2021 01:05:56 -0700 X-IronPort-AV: E=Sophos;i="5.83,305,1616482800"; d="scan'208";a="456226358" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.255.30.185]) ([10.255.30.185]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2021 01:05:53 -0700 Subject: Re: [kbuild-all] Re: net/ceph/messenger_v2.c:2808:5: warning: stack frame size (2336) exceeds limit (2048) in function 'ceph_con_v2_try_read' To: Ilya Dryomov , kernel test robot Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, LKML References: <202106280955.VUsBSyHq-lkp@intel.com> From: "Chen, Rong A" Message-ID: Date: Mon, 28 Jun 2021 16:05:48 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/28/2021 4:02 PM, Ilya Dryomov wrote: > On Mon, Jun 28, 2021 at 3:25 AM kernel test robot wrote: >> >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> head: 62fb9874f5da54fdb243003b386128037319b219 >> commit: cd1a677cad994021b19665ed476aea63f5d54f31 libceph, ceph: implement msgr2.1 protocol (crc and secure modes) >> date: 7 months ago >> config: powerpc64-randconfig-r034-20210628 (attached as .config) >> compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 59558129276098d62046c8cda92240d292cbfb1c) >> reproduce (this is a W=1 build): >> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> # install powerpc64 cross compiling tool for clang build >> # apt-get install binutils-powerpc64-linux-gnu >> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cd1a677cad994021b19665ed476aea63f5d54f31 >> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> git fetch --no-tags linus master >> git checkout cd1a677cad994021b19665ed476aea63f5d54f31 >> # save the attached .config to linux build tree >> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> All warnings (new ones prefixed by >>): >> >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET' >> __do_##name al; \ >> ^~~~~~~~~~~~~~ >> :2:1: note: expanded from here >> __do_outl >> ^ >> arch/powerpc/include/asm/io.h:522:62: note: expanded from macro '__do_outl' >> #define __do_outl(val, port) writel(val,(PCI_IO_ADDR)_IO_BASE+port); >> ~~~~~~~~~~~~~~~~~~~~~^ >> In file included from net/ceph/messenger_v2.c:17: >> In file included from include/linux/scatterlist.h:9: >> In file included from arch/powerpc/include/asm/io.h:604: >> arch/powerpc/include/asm/io-defs.h:43:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] >> DEF_PCI_AC_NORET(insb, (unsigned long p, void *b, unsigned long c), >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET' >> __do_##name al; \ >> ^~~~~~~~~~~~~~ >> :30:1: note: expanded from here >> __do_insb >> ^ >> arch/powerpc/include/asm/io.h:541:56: note: expanded from macro '__do_insb' >> #define __do_insb(p, b, n) readsb((PCI_IO_ADDR)_IO_BASE+(p), (b), (n)) >> ~~~~~~~~~~~~~~~~~~~~~^ >> In file included from net/ceph/messenger_v2.c:17: >> In file included from include/linux/scatterlist.h:9: >> In file included from arch/powerpc/include/asm/io.h:604: >> arch/powerpc/include/asm/io-defs.h:45:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] >> DEF_PCI_AC_NORET(insw, (unsigned long p, void *b, unsigned long c), >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET' >> __do_##name al; \ >> ^~~~~~~~~~~~~~ >> :34:1: note: expanded from here >> __do_insw >> ^ >> arch/powerpc/include/asm/io.h:542:56: note: expanded from macro '__do_insw' >> #define __do_insw(p, b, n) readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n)) >> ~~~~~~~~~~~~~~~~~~~~~^ >> In file included from net/ceph/messenger_v2.c:17: >> In file included from include/linux/scatterlist.h:9: >> In file included from arch/powerpc/include/asm/io.h:604: >> arch/powerpc/include/asm/io-defs.h:47:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] >> DEF_PCI_AC_NORET(insl, (unsigned long p, void *b, unsigned long c), >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET' >> __do_##name al; \ >> ^~~~~~~~~~~~~~ >> :38:1: note: expanded from here >> __do_insl >> ^ >> arch/powerpc/include/asm/io.h:543:56: note: expanded from macro '__do_insl' >> #define __do_insl(p, b, n) readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n)) >> ~~~~~~~~~~~~~~~~~~~~~^ >> In file included from net/ceph/messenger_v2.c:17: >> In file included from include/linux/scatterlist.h:9: >> In file included from arch/powerpc/include/asm/io.h:604: >> arch/powerpc/include/asm/io-defs.h:49:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] >> DEF_PCI_AC_NORET(outsb, (unsigned long p, const void *b, unsigned long c), >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET' >> __do_##name al; \ >> ^~~~~~~~~~~~~~ >> :42:1: note: expanded from here >> __do_outsb >> ^ >> arch/powerpc/include/asm/io.h:544:58: note: expanded from macro '__do_outsb' >> #define __do_outsb(p, b, n) writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n)) >> ~~~~~~~~~~~~~~~~~~~~~^ >> In file included from net/ceph/messenger_v2.c:17: >> In file included from include/linux/scatterlist.h:9: >> In file included from arch/powerpc/include/asm/io.h:604: >> arch/powerpc/include/asm/io-defs.h:51:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] >> DEF_PCI_AC_NORET(outsw, (unsigned long p, const void *b, unsigned long c), >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET' >> __do_##name al; \ >> ^~~~~~~~~~~~~~ >> :46:1: note: expanded from here >> __do_outsw >> ^ >> arch/powerpc/include/asm/io.h:545:58: note: expanded from macro '__do_outsw' >> #define __do_outsw(p, b, n) writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n)) >> ~~~~~~~~~~~~~~~~~~~~~^ >> In file included from net/ceph/messenger_v2.c:17: >> In file included from include/linux/scatterlist.h:9: >> In file included from arch/powerpc/include/asm/io.h:604: >> arch/powerpc/include/asm/io-defs.h:53:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] >> DEF_PCI_AC_NORET(outsl, (unsigned long p, const void *b, unsigned long c), >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET' >> __do_##name al; \ >> ^~~~~~~~~~~~~~ >> :50:1: note: expanded from here >> __do_outsl >> ^ >> arch/powerpc/include/asm/io.h:546:58: note: expanded from macro '__do_outsl' >> #define __do_outsl(p, b, n) writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n)) >> ~~~~~~~~~~~~~~~~~~~~~^ >>>> net/ceph/messenger_v2.c:2808:5: warning: stack frame size (2336) exceeds limit (2048) in function 'ceph_con_v2_try_read' [-Wframe-larger-than] > > Same as for ceph_con_v1_try_read(), please add this instance to the > allowlist. Got it, thanks for the information. Best Regards, Rong Chen > > Thanks, > > Ilya > _______________________________________________ > kbuild-all mailing list -- kbuild-all@lists.01.org > To unsubscribe send an email to kbuild-all-leave@lists.01.org >