From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E3E4606A32C for ; Tue, 1 Dec 2026 19:36:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=LUm6WmC9; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=dchswWOY DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=omn53Vu7VOFMH865Lv8+8JT5Fg/Q08DZ1IXOmh2xbhY=; b=LUm6WmC9EqUmOy1pXYGwHIIWEr mUSn7w9GlsquGF4uavM18ZjOIU7b2QZlAYK+R6RwkwFpPQVmy2NGBi8tK/jo03kmAMrIKSVGDM7jD 88oTtjr7q9ft2SMHKEojRboJ6I0Tewa9uNrYBnViS8p0xajeH/a2yKvIeIu3sxV5ilZ3bcJrn24gM m7eHuUbdhMUyapsfK//07W0xGRsLJAObuH4uIGcfaGMMVLwsnIBKdkHy9pKpRsawc0kglI/zzNdT/ fCr1l4jgTDOBra3xADE6By1VIeyw0JT4WxSsK2tetP/xwYMhzTvKKtrfP+gv+/CiHtorpeoBtpO31 sX7It/lQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYTei-00000009Ewg-3v4g; Tue, 01 Dec 2026 19:36:48 +0000 Received: from mgamail.intel.com ([198.175.65.11]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYTee-00000009EwE-0zdI; Tue, 01 Dec 2026 19:36:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796153804; x=1827689804; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=omn53Vu7VOFMH865Lv8+8JT5Fg/Q08DZ1IXOmh2xbhY=; b=dchswWOY0JdqpOWZkF3ONRdQzQgCbot1g8TENeDy3jxww9ngNXlSSXb6 h8hKYGT4NcHVBQ5oNJ8PlZErwDU3AYMZFKd4zvmu07xuZC+DBHZfOzhSd 5DpqMUYiQKi3vHk6QjOffew3ne1Rm1onZG4hA7aCOHPW0abHtsyCyjesO 0phiNwlo7IP6Kl+bpdZREKoaRCXEVTzJlUAYeEG7vlcYu87gbPJaqFgPt xgZ/gTj+/4XA+MVp61EhXyK9p04d+PUPxUjzB4t9vmRgwroSi+xQdKeWi ZCr2Mcl6JiO7klrdUsUJ8KUY/XVKmV8nJheguCuEBbf+kh5LkUXaoO2Vu w==; X-CSE-ConnectionGUID: GzZnZqf4SiyASLAAmxSBjQ== X-CSE-MsgGUID: 45ZTB6fcSgSKDhKSmheDDA== X-IronPort-AV: E=McAfee;i="6800,10657,11983"; a="4944737" X-IronPort-AV: E=Sophos;i="6.27,245,1787036400"; d="scan'208";a="4944737" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2026 11:36:43 -0800 X-CSE-ConnectionGUID: QfXIuWg7Rf6iB8D/7RLJSA== X-CSE-MsgGUID: DTDYLRjPShqxDi43RW7bOg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,245,1787036400"; d="scan'208";a="13305407" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 01 Dec 2026 11:36:37 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xYTeT-00000001djR-38CQ; Tue, 01 Dec 2026 19:36:33 +0000 Date: Wed, 2 Dec 2026 03:36:30 +0800 From: kernel test robot To: Song Liu , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, live-patching@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, rostedt@goodmis.org, mhiramat@kernel.org, mark.rutland@arm.com, peterz@infradead.org, tglx@kernel.org, frederic@kernel.org, paulmck@kernel.org, catalin.marinas@arm.com, will@kernel.org, maddy@linux.ibm.com, mpe@ellerman.id.au, npiggin@gmail.com, chleroy@kernel.org, pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, ojeda@kernel.org, kernel-team@meta.com Subject: Re: [PATCH v3 22/22] compiler_types: Move notrace from inline to __always_inline Message-ID: <20261202033105.e8mULFe5-lkp@intel.com> References: <20261201042201.3199928-23-song@kernel.org> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261201042201.3199928-23-song@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261201_113644_355091_0BC01F20 X-CRM114-Status: GOOD ( 11.07 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi Song, kernel test robot noticed the following build errors: [auto build test ERROR on fe6ff8d5d675c01793b9f051d16055dd4aa75244] url: https://github.com/intel-lab-lkp/linux/commits/Song-Liu/x86-paravirt-Mark-native-pv_ops-helpers-notrace/20261130-202140 base: fe6ff8d5d675c01793b9f051d16055dd4aa75244 patch link: https://lore.kernel.org/r/20261201042201.3199928-23-song%40kernel.org patch subject: [PATCH v3 22/22] compiler_types: Move notrace from inline to __always_inline config: powerpc-randconfig-1000-20261201 (https://download.01.org/0day-ci/archive/20261202/20261202033105.e8mULFe5-lkp@intel.com/config) compiler: powerpc-linux-gcc (GCC) 12.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261202/20261202033105.e8mULFe5-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/20261202033105.e8mULFe5-lkp@intel.com/ All error/warnings (new ones prefixed by >>): In file included from arch/powerpc/boot/../../../lib/decompress_unxz.c:242, from arch/powerpc/boot/decompress.c:37: >> arch/powerpc/boot/../../../lib/xz/xz_dec_lzma2.c:511:24: error: expected ';' before 'void' 511 | static __always_inline void rc_normalize(struct rc_dec *rc) | ^~~~ >> arch/powerpc/boot/../../../lib/xz/xz_dec_lzma2.c:530:24: error: expected ';' before 'int' 530 | static __always_inline int rc_bit(struct rc_dec *rc, uint16_t *prob) | ^~~ In file included from : >> include/linux/compiler_attributes.h:59:83: error: unknown type name 'notrace' 59 | #define __always_inline inline __attribute__((__always_inline__)) notrace | ^~~~~~~ arch/powerpc/boot/../../../lib/xz/xz_dec_lzma2.c:552:8: note: in expansion of macro '__always_inline' 552 | static __always_inline uint32_t rc_bittree(struct rc_dec *rc, | ^~~~~~~~~~~~~~~ >> arch/powerpc/boot/../../../lib/xz/xz_dec_lzma2.c:552:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rc_bittree' 552 | static __always_inline uint32_t rc_bittree(struct rc_dec *rc, | ^~~~~~~~~~ arch/powerpc/boot/../../../lib/xz/xz_dec_lzma2.c:568:24: error: expected ';' before 'void' 568 | static __always_inline void rc_bittree_reverse(struct rc_dec *rc, | ^~~~ arch/powerpc/boot/../../../lib/xz/xz_dec_lzma2.c: In function 'lzma_literal': >> arch/powerpc/boot/../../../lib/xz/xz_dec_lzma2.c:626:26: warning: implicit declaration of function 'rc_bittree'; did you mean 'rc_bit'? [-Wimplicit-function-declaration] 626 | symbol = rc_bittree(&s->rc, probs, 0x100); | ^~~~~~~~~~ | rc_bit vim +/notrace +59 include/linux/compiler_attributes.h 45 46 /* 47 * Note: users of __always_inline currently do not write "inline" themselves, 48 * which seems to be required by gcc to apply the attribute according 49 * to its docs (and also "warning: always_inline function might not be 50 * inlinable [-Wattributes]" is emitted). 51 * 52 * The compiler still emits an out-of-line copy of an __always_inline function 53 * when its address is taken or when it has external linkage. These functions 54 * are often used by code that must not be traced, so mark them notrace. 55 * 56 * gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-always_005finline-function-attribute 57 * clang: mentioned 58 */ > 59 #define __always_inline inline __attribute__((__always_inline__)) notrace 60 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki