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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1C287C433F5 for ; Fri, 20 May 2022 00:09:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FMWakALlSuI49gCEjHY5TD5wkgRows8+nFadO05Ag0A=; b=A6TQfFB2oySLjj JS77pPXJ4Be1etWXb8U0lGASI0AIbSHw1401tH23IF0uDzA3LQTZ8y9VLABdCCdy5X3jB0MTuuD6I Sw7nF8rBrJJFmO/M4U7BlK5mko+nwh18iOPKkgAWZxAl7lUcQvgM1AJGNKPAAizs8OP+yPT7fVrqD /9lSr3DCiFDqH4zg2Ete1rewxxLDHcbRkSur5qVkq1HKtVLvQj1qK4TAGK6ntt3kLC9BP5sjZXppE fUP8clcSry/PpicIff++JF87qWPEqN51Y5gOu/RGu6CmmeHOTCz7GFHyg/QhYmLJSfyBBBmEzFdvC aGYkWXHnNlPCwC9ldCxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrqCP-009k1v-Td; Fri, 20 May 2022 00:08:57 +0000 Received: from mga06b.intel.com ([134.134.136.31] helo=mga06.intel.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrqCN-009k1J-2R for linux-riscv@lists.infradead.org; Fri, 20 May 2022 00:08:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653005335; x=1684541335; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=s/7KsvPeNMDurF3yxYHUVMVVAiSrGckgpPPLCAkESf8=; b=mNO4i9GiuTyo6mRdlha0tRSFNgP/keGU9WYiC72vhtE/BvV/k/mqkpCl /Bpuzhc3MLFY55JxZg1i9VFzT3weFecPRQcOSKQdHUAGUTSE+YUeZzHqR vn8cxMLg+wU2UgDM6qm4UHgZgNZBSrAxDcj5MDJYOuQIbwgF8QBatWS6U 5ll0n5k7BKaILfwYzrr4DrF8+Pe2EmhjJn+VSjK6CxoQAEQOC87tzVtq1 wvpYXYcn6svfNjzrCzr2UBm6YivwXeE8xWIrvX0Yeac9PQIvkT1KJAu2d 17JqyfAeKmIcch3DrSNwx4CbDvwS7OQPzfhqG8fk+w6gpcFTEoqy0S+pV Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10352"; a="333049702" X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="333049702" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 17:08:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,238,1647327600"; d="scan'208";a="743203165" Received: from lkp-server02.sh.intel.com (HELO 242b25809ac7) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 19 May 2022 17:08:47 -0700 Received: from kbuild by 242b25809ac7 with local (Exim 4.95) (envelope-from ) id 1nrqCE-00044d-Q7; Fri, 20 May 2022 00:08:46 +0000 Date: Fri, 20 May 2022 08:08:02 +0800 From: kernel test robot To: Jisheng Zhang , Paul Walmsley , Palmer Dabbelt , Albert Ou , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , Alexandre Ghiti , Anup Patel , Atish Patra Cc: kbuild-all@lists.01.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com Subject: Re: [PATCH v3 2/2] riscv: turn pgtable_l4|[l5]_enabled to static key for RV64 Message-ID: <202205200851.XPf3TixK-lkp@intel.com> References: <20220519155918.3882-3-jszhang@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220519155918.3882-3-jszhang@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220519_170855_195895_13293BAC X-CRM114-Status: GOOD ( 12.26 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hi Jisheng, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.18-rc7] [cannot apply to next-20220519] [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/intel-lab-lkp/linux/commits/Jisheng-Zhang/use-static-key-to-optimize-pgtable_l4_enabled/20220520-001459 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f993aed406eaf968ba3867a76bb46c95336a33d0 config: riscv-allnoconfig (https://download.01.org/0day-ci/archive/20220520/202205200851.XPf3TixK-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 11.3.0 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 # https://github.com/intel-lab-lkp/linux/commit/d052c69ebaf48ac2925d6f9fa033d9e394da1074 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jisheng-Zhang/use-static-key-to-optimize-pgtable_l4_enabled/20220520-001459 git checkout d052c69ebaf48ac2925d6f9fa033d9e394da1074 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash fs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from arch/riscv/include/asm/pgtable.h:112, from arch/riscv/include/asm/uaccess.h:12, from include/linux/uaccess.h:11, from include/linux/sched/task.h:11, from include/linux/sched/signal.h:9, from include/linux/rcuwait.h:6, from include/linux/percpu-rwsem.h:7, from include/linux/fs.h:33, from fs/char_dev.c:9: arch/riscv/include/asm/pgtable-64.h: In function 'pgtable_l5_enabled': >> arch/riscv/include/asm/pgtable-64.h:19:13: error: implicit declaration of function 'static_branch_likely' [-Werror=implicit-function-declaration] 19 | if (static_branch_likely(&_pgtable_lx_ready)) | ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors -- In file included from arch/riscv/include/asm/pgtable.h:112, from arch/riscv/include/asm/uaccess.h:12, from include/linux/uaccess.h:11, from include/linux/sched/task.h:11, from include/linux/sched/signal.h:9, from include/linux/rcuwait.h:6, from include/linux/percpu-rwsem.h:7, from include/linux/fs.h:33, from include/uapi/linux/aio_abi.h:31, from include/linux/syscalls.h:77, from fs/d_path.c:2: arch/riscv/include/asm/pgtable-64.h: In function 'pgtable_l5_enabled': >> arch/riscv/include/asm/pgtable-64.h:19:13: error: implicit declaration of function 'static_branch_likely' [-Werror=implicit-function-declaration] 19 | if (static_branch_likely(&_pgtable_lx_ready)) | ^~~~~~~~~~~~~~~~~~~~ fs/d_path.c: At top level: fs/d_path.c:318:7: warning: no previous prototype for 'simple_dname' [-Wmissing-prototypes] 318 | char *simple_dname(struct dentry *dentry, char *buffer, int buflen) | ^~~~~~~~~~~~ cc1: some warnings being treated as errors -- In file included from arch/riscv/include/asm/pgtable.h:112, from arch/riscv/include/asm/uaccess.h:12, from include/linux/uaccess.h:11, from include/linux/sched/task.h:11, from include/linux/sched/signal.h:9, from include/linux/rcuwait.h:6, from include/linux/percpu-rwsem.h:7, from include/linux/fs.h:33, from include/uapi/linux/aio_abi.h:31, from include/linux/syscalls.h:77, from fs/io_uring.c:45: arch/riscv/include/asm/pgtable-64.h: In function 'pgtable_l5_enabled': >> arch/riscv/include/asm/pgtable-64.h:19:13: error: implicit declaration of function 'static_branch_likely' [-Werror=implicit-function-declaration] 19 | if (static_branch_likely(&_pgtable_lx_ready)) | ^~~~~~~~~~~~~~~~~~~~ fs/io_uring.c: In function '__io_submit_flush_completions': fs/io_uring.c:2660:40: warning: variable 'prev' set but not used [-Wunused-but-set-variable] 2660 | struct io_wq_work_node *node, *prev; | ^~~~ cc1: some warnings being treated as errors -- In file included from arch/riscv/include/asm/pgtable.h:112, from arch/riscv/include/asm/uaccess.h:12, from include/linux/uaccess.h:11, from include/linux/sched/task.h:11, from include/linux/sched/signal.h:9, from include/linux/rcuwait.h:6, from include/linux/percpu-rwsem.h:7, from include/linux/fs.h:33, from fs/proc/meminfo.c:2: arch/riscv/include/asm/pgtable-64.h: In function 'pgtable_l5_enabled': >> arch/riscv/include/asm/pgtable-64.h:19:13: error: implicit declaration of function 'static_branch_likely' [-Werror=implicit-function-declaration] 19 | if (static_branch_likely(&_pgtable_lx_ready)) | ^~~~~~~~~~~~~~~~~~~~ fs/proc/meminfo.c: At top level: fs/proc/meminfo.c:22:28: warning: no previous prototype for 'arch_report_meminfo' [-Wmissing-prototypes] 22 | void __attribute__((weak)) arch_report_meminfo(struct seq_file *m) | ^~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/static_branch_likely +19 arch/riscv/include/asm/pgtable-64.h 16 17 static __always_inline bool pgtable_l5_enabled(void) 18 { > 19 if (static_branch_likely(&_pgtable_lx_ready)) 20 return static_branch_likely(&_pgtable_l5_enabled); 21 else 22 return _pgtable_l5_enabled_early; 23 } 24 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv