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 EDC18F55102 for ; Sat, 7 Mar 2026 17:09:39 +0000 (UTC) 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-Owner; bh=Fx2YIUA2YNdl2K/1FcQ/RZfY40RSCPFhF+rPP4/ozUQ=; b=LL7Kzv1iQ2PG+zRHDsaLmzac9P wJqK6k3NrkrLbHA79Mul0xMkqY6V7MYseIJqNldH9oggUNl+xonC45blTnK1NbwGXF4ybLM2ulUXP 9tT/CylDEnthtK1n2hWUNntGLO5oTpaIwYGHez85/1Ar/NtvbAIWpZiMXS9L7NRrBQouE5YEWuglx nFYRIcw54H86zLV/q9Cj9zDX0APZ0JLmuurH7o5v+2AD6JnZ247FN92HWnhYAyCqDFaAPT4hAmXeb G/ZNolzkUL5TVlw/SVlUlogUFUqnfSLR17AU55sP63LRjkrlEMLl1RtfwurQqaoLETD3/+tycFU67 q2h+T8lg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vyv9f-00000005Nkn-1Jpf; Sat, 07 Mar 2026 17:09:31 +0000 Received: from mgamail.intel.com ([198.175.65.12]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vyv9X-00000005Njg-1vQ0 for linux-arm-kernel@lists.infradead.org; Sat, 07 Mar 2026 17:09:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1772903363; x=1804439363; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=KHFeNtfK3xhUslDy7/86IoviHngY4/bdrX3PnhqPzK4=; b=KAjzRB9OAkhxuwXODyhJfWRWvzcYFf1IIYxEcMz90CEkLDMuCy1kEcdS BPiwS+GtxBhOoKySxJ/F/y7Nijj4PRDfx+3Gnp14ZMZnuODTVYI1LIL3D tgib350Nr5RxZ+yAu4Z/a/UvcXdX5Iyq6EP+wuer6u1FakOidjXZErLrs 4zLFWilyh6xqabBfdPS5l/KMr3gHknBhzpZeLRkHceBqe7GyMmp25LvaA T4pbB9PpqYWimYEwoCWlEEvdY7klYsG8JecuOcipO2X0VpyZL4LeKsqbo RXP2Wk8jT6NQZ+Tzjx2jPN3aGNWSKUp4H3HYPkVhCWTGPr5p6fCbXWIjH w==; X-CSE-ConnectionGUID: 3qLGvtI4Scm4GBdDYUNbiA== X-CSE-MsgGUID: 7e1VlKobRiO7SlumQWAzZA== X-IronPort-AV: E=McAfee;i="6800,10657,11722"; a="85461420" X-IronPort-AV: E=Sophos;i="6.23,107,1770624000"; d="scan'208";a="85461420" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Mar 2026 09:09:17 -0800 X-CSE-ConnectionGUID: LcqLTwAYSC63ZKLMJFHkaA== X-CSE-MsgGUID: hZFPj6DbQtOdHbBDtB5gYQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,107,1770624000"; d="scan'208";a="222070247" Received: from igk-lkp-server01.igk.intel.com (HELO 9958d990ccf2) ([10.211.93.152]) by fmviesa004.fm.intel.com with ESMTP; 07 Mar 2026 09:09:11 -0800 Received: from kbuild by 9958d990ccf2 with local (Exim 4.98.2) (envelope-from ) id 1vyv9J-000000002Wf-1GSP; Sat, 07 Mar 2026 17:09:09 +0000 Date: Sat, 7 Mar 2026 18:08:13 +0100 From: kernel test robot To: Xu Kuohai , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Yonghong Song , Puranjay Mohan , Anton Protopopov , Shahab Vahedi , Russell King , Tiezhu Yang , Hengqi Chen , Johan Almbladh , Paul Burton , Hari Bathini , Christophe Leroy , Naveen N Rao , Luke Nelson , Xi Wang , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Pu Lehui , Ilya Leoshkevich , Heiko Carstens , Vasily Gorbik , "David S . Miller" , Wang YanQing Subject: Re: [bpf-next v7 1/5] bpf: Move constants blinding from JIT to verifier Message-ID: <202603071836.igZbCyrE-lkp@intel.com> References: <20260307103949.2340104-2-xukuohai@huaweicloud.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260307103949.2340104-2-xukuohai@huaweicloud.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260307_090923_962730_E08D940D X-CRM114-Status: GOOD ( 12.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Xu, kernel test robot noticed the following build errors: [auto build test ERROR on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Xu-Kuohai/bpf-Move-constants-blinding-from-JIT-to-verifier/20260307-181538 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master patch link: https://lore.kernel.org/r/20260307103949.2340104-2-xukuohai%40huaweicloud.com patch subject: [bpf-next v7 1/5] bpf: Move constants blinding from JIT to verifier config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260307/202603071836.igZbCyrE-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260307/202603071836.igZbCyrE-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/202603071836.igZbCyrE-lkp@intel.com/ All errors (new ones prefixed by >>): >> kernel/bpf/verifier.c:23100:9: error: call to undeclared function 'bpf_jit_blind_constants'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23100 | err = bpf_jit_blind_constants(env); | ^ 1 error generated. vim +/bpf_jit_blind_constants +23100 kernel/bpf/verifier.c 23087 23088 static int fixup_call_args(struct bpf_verifier_env *env) 23089 { 23090 #ifndef CONFIG_BPF_JIT_ALWAYS_ON 23091 struct bpf_prog *prog = env->prog; 23092 struct bpf_insn *insn = prog->insnsi; 23093 bool has_kfunc_call = bpf_prog_has_kfunc_call(prog); 23094 int i, depth; 23095 #endif 23096 int err = 0; 23097 23098 if (env->prog->jit_requested && 23099 !bpf_prog_is_offloaded(env->prog->aux)) { 23100 err = bpf_jit_blind_constants(env); 23101 if (err) 23102 return err; 23103 err = jit_subprogs(env); 23104 if (err == 0) 23105 return 0; 23106 if (err == -EFAULT) 23107 return err; 23108 } 23109 #ifndef CONFIG_BPF_JIT_ALWAYS_ON 23110 if (has_kfunc_call) { 23111 verbose(env, "calling kernel functions are not allowed in non-JITed programs\n"); 23112 return -EINVAL; 23113 } 23114 if (env->subprog_cnt > 1 && env->prog->aux->tail_call_reachable) { 23115 /* When JIT fails the progs with bpf2bpf calls and tail_calls 23116 * have to be rejected, since interpreter doesn't support them yet. 23117 */ 23118 verbose(env, "tail_calls are not allowed in non-JITed programs with bpf-to-bpf calls\n"); 23119 return -EINVAL; 23120 } 23121 for (i = 0; i < prog->len; i++, insn++) { 23122 if (bpf_pseudo_func(insn)) { 23123 /* When JIT fails the progs with callback calls 23124 * have to be rejected, since interpreter doesn't support them yet. 23125 */ 23126 verbose(env, "callbacks are not allowed in non-JITed programs\n"); 23127 return -EINVAL; 23128 } 23129 23130 if (!bpf_pseudo_call(insn)) 23131 continue; 23132 depth = get_callee_stack_depth(env, insn, i); 23133 if (depth < 0) 23134 return depth; 23135 bpf_patch_call_args(insn, depth); 23136 } 23137 err = 0; 23138 #endif 23139 return err; 23140 } 23141 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki