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 ECDFD31985C; Fri, 13 Feb 2026 08:11:04 +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=1770970265; cv=none; b=OF9FY//o9/KonTZND/D1drg9WqADM7l4dRl/Jw2mE0W6UV5cy28EdAVyb36T2X2CmTLnFOENuY5kqOJGUAyZevV3/OPobmhOxqEb8q8CrgYItQWOPoEQjgH0E5mRuBoXDaIKy/B3n2gPHGVXr1+YD7vh5y2tZQBrTt0PhuQ7jUU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770970265; c=relaxed/simple; bh=ordfYWUZ3NZZnUjwMBrx0IEFVahF4xoRepQLRc515+I=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=I9Z17Nfhdhwesao/k/IfWJHX4hHLcEmvFTdg+ptfOxap9WBJU2zOugjirElU+H25bXvAeF5ol+EGxAhj8JjpMIODNFmvDzzejUsCcydwvOIBEKVSa/IcFCetCTHNeLbJwO+JtRShFlRl1AeaPfdGj/nBm6X5Ow8bFisFfGkFJsE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mZxlezzd; 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="mZxlezzd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D42CC116C6; Fri, 13 Feb 2026 08:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770970264; bh=ordfYWUZ3NZZnUjwMBrx0IEFVahF4xoRepQLRc515+I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=mZxlezzdNvjH1qxidU7XggLUEDoM/yxCPjvXxNzaIOeH0KjIQE/5lW4YU3ROt4Iep coZp9FKOS18HwqhltmhVnR/I9UZGq1d1JCklRjWG06sINuOo78HbXvpKBTOmfQKaRj eIjDXQ2oJhyMZqdJptSC4Y4u9YyBca084S3ZSzWFrtTdMxfR2B/qDhC1uuA2dXVQ9n n9DLmrIZW7SATj6MK/Oj8VFIrKD22ri1SXZY/se7YJNxuLAxjEQQFX8PHB4uB4VLpy REMfeXCdKsJx3Sf/DIgeJpUqz7/QsoFghkMcT6hpqqo7Yo1Eo8LmCodQxNDlQGH+rq pTf2EpwxVJD6g== 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.98.2) (envelope-from ) id 1vqoGT-0000000Ap2s-3Twx; Fri, 13 Feb 2026 08:11:01 +0000 Date: Fri, 13 Feb 2026 08:11:01 +0000 Message-ID: <86h5rlawru.wl-maz@kernel.org> From: Marc Zyngier To: Colton Lewis Cc: kvm@vger.kernel.org, alexandru.elisei@arm.com, pbonzini@redhat.com, corbet@lwn.net, linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, oliver.upton@linux.dev, mizhang@google.com, joey.gouly@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, mark.rutland@arm.com, shuah@kernel.org, gankulkarni@os.amperecomputing.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-perf-users@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v6 00/19] ARM64 PMU Partitioning In-Reply-To: References: <86v7g5asp4.wl-maz@kernel.org> 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/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org 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: coltonlewis@google.com, kvm@vger.kernel.org, alexandru.elisei@arm.com, pbonzini@redhat.com, corbet@lwn.net, linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, oliver.upton@linux.dev, mizhang@google.com, joey.gouly@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, mark.rutland@arm.com, shuah@kernel.org, gankulkarni@os.amperecomputing.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-perf-users@vger.kernel.org, linux-kselftest@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Thu, 12 Feb 2026 21:08:36 +0000, Colton Lewis wrote: > > Hey Marc, thanks for the review. > > Marc Zyngier writes: > > > On Mon, 09 Feb 2026 22:13:55 +0000, > > Colton Lewis wrote: > > >> This series creates a new PMU scheme on ARM, a partitioned PMU that > >> allows reserving a subset of counters for more direct guest access, > >> significantly reducing overhead. More details, including performance > >> benchmarks, can be read in the v1 cover letter linked below. > > >> An overview of what this series accomplishes was presented at KVM > >> Forum 2025. Slides [1] and video [2] are linked below. > > >> IMPORTANT: This iteration does not yet implement the dynamic counter > >> reservation approach suggested by Will Deacon in January [3]. I am > >> working on it, but wanted to send this version first to keep momentum > >> going and ensure I've addressed all issues besides that. > > > [...] > > > As I have asked before, this is missing an example of how userspace is > > going to use this. Without it, it is impossible to correctly review > > this series. > > > Please consider this as a blocker. > > Understood. I remember you asking for a QEMU patch specifically. No. *any* VMM. QEMU, kvmtool, crosvm, firecrackpoter, whichever you want. > I had hoped that the use in the selftest was sufficient to show how to > use the uAPI. The selftests are absolutely pointless, like 99% of all selftests. They don't demonstrate how the userspace API works, now how configuring the PMU is ordered with the rest of the save/restore flow. > If not, I can send out an example QEMU patch to the QEMU ARM mailing > list. Please do. M. -- Without deviation from the norm, progress is not possible.