From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79D732AF1E for ; Sun, 13 Oct 2024 12:43:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728823408; cv=none; b=nl29fkxuVdZ3RVnSPAcDo0O2A+hKN1QvZQvP4UVcCA/lLrm1jN+7QB0qYgofyOl6oTk0xxHlZZ8vkUfaEH905+yKPZ9gJYBK1GZUTw9rTS9zqBrrkiSHbQO926YxTsIllXbzysFj6XmAieZWW5IgNiabsT5JIdyk8AmJR9iEbZQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728823408; c=relaxed/simple; bh=dAioUaBGSTAm7LYT9Kp7KP4Nn6/FZmlo+oJUGVFmoGo=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=VWFDFIDYqMxgqZP3A7gBgmQuvei2RXqajVePzPNWnXNCXETG47IEJlXVBpNoaVmHFeV3hLmP7jM9ysSj2xQuSFudvnjr09Civ1JKRPIfKW4CWnP1Z+xG/0SUMYsGxudbRsNm1WXMvppB/Bv03QpNdbWx11S7+AhYU78YBvuw4rM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sPoVwVtT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sPoVwVtT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11A88C4CEC5; Sun, 13 Oct 2024 12:43:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728823408; bh=dAioUaBGSTAm7LYT9Kp7KP4Nn6/FZmlo+oJUGVFmoGo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sPoVwVtTZHF92JBV6iEQD0tRio7IvcCLJFDc9mjc3hfmnUBBUUIIbZ+H5YVMLw3CA hbuncvxf7rbtTR56PyyFHkas4jHFoLOR16dRcRz/+0M/JhGNCtORF6nmLhdz/4Ke3t NkfKNj4WdR6By07LDtk/Xp2IqhnZGgb8SYnX34qcMdzAePvZg8SPtYg0B2366YAj+t h/ZTQaKsNWJVQ8EDXB24zq8Aftd8EK5RVuT8FCFhO0dzTMRbrc9ja85w9eOSvgc6rb atyxF6bW0ssQsL9QPVH10WkMGyYY83FdzzcsrjatKX/+65zLH/UfxFwwuMfuRjZNLJ D0GXOxYzjcBpg== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1szxwT-0036yp-Th; Sun, 13 Oct 2024 13:43:26 +0100 Date: Sun, 13 Oct 2024 13:43:25 +0100 Message-ID: <86a5f85g2a.wl-maz@kernel.org> From: Marc Zyngier To: Oliver Upton Cc: kvmarm@lists.linux.dev, Joey Gouly , Suzuki K Poulose , Zenghui Yu , Anshuman Khandual Subject: Re: [PATCH v3 00/17] KVM: arm64: nv: Support for EL2 PMU controls In-Reply-To: <20241007174559.1830205-1-oliver.upton@linux.dev> References: <20241007174559.1830205-1-oliver.upton@linux.dev> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.4 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: oliver.upton@linux.dev, kvmarm@lists.linux.dev, joey.gouly@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, anshuman.khandual@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Mon, 07 Oct 2024 18:45:42 +0100, Oliver Upton wrote: > > Marc, I stole patch 1 from you for the sake of sending out a consistent > series. I can sort things out when I apply patches if that patch is a > common base for the both of us. np, this is common infrastructure that is sorely needed anyway. > > v2 -> v3: > - Use the sysreg sanitisation infrastructure to apply RES0/RES1 masks > to MDCR_EL2 > - Drop trap_config bit describing if a trap applies to Host EL0 > - Honor MDCR_EL2.{HPME,HLP} for the 'hypervisor range' of PMU counters > > v2: https://lore.kernel.org/kvmarm/20240827002235.1753237-1-oliver.upton@linux.dev/#r Other than the couple of small issues I mentioned, this looks solid to me, and I'd be happy to see this being merged. Can't test it, unfortunately, but I trust that it's seen HW more compliant than the one I'm using. Thanks, M. -- Without deviation from the norm, progress is not possible.