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 D242DC4332F for ; Mon, 7 Nov 2022 08:56:30 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ydSCe6Q+/mN56/UyG+LjPRx2d3TI4Pl9bIK7aLls+Yc=; b=paOj5TSr+ck7EC UQvq45Q/AICSrZHkn1VkNf+fuaJCahApqIX1qljtypf3fhRJv0f6wokry41YjFgiU9pPKlRxlIy1x dQK+NKkxCdBcWocpM6jDAxUmvCIB9s78uJUwUhYwq2IZi+Rl1apDWMFcB/ou8pERV28xr8pAIalWl 44lrHVGbWQGWzlCibtFgBdWwjGmvxDE1vPdie2G1Kj4CeJM8dEeBvMpDH3twaq6AyvZpCsXGalS64 G5QRJQpwgeSPLKmtJ+Yk72T6TFECV1v2d+e4REZ+WWmfQG80Fi7Ouf5arbhdQtsrom3R/uSylp4sV QXLJIcFryzYTfZckXdqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1orxum-00CyGn-KY; Mon, 07 Nov 2022 08:55:32 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1orxuG-00CxtI-4y for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2022 08:55:01 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D3D87B80E6A; Mon, 7 Nov 2022 08:54:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B49CC433C1; Mon, 7 Nov 2022 08:54:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667811297; bh=Y6xxfM4ND10MuEIQCLvziXMSdXkZfkvKinsYllpKaj8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u5ASzgfNLAduhtODIQEPaUOcvUX4YnmwCPsrH+yAayzfTaVeKKsTQSVnUG7EwznZg /v26etvjxOzYle4fisZrq9knNl4SrozJIu/i21f33sVxbCx+lcrQ4PD7RYHlIDK5OT QlwCrv3iXagWXuWJqMRD1ymXxmbeR8vErXNWxn09RnJQ+hvpINEfadJLglNlVNhVb5 BJP43HTb+VP3al2IZfKzSjGxjQnuZnrgeThQeA93XaL8GnTW0zt4xwnwSBq4dmj5lp 1Irkt8SstcaAvfAfwua0HKWGmOkESGYQ5XYYRKGYrMuxdKnrpGWsi4D6f8/1le6518 SjM3r56tWvQsg== Received: from sofa.misterjones.org ([185.219.108.64] helo=valley-girl.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1orxuB-004KxX-Gc; Mon, 07 Nov 2022 08:54:55 +0000 From: Marc Zyngier To: linux-arm-kernel@lists.infradead.org, , , kvm@vger.kernel.org Cc: James Morse , Suzuki K Poulose , Alexandru Elisei , Oliver Upton , Ricardo Koller , Reiji Watanabe Subject: [PATCH v3 01/14] arm64: Add ID_DFR0_EL1.PerfMon values for PMUv3p7 and IMP_DEF Date: Mon, 7 Nov 2022 08:54:22 +0000 Message-Id: <20221107085435.2581641-2-maz@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221107085435.2581641-1-maz@kernel.org> References: <20221107085435.2581641-1-maz@kernel.org> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvmarm@lists.linux.dev, kvm@vger.kernel.org, james.morse@arm.com, suzuki.poulose@arm.com, alexandru.elisei@arm.com, oliver.upton@linux.dev, ricarkol@google.com, reijiw@google.com 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-20221107_005500_369198_41B17D68 X-CRM114-Status: GOOD ( 11.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: , 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 Align the ID_DFR0_EL1.PerfMon values with ID_AA64DFR0_EL1.PMUver. Reviewed-by: Oliver Upton Signed-off-by: Marc Zyngier --- arch/arm64/include/asm/sysreg.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index 7d301700d1a9..84f59ce1dc6d 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -698,6 +698,8 @@ #define ID_DFR0_PERFMON_8_1 0x4 #define ID_DFR0_PERFMON_8_4 0x5 #define ID_DFR0_PERFMON_8_5 0x6 +#define ID_DFR0_PERFMON_8_7 0x7 +#define ID_DFR0_PERFMON_IMP_DEF 0xf #define ID_ISAR4_SWP_FRAC_SHIFT 28 #define ID_ISAR4_PSR_M_SHIFT 24 -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel