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 01E56C4167B for ; Tue, 7 Nov 2023 10: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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KrDQ1M41WQG5BzHkni0oDMvFPrXLRL3nRstIVD0SFWM=; b=OhnukmNGHIkdOi VMX0uJL/Cyw5dlZJW+DlLia7+pjuvj079s7HRF1opYe0kduV2kzmBBwBKP0Zboz4E3nFByLembrRi 4XvX307whMNwGVGi5wjh0nIr2DyWzmq/yJmzFXHuCpI9culULw+Ad6QkFfk65uPqEAaR4adQut+aR p8gyFs2rjjLi+atn+atkT6bzC1kkbnp7Mxw1xB2qfJYrLvZdTfN3C1Ku/vRF/+GUSWH3HfzlJgFlc kfZcCK2br7h08bHX8FCyh4h4koPKI+QwVA5zpZQN/jS7MW0Orps88TjNdv3f+joi0kvkIEJQE6Aew g1yaiP8hxw8Tjl6SRiVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r0JkZ-001964-0S; Tue, 07 Nov 2023 10:56:03 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r0JkW-00194Z-04 for linux-arm-kernel@lists.infradead.org; Tue, 07 Nov 2023 10:56:01 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 701FAB8168D; Tue, 7 Nov 2023 10:55:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E054BC433C8; Tue, 7 Nov 2023 10:55:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699354557; bh=mfBp2TCGrhfD2b1dIjeSC/i76vwZNpisdtEQ4annegg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LY/a6Bf6398FibBNUTQpWp8yXcBjZBo7qj3nFkcZXvo2EBCuXiUs1EkRCKQrY2HuS GQAVVRhBqu4a5cFcved2FAzSLIjzv0LWQZ2uhOTwC13vhJ0CYi3kvYHct1nWWsA/Om 4PTExfaSCdzSJ+4qI6OOw4HVlPQK9EdX0wLLrIkObeNHyAmsvXv3T8VXutlY0MEVYS Z/fDpSWx6E1EOxUe99ArW8ltwPNTJZWplrodXr6tKwf3y3ay/dexy1E4+o23k5Ffa7 GBNr9we7MMmK/hOHI0EbO/eEMqZEd9iWws2Uo9OVk8EkP2DXYOe3WRTJZtf5wXfARj sCR1iA88RR93Q== Date: Tue, 7 Nov 2023 10:55:52 +0000 From: Will Deacon To: Ilkka Koskinen , Catalin Marinas Cc: Marc Zyngier , Mark Rutland , Zaid Al-Bassam , Reiji Watanabe , Geert Uytterhoeven , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] arm64/arm: arm_pmuv3: perf: Don't truncate 64-bit registers Message-ID: <20231107105552.GC19133@willie-the-truck> References: <20231102183012.1251410-1-ilkka@os.amperecomputing.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231102183012.1251410-1-ilkka@os.amperecomputing.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231107_025600_223186_F220BBBE X-CRM114-Status: GOOD ( 12.25 ) 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 On Thu, Nov 02, 2023 at 11:30:12AM -0700, Ilkka Koskinen wrote: > The driver used to truncate several 64-bit registers such as PMCEID[n] > registers used to describe whether architectural and microarchitectural > events in range 0x4000-0x401f exist. Due to discarding the bits, the > driver made the events invisible, even if they existed. > > Moreover, PMCCFILTR and PMCR registers have additional bits in the upper > 32 bits. This patch makes them available although they aren't currently > used. Finally, functions handling PMXEVCNTR and PMXEVTYPER registers are > removed as they not being used at all. > > Fixes: df29ddf4f04b ("arm64: perf: Abstract system register accesses away") > Reported-by: Carl Worth > Signed-off-by: Ilkka Koskinen Acked-by: Will Deacon Catalin -- another perf fix for you, thanks! Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel