From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796153804; b=kmJvDAIIXubKTda3xEd4WabmXzzBldyydDPLdSAAUw/pCO/VCMkh0x6X1Tmg3pOp9d8Z ofAaaoP/Fu1hFO0h41gIIMxzubNG9HGXc8EFSYcanHLIjUT/91vnsZOQFPIVYYDXD14KK JHnwFcKA4scG9v7VlHwDF2h4J4VxBRuBwP5Y6xfnmoXYnNdfmFpohADCdNEY/2KRE815X taTn43rdHA6s5k7YpipDvAeKgAomblpAVSx6E0oD6joJe75pHR8dmObC6BGuEmD6HOijp Z7YZeHAaB6YrSmD7bWUu3UvgTlQTcmYxq7j5nOtl2dhcT92UPml5FwR4Lwy0KeFhgXQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796153804; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=omn53Vu7VOFMH865Lv8+8JT5Fg/Q08DZ1IXOmh2xbhY=; b=Th31hOqXkfKleoPUOSrUF+8TZUk93oiqggq8xnirqKULEQOSrw1DRq3KWoFqdSjYHI24 +Pc8KAnj0VQwu07FIw7VYAJrCO4xt498ZnoL27KIbVCkPz+WS7bzy+cuyeTDtqF+mUdHg DEw8pnDhzUS0auOme3Bw7TkjR5sGjDxzBs4RpmwIYwS+bu+8cePQNQfRMw6ZT2lSbYfZ/ 3ozpOc03AJcE+no39ukdjRLQo6C+uifNFcQjBcJQioNzDs7rHXgKxOsO/pgaX3k370Alb 1yKSY7UjgloBnV2xPASZ9hW5eoDEHgbbFf/wHCEICwRWNRo7394PMC/ak5LD7Y6OPtQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=dchswWOY; arc=none smtp.remote-ip=198.175.65.11 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF2D3606A320; Tue, 1 Dec 2026 19:36:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CF2D3606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; 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; 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: Q0drMFrwQkSucB6VSjkZng== X-CSE-MsgGUID: /DN98lglRNy4YQtCJpWXGA== X-IronPort-AV: E=McAfee;i="6800,10657,11983"; a="4944745" X-IronPort-AV: E=Sophos;i="6.27,245,1787036400"; d="scan'208";a="4944745" 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-Mailing-List: bpf@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261201042201.3199928-23-song@kernel.org> 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