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 54D11C77B61 for ; Tue, 25 Apr 2023 07:24:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JZIbiOzg+Ilm7ksTLVD9m3k2V36rxQdFH//HgBUVXgk=; b=vIkPGQaOmhif16 CSH+jTzs/AAlPnY9IIoizE3041apWcHnigx7tPajHXMIym0e5TZbnAlUMvtcSMjm8bYHqDaIjQW7X AWiX2RIfK9hlLhxKVYtlPgqrGDcWZmtURQbO+IA/Woi+fq69Lo1E6yN3HxYts+zXh6P/AZe0j9eW5 eTfk1vIglO+/oQ+ZVrOmtHSwzsm079Z/ApvKhJb/YLIrp901J8VcGPpMSbC4IVBq91foJLo6clQjE QVE3sbkfsp2DNsy9F8/mown4rm0/xbkbUXiIxRx7aZ1ZQQuIGbiiLQTolVfVUBxkwhi2JUFy0AKHu 2GeAAE+m98A4vEaW9c9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1prD1T-000NNs-2Z; Tue, 25 Apr 2023 07:23:35 +0000 Received: from mga11.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1prD1M-000NM2-2t for linux-arm-kernel@lists.infradead.org; Tue, 25 Apr 2023 07:23:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682407408; x=1713943408; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Gh+Dq+qpRluNFvtttvSFPUtMvQQemZXLhC07eDECZEQ=; b=Tmkg9MEFSsl5Non8mOSgZ5GRBdA2D2kFDegsiqz8PvqBQY84Zh5JclpZ WmchGo5s3Rrhho7zHUQtFVyuQPf1tF+MWaH7Z8r8752MrQb6AO3wdJ7RK ryw1k2dAnrXKTRCOWuoVjxJ52nW+1xLxpjtvnQIn0YGMPoqWGs8sGGdtl heQZui/p/41/8IrTeW55f3fry8k/iEFdoYYHCNdfRSeYeKjwF/QFVgH9z YBvXCfJmSlLrGF9o6BiZN8KmXk8S+VUVCitB8ZGweP1wNjW3sUoZlUlpN 3DEXgYNShS/3eHl0BpLvqAuD4CHwXUG6OeThUW+345e7mn5tyf8fQkasN Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10690"; a="344162715" X-IronPort-AV: E=Sophos;i="5.99,224,1677571200"; d="scan'208";a="344162715" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2023 00:23:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10690"; a="837326036" X-IronPort-AV: E=Sophos;i="5.99,224,1677571200"; d="scan'208";a="837326036" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 25 Apr 2023 00:23:23 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1prD1H-000j9L-0I; Tue, 25 Apr 2023 07:23:23 +0000 Date: Tue, 25 Apr 2023 15:22:47 +0800 From: kernel test robot To: Jing Zhang , KVM , KVMARM , ARMLinux , Marc Zyngier , Oliver Upton Cc: oe-kbuild-all@lists.linux.dev, Will Deacon , Paolo Bonzini , James Morse , Alexandru Elisei , Suzuki K Poulose , Fuad Tabba , Reiji Watanabe , Raghavendra Rao Ananta , Jing Zhang Subject: Re: [PATCH v7 2/6] KVM: arm64: Save ID registers' sanitized value per guest Message-ID: <202304251520.GoTtrhba-lkp@intel.com> References: <20230424234704.2571444-3-jingzhangos@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230424234704.2571444-3-jingzhangos@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230425_002328_955288_59310232 X-CRM114-Status: GOOD ( 12.90 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Jing, kernel test robot noticed the following build errors: [auto build test ERROR on 6a8f57ae2eb07ab39a6f0ccad60c760743051026] url: https://github.com/intel-lab-lkp/linux/commits/Jing-Zhang/KVM-arm64-Move-CPU-ID-feature-registers-emulation-into-a-separate-file/20230425-074908 base: 6a8f57ae2eb07ab39a6f0ccad60c760743051026 patch link: https://lore.kernel.org/r/20230424234704.2571444-3-jingzhangos%40google.com patch subject: [PATCH v7 2/6] KVM: arm64: Save ID registers' sanitized value per guest config: arm64-randconfig-r034-20230425 (https://download.01.org/0day-ci/archive/20230425/202304251520.GoTtrhba-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/cca571c516149d39bbaf1b5e916df617940458a6 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jing-Zhang/KVM-arm64-Move-CPU-ID-feature-registers-emulation-into-a-separate-file/20230425-074908 git checkout cca571c516149d39bbaf1b5e916df617940458a6 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 prepare If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304251520.GoTtrhba-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/kvm_host.h:45, from arch/arm64/kernel/asm-offsets.c:16: arch/arm64/include/asm/kvm_host.h: In function 'idreg_read': >> arch/arm64/include/asm/kvm_host.h:1109:25: error: 'struct kvm_arch' has no member named 'config_lock' 1109 | mutex_lock(&arch->config_lock); | ^~ arch/arm64/include/asm/kvm_host.h:1111:27: error: 'struct kvm_arch' has no member named 'config_lock' 1111 | mutex_unlock(&arch->config_lock); | ^~ arch/arm64/include/asm/kvm_host.h: In function 'idreg_write': arch/arm64/include/asm/kvm_host.h:1118:25: error: 'struct kvm_arch' has no member named 'config_lock' 1118 | mutex_lock(&arch->config_lock); | ^~ arch/arm64/include/asm/kvm_host.h:1120:27: error: 'struct kvm_arch' has no member named 'config_lock' 1120 | mutex_unlock(&arch->config_lock); | ^~ make[2]: *** [scripts/Makefile.build:114: arch/arm64/kernel/asm-offsets.s] Error 1 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:1286: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +1109 arch/arm64/include/asm/kvm_host.h 1104 1105 static inline u64 idreg_read(struct kvm_arch *arch, u32 id) 1106 { 1107 u64 val; 1108 > 1109 mutex_lock(&arch->config_lock); 1110 val = _idreg_read(arch, id); 1111 mutex_unlock(&arch->config_lock); 1112 1113 return val; 1114 } 1115 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel