Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp287173rwd; Tue, 6 Jun 2023 23:15:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7hVEUTRNBbpptIXrzBNbrFjNodpwFBQXsmtJTS0Q0ETOQ3ToEXXqEydkcrnzOTrxRYzmbZ X-Received: by 2002:a05:6870:955c:b0:1a3:199a:ae4f with SMTP id v28-20020a056870955c00b001a3199aae4fmr3721066oal.47.1686118526304; Tue, 06 Jun 2023 23:15:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686118526; cv=none; d=google.com; s=arc-20160816; b=M0qXhAR7j4hPD/UqOyBUbvfwp5bz6tV/mXCwVi6kfuUsdu8/kw2qzuNgtnwFSr3Y4g MiUUQXrqa//K/yqUraSV3ZmW0PAtQw48guxe8kb1d9ETTSVufoJbQiLsISMn6I81Q0Xe 4CczkCv8dEzhW+NZgSNbcU87NYNc5yabKLnJm/mre1U1Q8vWhcemD5a1z/Md5FUESZM+ tDbM7D7Gots3xGiwZtBfwHy+gXY9DBeQyvEFqdnY7CXJBvsDeLnu8U8wM2bJEwxaAxFH x3VMyMSGQJgBi8JGVKr9P2SNV0lq85vrc4wmZ2TgEsoN4QQ3yqjInIlTI9/Tj1/4ozRt W8Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SoI4YHcnx1hGcSBnGQXZDsnScDQUmG+X4jGa2vbGilo=; b=h97Ihv4UHGz+wuG5B2/fs49AcyNsCemdYFT6MWhNJsveHsUyDr/wO/FFfhudTHuqaT P2fgoDqWcx7oOhgWcuccEJxaYDJZjYb4SWFgnrhvE7zUDSmpoK0vWKGo3wdKBR59991f P87OYOmVwgTgZURemBUeU2NGI2bDT4KpVqUwcyQ2EmztFvuhRsLMBA9ASTmy7pHTA+vo p+qzvu8sHp/1ZKKNnVKZJYmRZpWekML9vcsvE1fEJH44HkpiCzRmk3tlciEEkk4oEwvu t0LTVX3VMBLACL5LTdBurWffv7/AmQtni83aEeWLVGrjj0j6RFcOvKu1i18WIbOTqlJb JJEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=j9YVthnL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o10-20020a170902d4ca00b001a92a507187si8600542plg.80.2023.06.06.23.15.12; Tue, 06 Jun 2023 23:15:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=j9YVthnL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234728AbjFGGMP (ORCPT + 99 others); Wed, 7 Jun 2023 02:12:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234861AbjFGGLr (ORCPT ); Wed, 7 Jun 2023 02:11:47 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52B9419BF; Tue, 6 Jun 2023 23:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686118306; x=1717654306; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ToiD6lApZwUXrNQbqPwEcvsm0OD6OfqG72fOvkaWaf4=; b=j9YVthnLXNHcg1G821xlMvIUSePi1AWufzT7R3LUnbUkgyA+rvpGC8Y8 8KYJe15hAcR6OBt2U/FgjoYtS+O0YqVKNi3Pur9cLisXatmXuHUcAUu+1 iQ0RGNWwvqaKmLi49wnYHfBGBCetcL5CEzkgnumdfSRoE2Qtu7xYKetOV fUNLQBxxprKO2YRwaRbAPapqBVjs4norzP56VFSFfJRAIbV/Sd2xqchZO UvFHwyQ03rGSiE0Wdg5gAw3ts0JsvZlhypLW9ch88Xn5qRnjbwsHZZS0g giJm12mbwJqfduyWkJRQ0eW09qdEwPgaxKp7N0j24qJsdINZQUCq7EiqM A==; X-IronPort-AV: E=McAfee;i="6600,9927,10733"; a="356907020" X-IronPort-AV: E=Sophos;i="6.00,223,1681196400"; d="scan'208";a="356907020" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2023 23:11:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10733"; a="659811894" X-IronPort-AV: E=Sophos;i="6.00,223,1681196400"; d="scan'208";a="659811894" Received: from lkp-server01.sh.intel.com (HELO 15ab08e44a81) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 06 Jun 2023 23:11:42 -0700 Received: from kbuild by 15ab08e44a81 with local (Exim 4.96) (envelope-from ) id 1q6mOT-0006E3-1l; Wed, 07 Jun 2023 06:11:41 +0000 Date: Wed, 7 Jun 2023 14:11:18 +0800 From: kernel test robot To: Alexandre Ghiti , Paul Walmsley , Palmer Dabbelt , Albert Ou , Ard Biesheuvel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Alexandre Ghiti Subject: Re: [PATCH v3 3/5] arm64: libstub: Move KASLR handling functions to efi-stub-helper.c Message-ID: <202306071357.IBYToqAc-lkp@intel.com> References: <20230606123242.20804-4-alexghiti@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230606123242.20804-4-alexghiti@rivosinc.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alexandre, kernel test robot noticed the following build warnings: [auto build test WARNING on efi/next] [also build test WARNING on linus/master v6.4-rc5 next-20230606] [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/Alexandre-Ghiti/riscv-Introduce-virtual-kernel-mapping-KASLR/20230606-203849 base: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next patch link: https://lore.kernel.org/r/20230606123242.20804-4-alexghiti%40rivosinc.com patch subject: [PATCH v3 3/5] arm64: libstub: Move KASLR handling functions to efi-stub-helper.c config: i386-randconfig-i063-20230607 (https://download.01.org/0day-ci/archive/20230607/202306071357.IBYToqAc-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git remote add efi https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git git fetch efi next git checkout efi/next b4 shazam https://lore.kernel.org/r/20230606123242.20804-4-alexghiti@rivosinc.com # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=i386 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/firmware/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306071357.IBYToqAc-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/firmware/efi/libstub/x86-stub.c:19: >> drivers/firmware/efi/libstub/efistub.h:1145:59: warning: non-void function does not return a value [-Wreturn-type] static inline unsigned long efi_get_kimg_min_align(void) {} ^ 1 warning generated. -- In file included from drivers/firmware/efi/libstub/efi-stub-helper.c:17: >> drivers/firmware/efi/libstub/efistub.h:1145:59: warning: non-void function does not return a value [-Wreturn-type] static inline unsigned long efi_get_kimg_min_align(void) {} ^ drivers/firmware/efi/libstub/efi-stub-helper.c:867:2: warning: call to undeclared function 'caches_clean_inval_pou'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] caches_clean_inval_pou(*image_addr, *image_addr + kernel_codesize); ^ 2 warnings generated. vim +1145 drivers/firmware/efi/libstub/efistub.h 1143 1144 #ifndef efi_get_kimg_min_align > 1145 static inline unsigned long efi_get_kimg_min_align(void) {} 1146 #define efi_get_kimg_min_align efi_get_kimg_min_align 1147 #endif 1148 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki