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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08108C433EF for ; Tue, 15 Mar 2022 13:03:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347466AbiCONFI (ORCPT ); Tue, 15 Mar 2022 09:05:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235818AbiCONFG (ORCPT ); Tue, 15 Mar 2022 09:05:06 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1681B35DE7 for ; Tue, 15 Mar 2022 06:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647349435; x=1678885435; h=date:from:to:cc:subject:message-id:mime-version; bh=TLuMMTq0sUdNwef+Nnbwvmj/T0DiIxsBff3Z7QdDsdY=; b=JzLmcG2cspPMqRg/VZlkAkQps4B7S7kzo5G1MdLLA9CN660uSlRBo+r3 AWm3APxYTYFjKKh1J1bnZ0AtASw+9H7Eok8JHosGwAaHhjRdwVPjVY3Bt Kkg2CbLE0BgrZymjR7n+bLsKm5iD6aE1ocPmDLYb8RwakR3kyOIbk+tFw 4UELmd2mx6JOCpB/dmgZA+s1JO5nFDFxuTRBdmHibb+vw3dnXAARJ6sD8 E2qsXcRBuibzyduR1cI3/uAajFwNHx3kFAobUlge6quAXFr2EChAprc2k 7zrhK6ajZBoIHBWqwOrtHIhk4kKN5Wz/Jrk5QPya3w/gad5fTd2wPaXrI w==; X-IronPort-AV: E=McAfee;i="6200,9189,10286"; a="256482087" X-IronPort-AV: E=Sophos;i="5.90,183,1643702400"; d="scan'208";a="256482087" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2022 06:03:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,183,1643702400"; d="scan'208";a="580503163" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga001.jf.intel.com with ESMTP; 15 Mar 2022 06:03:52 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nU6q8-000Azg-01; Tue, 15 Mar 2022 13:03:52 +0000 Date: Tue, 15 Mar 2022 21:03:13 +0800 From: kernel test robot To: Marc Zyngier Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org, Quentin Perret , Will Deacon Subject: [ammarfaizi2-block:google/android/kernel/common/android12-5.10-2022-02 965/9999] arch/arm64/kvm/fpsimd.c:129:33: error: implicit declaration of function 'sve_cond_update_zcr_vq' Message-ID: <202203152036.TVkICWXr-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marc, FYI, the error/warning still remains. tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-5.10-2022-02 head: 138191a069ba3cc62c9b3a287d76cbc0c6202f0f commit: b0e15c8c44275afef4aacfb1560e38b974b02ac8 [965/9999] FROMGIT: KVM: arm64: Save/restore SVE state for nVHE config: arm64-randconfig-r036-20220314 (https://download.01.org/0day-ci/archive/20220315/202203152036.TVkICWXr-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/ammarfaizi2/linux-block/commit/b0e15c8c44275afef4aacfb1560e38b974b02ac8 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-5.10-2022-02 git checkout b0e15c8c44275afef4aacfb1560e38b974b02ac8 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/arm64/kvm/fpsimd.c: In function 'kvm_arch_vcpu_put_fp': >> arch/arm64/kvm/fpsimd.c:129:33: error: implicit declaration of function 'sve_cond_update_zcr_vq' [-Werror=implicit-function-declaration] 129 | sve_cond_update_zcr_vq(vcpu_sve_max_vq(vcpu) - 1, | ^~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/sve_cond_update_zcr_vq +129 arch/arm64/kvm/fpsimd.c 108 109 /* 110 * Write back the vcpu FPSIMD regs if they are dirty, and invalidate the 111 * cpu FPSIMD regs so that they can't be spuriously reused if this vcpu 112 * disappears and another task or vcpu appears that recycles the same 113 * struct fpsimd_state. 114 */ 115 void kvm_arch_vcpu_put_fp(struct kvm_vcpu *vcpu) 116 { 117 unsigned long flags; 118 bool host_has_sve = system_supports_sve(); 119 bool guest_has_sve = vcpu_has_sve(vcpu); 120 121 local_irq_save(flags); 122 123 if (vcpu->arch.flags & KVM_ARM64_FP_ENABLED) { 124 if (guest_has_sve) { 125 __vcpu_sys_reg(vcpu, ZCR_EL1) = read_sysreg_el1(SYS_ZCR); 126 127 /* Restore the VL that was saved when bound to the CPU */ 128 if (!has_vhe()) > 129 sve_cond_update_zcr_vq(vcpu_sve_max_vq(vcpu) - 1, --- 0-DAY CI Kernel Test Service https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org