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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DD81C5AD49 for ; Thu, 29 May 2025 15:35:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2E0476B007B; Thu, 29 May 2025 11:35:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2691C6B0082; Thu, 29 May 2025 11:35:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 181096B0083; Thu, 29 May 2025 11:35:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id E92336B007B for ; Thu, 29 May 2025 11:35:47 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 66B081A04E4 for ; Thu, 29 May 2025 15:35:47 +0000 (UTC) X-FDA: 83496345534.17.7D30256 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) by imf02.hostedemail.com (Postfix) with ESMTP id 9143C80003 for ; Thu, 29 May 2025 15:35:44 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=OGc0FvTY; spf=pass (imf02.hostedemail.com: domain of lkp@intel.com designates 198.175.65.20 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1748532945; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=914ioYTBrQrx2PypTshl4Y0e5nj206dcoNXuwOvgkyg=; b=jJPStUs0VS9iuoFcOj5DJpUnNo41kpES6hgC4W3XUNAhbmJ4FuEslesrGi0TubobHV5M1v 7fc3NnTaU+ejp54nnWzTr2w6Hg8NO7JpHFG8pkJ7V6IX//WRqiBn5ikxZTW8VP6VgdGu5Z 54IFPdEpUmBF9cbwQ+1N7jiKz0fuWus= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=OGc0FvTY; spf=pass (imf02.hostedemail.com: domain of lkp@intel.com designates 198.175.65.20 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1748532945; a=rsa-sha256; cv=none; b=zboie1h76fpwsgunFoWljDXFyf70SxlbYNRzj10wBOb4f6hTpirUKbTwQ6RI4Z1ljxV7BB 8xwTE3HITr3TLitkVO27MyazLrk2TO7tNHLQ+IuoO9ekJISuJwRPqlzRIEzOdLtZPkEWDF ctdhb4S6clrZ0UyWYqoU2rmYfzT/laY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1748532945; x=1780068945; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=GPdqafqU2tPrO3Kwr1heLn8rpZD1wUwbKicBkAIdz60=; b=OGc0FvTY9ShVbHD44XIAyC0V/Qsmq57bwilebHX/U+PyNASwnjjKkAvD zqsuEGR9itlIUjOZ98gXM0BIjHHf7hg4pR+MiquKBoyoaqK6hFCaBgmcw njatS5ye09FyDQNV7L8ZkRNIPs1wUPLoN0VTlbmRQ2xJwrEaYf26QbQgG AkXSXX7JwVjkBNYBMOHQHsh2vJ3fQYCdvYEHMbRbVK8zSwvToM22CwwrX VbGv0IhA7eNGJdYDfIsw4154etEpFy49uqR0i1vR/Ij/1ll5Y+skKmXlO 5jJHhJ6fYV2zi9BGGxObqxZVHl1CZJn2kM4mDd5bytltXQeQr/KNnEszA A==; X-CSE-ConnectionGUID: CHVdl7A+RkO54CWGBh8GCA== X-CSE-MsgGUID: GSUsLgL3T26090iASTKd/w== X-IronPort-AV: E=McAfee;i="6700,10204,11448"; a="50302764" X-IronPort-AV: E=Sophos;i="6.16,193,1744095600"; d="scan'208";a="50302764" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2025 08:35:32 -0700 X-CSE-ConnectionGUID: W1hnYaAwS2CKSIOXxah0vw== X-CSE-MsgGUID: Hz/Y3PS0ShSJB8EDBEqtNA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,193,1744095600"; d="scan'208";a="148887384" Received: from lkp-server01.sh.intel.com (HELO 1992f890471c) ([10.239.97.150]) by orviesa005.jf.intel.com with ESMTP; 29 May 2025 08:35:26 -0700 Received: from kbuild by 1992f890471c with local (Exim 4.96) (envelope-from ) id 1uKfHv-000WpE-2L; Thu, 29 May 2025 15:35:23 +0000 Date: Thu, 29 May 2025 23:34:48 +0800 From: kernel test robot To: Pingfan Liu , linux-arm-kernel@lists.infradead.org Cc: oe-kbuild-all@lists.linux.dev, Pingfan Liu , Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , Jeremy Linton , Catalin Marinas , Will Deacon , Ard Biesheuvel , Simon Horman , Gerd Hoffmann , Vitaly Kuznetsov , Philipp Rudo , Viktor Malik , Jan Hendrik Farr , Baoquan He , Dave Young , Andrew Morton , Linux Memory Management List , kexec@lists.infradead.org, bpf@vger.kernel.org Subject: Re: [PATCHv3 9/9] arm64/kexec: Add PE image format support Message-ID: <202505292305.zHTx5StD-lkp@intel.com> References: <20250529041744.16458-10-piliu@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250529041744.16458-10-piliu@redhat.com> X-Rspam-User: X-Rspamd-Queue-Id: 9143C80003 X-Rspamd-Server: rspam09 X-Stat-Signature: brzetawx8sy6gdueny15woth38qegbjr X-HE-Tag: 1748532944-773521 X-HE-Meta: U2FsdGVkX182BtQYEy7Q2P86BhODHLapyRsMVmu/d93rFb2quDbLlrE3LMLIhagJ7Gd4OVwAyolQE5vGnMhbqti5pb7Q4OCM89ywTuNoP+Ntu5g56tGRZV0EjN5LpxK1mf6viNfh/lhUYgAMlJfP/3ggD4UhGOJYjB8WwNy6wHcCrbqFDSTyuhUHTh+ZRJn6xDipXiAfCAkgVSZYuEPPmz4aRS7P1RMfZiSWSMqRdSxQBvJQl6EOBcV+2f3H/eDuiRu3p/yeXZe9AY89npxQ3KeqtrICxHFXR7tncD8p7smvXbkl+aMiRjCOziDincL5Rw9VeDsicr85fUf04cKbN3d3ReOxk56ooQTdthirkoPbkcX/Lj46FvFdAeerfPk8jcv0BRQrEaUmfb5fks+2n1/yG5MoN5Vu64X7R1FSWQB6i40fHpmYkhjbFazpFemyGWbqhWzVuFIctU6JYeaBEzPkM/hoSXTSwDg9ulIr3F8R3e3usYvSdMLj9ohEhEpXUxsRxJ9aqSwPLc44TlKdiZxHRLI8cXQvfyrBTBHBMNuRC4g+naZoww4/1beq/wfBrlNPhllgOwpDVLhLudt9/KYa2k7vP1AzYKUNRL1XNFhZ4lFl7qSenkIMAe/HPeUva9uh26GlA4OVJdOrGjq+hC7AcIPwh55SuJVx0ppUY6FRNVdi/YdfJE6nKQa8c5gf/OsiAyAuxNPbMtN3O56JNPfZnqDrXCUm2+f9Gnsi88URl918e4lDIr6LZ9AkuXy1jhTCA5yAPm5aqxYYBVILRIRoX9LHhswWjmt8+Bjie2MVHD69TSxzsmWO9feKltO2Rd26WzKqb26uiHBFG2GTbeE5K10e/taJlw3K/DpVax5I6ISyX5MhiYrT8XVirnrL1H6Z4ZNfwsm1xabPw5qRrvAAa3Ky8AmRfP5OtMGAJXqMomB/VCERNuIlAg1/IGk7a5bSITI+JBnTZMPGEP0 QVkL1yAM RM4XEt3sThBk4qgTm2UVKY6wOMVg3W6TgflqwDZjh4599eTdoaByAbnoNtwHIZsOmfa52tDE3Wz+GpMUjtuU8X4DD5w4uZmUZx5Dggu5BSij5EV2VMq3HHkt+BHMng3CPu/09zW5O6TfkX3T6iRD2bPSGcnZikrpFB3vMV/Igoz1uJ2Y4URHjvsihjo7LZDg81nvSeCNt08Y2YTcPIvRrwdG0stkU/WlNOZTe8a5M0mr0EQ6WPMIv/RTeFyZRbNN0zdALDGl8IWM6A0ck2xNfJqLXAytr1W4zGdW+R78CMnY2Y/y/0Z5lBxgOc3+AGCaiS8Q4FPsJUYo1hO+85yFfW18Hm2jjH72IjA831O2We0f6Jg6at6balJxq3pLEfdzQDYMfOPwcqNAdeZeDvfRTWlqqrdJruW4+DMaYhGBVk5qxsGQ1ZoITzzJLvCjVc2z/FPd6 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Pingfan, kernel test robot noticed the following build errors: [auto build test ERROR on bpf-next/net] [also build test ERROR on bpf/master arm64/for-next/core v6.15] [cannot apply to bpf-next/master linus/master next-20250529] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Pingfan-Liu/kexec_file-Make-kexec_image_load_default-global-visible/20250529-122124 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git net patch link: https://lore.kernel.org/r/20250529041744.16458-10-piliu%40redhat.com patch subject: [PATCHv3 9/9] arm64/kexec: Add PE image format support config: arm64-randconfig-004-20250529 (https://download.01.org/0day-ci/archive/20250529/202505292305.zHTx5StD-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250529/202505292305.zHTx5StD-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/202505292305.zHTx5StD-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from kernel/kexec_bpf/kexec_pe_parser_bpf.lskel.h:6, from kernel/kexec_pe_image.c:25: tools/lib/bpf/skel_internal.h: In function 'skel_finalize_map_data': tools/lib/bpf/skel_internal.h:155:15: error: implicit declaration of function 'bpf_map_get'; did you mean 'bpf_map_put'? [-Werror=implicit-function-declaration] 155 | map = bpf_map_get(fd); | ^~~~~~~~~~~ | bpf_map_put tools/lib/bpf/skel_internal.h:155:13: warning: assignment to 'struct bpf_map *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 155 | map = bpf_map_get(fd); | ^ kernel/kexec_pe_image.c: In function 'kexec_bpf_prog_run_init': >> kernel/kexec_pe_image.c:283:16: error: implicit declaration of function 'register_btf_fmodret_id_set'; did you mean 'register_btf_kfunc_id_set'? [-Werror=implicit-function-declaration] 283 | return register_btf_fmodret_id_set(&kexec_modify_return_set); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | register_btf_kfunc_id_set kernel/kexec_pe_image.c: In function 'pe_image_load': kernel/kexec_pe_image.c:325:44: warning: variable 'cmdline_sz' set but not used [-Wunused-but-set-variable] 325 | unsigned long linux_sz, initrd_sz, cmdline_sz, bpf_sz; | ^~~~~~~~~~ cc1: some warnings being treated as errors Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for KEXEC_PE_IMAGE Depends on [n]: KEXEC_FILE [=y] && DEBUG_INFO_BTF [=n] && BPF_SYSCALL [=n] Selected by [y]: - ARCH_SELECTS_KEXEC_FILE [=y] && KEXEC_FILE [=y] vim +283 kernel/kexec_pe_image.c 536de0ba3b982c Pingfan Liu 2025-05-29 280 536de0ba3b982c Pingfan Liu 2025-05-29 281 static int __init kexec_bpf_prog_run_init(void) 536de0ba3b982c Pingfan Liu 2025-05-29 282 { 536de0ba3b982c Pingfan Liu 2025-05-29 @283 return register_btf_fmodret_id_set(&kexec_modify_return_set); 536de0ba3b982c Pingfan Liu 2025-05-29 284 } 536de0ba3b982c Pingfan Liu 2025-05-29 285 late_initcall(kexec_bpf_prog_run_init); 536de0ba3b982c Pingfan Liu 2025-05-29 286 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki