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 B45D4CD98E6 for ; Tue, 16 Jun 2026 20:37:01 +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:Message-ID:Subject:Cc:To: From:Date:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=CrLoF9O2gK56aSgF362GMcTl76FqQNxQ8LR8P9Q5yns=; b=DdQ13HUQ/6hDHEncc8zXciEMEL bh0zSeSdqOFEtkMnPTq52xt0jlKwNAg/4kENQ+ppnXLdgdGlVWhSGNd80UPuADMxab5uTj521gmp5 elBUdQqopUMWRrQO87Dy2jzzkOZfbBbDMU6e3QYOru06tzSDj+lf0uxggLHWgXfeTOtOGWuwUsocN VeroOWVYlpp7J0KYJywY3Ul7YftaJAU3LyVVNLKhcD2UAsa4YsSW/zXK6/4qGevhuyX1G0b0n2pjQ nePsilXk0BYutuVbri/A2L0dsbJF1Nzdx+0qE7S8S96YUAzqwda3E6WMwiVclaVrQwB5TO44G2iF8 dpdtRKHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wZaWk-0000000GJIa-0Yl3; Tue, 16 Jun 2026 20:36:54 +0000 Received: from mgamail.intel.com ([198.175.65.12]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wZaWh-0000000GJIE-0o91 for linux-arm-kernel@lists.infradead.org; Tue, 16 Jun 2026 20:36:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1781642211; x=1813178211; h=date:from:to:cc:subject:message-id; bh=0K3eP+no2cHAAZUakn0krxZkUzTuH1y6/TQVmezBnWg=; b=T91pDKE5U08WkvCC+wGdk2zkAvm/FfHmmO8qWXC93CdvfTqt9H0tOCqp rqlN6flA7veJm8jfrYn+9Z5M25DI/PSKiv7RjskTULw17xt/c5uqyDEA6 eRJwFGTbHXuqrOfLqG+tbYfMABTqEdcc5c5UN7NHuU/TWsWVKwSwGZIQe E0u1pL/rWqGGJ7X6xQdW0bwQfKC11ddx0PZzSO0kIR5YuENW4BHwbHNpa TcPgJrxgFckgbKgpAVIPHFMjcelPbUtAAdSVLX3QXqQw5IVw9SP+Zeuhj 5hVZpGGSS1JMufbu0Sdcj/Fu78cFHOdQcHCYf0bp5KzNBk8Jdc4rzeQyi A==; X-CSE-ConnectionGUID: kvw2guKgQ0KWyQ+Gvsou2g== X-CSE-MsgGUID: ZY552OZ3TR2GQHdZGZyLdA== X-IronPort-AV: E=McAfee;i="6800,10657,11819"; a="93915933" X-IronPort-AV: E=Sophos;i="6.24,208,1774335600"; d="scan'208";a="93915933" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2026 13:36:50 -0700 X-CSE-ConnectionGUID: C1u20FZWQMmnBd7YaoDUCg== X-CSE-MsgGUID: wlLTFH1jQhmCZg2i1o90lg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,208,1774335600"; d="scan'208";a="244982215" Received: from lkp-server01.sh.intel.com (HELO f0d55cb201f0) ([10.239.97.150]) by fmviesa007.fm.intel.com with ESMTP; 16 Jun 2026 13:36:48 -0700 Received: from kbuild by f0d55cb201f0 with local (Exim 4.98.2) (envelope-from ) id 1wZaWc-00000000TiU-0acd; Tue, 16 Jun 2026 20:36:46 +0000 Date: Wed, 17 Jun 2026 04:36:44 +0800 From: kernel test robot To: Marc Zyngier Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [arm-platforms:kvm-arm64/nv3 37/37] arch/arm64/kvm/sys_regs.c:222:30: error: expected ';' after expression Message-ID: <202606170443.zZpDusGs-lkp@intel.com> User-Agent: s-nail v14.9.25 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260616_133651_303657_7953DED4 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. 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 tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/nv3 head: aa9a6e84f564417704258a20210b95d18ebf5601 commit: aa9a6e84f564417704258a20210b95d18ebf5601 [37/37] WIP config: arm64-randconfig-003 (https://download.01.org/0day-ci/archive/20260617/202606170443.zZpDusGs-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/20260617/202606170443.zZpDusGs-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/202606170443.zZpDusGs-lkp@intel.com/ All errors (new ones prefixed by >>): >> arch/arm64/kvm/sys_regs.c:222:30: error: expected ';' after expression 222 | loc->loc = SR_LOC_SPECIAL : SR_LOC_MEMORY; | ^ | ; arch/arm64/kvm/sys_regs.c:222:32: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 222 | loc->loc = SR_LOC_SPECIAL : SR_LOC_MEMORY; | ^ arch/arm64/kvm/sys_regs.c:221:3: note: previous statement is here 221 | if (is_hyp_ctxt(vcpu)) | ^ arch/arm64/kvm/sys_regs.c:222:32: warning: expression result unused [-Wunused-value] 222 | loc->loc = SR_LOC_SPECIAL : SR_LOC_MEMORY; | ^~~~~~~~~~~~~ 2 warnings and 1 error generated. vim +222 arch/arm64/kvm/sys_regs.c 168 169 #define MAPPED_EL2_SYSREG(r, m, t) \ 170 case r: { \ 171 locate_mapped_el2_register(vcpu, r, m, t, loc); \ 172 break; \ 173 } 174 175 static void locate_register(const struct kvm_vcpu *vcpu, enum vcpu_sysreg reg, 176 struct sr_loc *loc) 177 { 178 if (!vcpu_get_flag(vcpu, SYSREGS_ON_CPU)) { 179 loc->loc = SR_LOC_MEMORY; 180 return; 181 } 182 183 switch (reg) { 184 MAPPED_EL2_SYSREG(SCTLR_EL2, SCTLR_EL1, 185 translate_sctlr_el2_to_sctlr_el1 ); 186 MAPPED_EL2_SYSREG(TTBR0_EL2, TTBR0_EL1, 187 translate_ttbr0_el2_to_ttbr0_el1 ); 188 MAPPED_EL2_SYSREG(TTBR1_EL2, TTBR1_EL1, NULL ); 189 MAPPED_EL2_SYSREG(TCR_EL2, TCR_EL1, 190 translate_tcr_el2_to_tcr_el1 ); 191 MAPPED_EL2_SYSREG(VBAR_EL2, VBAR_EL1, NULL ); 192 MAPPED_EL2_SYSREG(AFSR0_EL2, AFSR0_EL1, NULL ); 193 MAPPED_EL2_SYSREG(AFSR1_EL2, AFSR1_EL1, NULL ); 194 MAPPED_EL2_SYSREG(ESR_EL2, ESR_EL1, NULL ); 195 MAPPED_EL2_SYSREG(FAR_EL2, FAR_EL1, NULL ); 196 MAPPED_EL2_SYSREG(MAIR_EL2, MAIR_EL1, NULL ); 197 MAPPED_EL2_SYSREG(TCR2_EL2, TCR2_EL1, NULL ); 198 MAPPED_EL2_SYSREG(PIR_EL2, PIR_EL1, NULL ); 199 MAPPED_EL2_SYSREG(PIRE0_EL2, PIRE0_EL1, NULL ); 200 MAPPED_EL2_SYSREG(POR_EL2, POR_EL1, NULL ); 201 MAPPED_EL2_SYSREG(AMAIR_EL2, AMAIR_EL1, NULL ); 202 MAPPED_EL2_SYSREG(ELR_EL2, ELR_EL1, NULL ); 203 MAPPED_EL2_SYSREG(SPSR_EL2, SPSR_EL1, NULL ); 204 MAPPED_EL2_SYSREG(CONTEXTIDR_EL2, CONTEXTIDR_EL1, NULL ); 205 MAPPED_EL2_SYSREG(SCTLR2_EL2, SCTLR2_EL1, NULL ); 206 case CNTHCTL_EL2: 207 /* CNTHCTL_EL2 is super special, unless we support NV2p1 */ 208 loc->loc = (is_hyp_ctxt(vcpu) && vcpu_el2_e2h_is_set(vcpu) ? 209 SR_LOC_SPECIAL : SR_LOC_MEMORY); 210 break; 211 case CPTR_EL2: 212 /* 213 * CPTR_EL2 is just as special, and needs a certain amount 214 * of handholding. It always lives in memory, due to being 215 * heavily trapped thanks to CPACR_EL1.TCPAC being RES0. 216 * FEAT_NV2p1 fixes this. 217 */ 218 locate_mapped_el2_register(vcpu, CPTR_EL2, CPACR_EL1, 219 translate_cptr_el2_to_cpacr_el1, 220 loc); 221 if (is_hyp_ctxt(vcpu)) > 222 loc->loc = SR_LOC_SPECIAL : SR_LOC_MEMORY; 223 break; 224 default: 225 loc->loc = locate_direct_register(vcpu, reg); 226 } 227 } 228 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki