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 89B7AC30653 for ; Thu, 27 Jun 2024 12:02:15 +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:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=aFx0zktLV3/gzm5Z/plXDz5b8aO+dnNcvSht6AUwo1E=; b=P2/zHL34FRN3hK1MAMajLl52ul q7cvH/ZlD4tGZifU4sywtuoLUwKs10sFfFFoTdS8Nxv7Wk1fkeRw0xDrjGSm9EyNXAfQxPXZcj87S tIZXXkLFTm/av5uouFiJHyl24mHCJaIDY0ej3o+AkZf/r0MC/Coa6HmI/z0B3DBbuXyCfQaT9szN2 vY3gl7m9UeZhy4UfuO3wMdxOfWuuL8YADnvblEjiXtPAeX35wW0OCytTx1K13ust0eRIuXlyzkrDN J+9qLEn7WJndcr6XgbH+cQuDq2HuBUlb+Ik7F2e9LvpnbQjhvcP17Odu0sy8R0Jwb1k/iNGGmDKCP BCya2yEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMnou-0000000AGKv-2wVm; Thu, 27 Jun 2024 12:01:45 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmgW-0000000A2Kt-2uxC for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 10:49:02 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id E6FBB61E17; Thu, 27 Jun 2024 10:48:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AB91C2BBFC; Thu, 27 Jun 2024 10:48:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719485339; bh=Xfsaq40K4Qm0ljsSuW3funrZbBL/rKVegLPUHgltXNw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BMuNnQ/Ka2s3kAuh/4rwdN19j0gtikF+LjMwDlQNnzHpAkty2VQgd5X7ReW7BqTQ5 1+cAgyO+jaLvvtEfvY/vjRqOA6XRQh5qoyf7zQUrReBa/mIAiEhnvRhS6U7ixkOwwM VSDOFX9AOpa8x16cOWbs43JaC2w9VF2wdTPnj9tVN2b/aR5yUrn6KRuXSuTodG9tFt P02KBrH/+kjzFEqixZE/cukh0CM8YxZNFTZPP2O+lm7fmYQ5A87Y5M2F+85dS7xOwV M2oJq18M8ntIhXbTttk7zRRdLk5AqkUNUC04RV48qo729pIpsrohhplQ5eZRJOSQE9 RAkMiDSlY+xHQ== 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 1sMmgT-007lsq-5w; Thu, 27 Jun 2024 11:48:57 +0100 Date: Thu, 27 Jun 2024 11:48:56 +0100 Message-ID: <86le2qirtz.wl-maz@kernel.org> From: Marc Zyngier To: "Rob Herring (Arm)" Cc: Russell King , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Will Deacon , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , James Clark , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, kvmarm@lists.linux.dev Subject: Re: [PATCH v2 10/12] arm64: perf/kvm: Use a common PMU cycle counter define In-Reply-To: <20240626-arm-pmu-3-9-icntr-v2-10-c9784b4f4065@kernel.org> References: <20240626-arm-pmu-3-9-icntr-v2-0-c9784b4f4065@kernel.org> <20240626-arm-pmu-3-9-icntr-v2-10-c9784b4f4065@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/29.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) 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: robh@kernel.org, linux@armlinux.org.uk, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, namhyung@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, irogers@google.com, adrian.hunter@intel.com, will@kernel.org, oliver.upton@linux.dev, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, catalin.marinas@arm.com, james.clark@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, kvmarm@lists.linux.dev X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240627_034900_878601_9F1E57FA X-CRM114-Status: GOOD ( 14.04 ) 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 On Wed, 26 Jun 2024 23:32:34 +0100, "Rob Herring (Arm)" wrote: > > The PMUv3 and KVM code each have a define for the PMU cycle counter > index. Move KVM's define to a shared location and use it for PMUv3 > driver. > > Signed-off-by: Rob Herring (Arm) Reviewed-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.