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 X-Spam-Level: X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D4AAC4708F for ; Tue, 1 Jun 2021 18:24:44 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 04467613B4 for ; Tue, 1 Jun 2021 18:24:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 04467613B4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=bQKDDMBO6n6QvPfnZqL+cHhPzREhnS3S3d2zjhgkwfw=; b=Z8PqjWFQwmYiWH vK6HfUrqcEjyYuzffqZobLcKtaSTNmGsWr2cB54xZ2LIB6nDRlBv2olGQwz7U9KMExakPWDnWJ1zq TcdyYDDGE12yYaJRkUT15rTrFNXS+JvsNjMqEAAu+IctlSaLmKgcs1uNia7vNfh2C1MbuQGXx8NUW s60fpqTWstPDnAIQrMm6Rkl9QyjZbQNtpEitqgQC5luqgUBM0MCiSD5Fk74fCRYR3NbldO0V6n4F5 4cut+zZraoPZ3NVgNBqTUTrgB14DMcY/Ty+y8wlFOhR3FTiXOSGN8Zncqp5L2cE/cuPD5T1c75cok 5yJxm+we6adj9Wzcs08w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo92p-000Kjo-EC; Tue, 01 Jun 2021 18:23:15 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lo917-000JoA-2O for linux-arm-kernel@lists.infradead.org; Tue, 01 Jun 2021 18:21:30 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 334EC613D5; Tue, 1 Jun 2021 18:21:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622571688; bh=2LkiZTd7WmnTPbe1jx3qQ01dv/8NESevXvihBHnGz2U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aQ4hUhTV9yk7DpHXZZxe22oEyovRk43hL5EoCX/gf1kObhlDNTgJXPuCet0n+WpV3 i9Jk15r+opGUH/cD/5eYb6GqGljQz3PEk950ZDKoljiBThLMqBJwNWjZvfhF6j3K54 QhR9h4Y/XrhzD6X2hS4QWU4djF0u1P6NzTAF1klZ8u82+lnXP3KdFNDKssahHqQ+yQ 5Vnlm+WtG7KIl9mWq6N3Ag+VdsjqH3jNiI/F1P1MUtFi+i0g/2PoqAI8o08SVJMOjC DFqX3xasRXO5ygZhsW3MIPHrjUWS9KP9ijUcEm/NhAyI12IGiwkPJ/rxwI8LJaqceU +kzthHYM3qjZA== From: Will Deacon To: mark.rutland@arm.com, namhyung@kernel.org, linux-arm-kernel@lists.infradead.org, acme@kernel.org, peterz@infradead.org, linux-kernel@vger.kernel.org, alexander.shishkin@linux.intel.com, suzuki.poulose@arm.com, mingo@redhat.com, jolsa@redhat.com, Yang Jihong , linux@armlinux.org.uk, julien.thierry.kdev@gmail.com Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon Subject: Re: [PATCH] arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode Date: Tue, 1 Jun 2021 19:21:05 +0100 Message-Id: <162255342222.565985.6841867867771052763.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210430012659.232110-1-yangjihong1@huawei.com> References: <20210430012659.232110-1-yangjihong1@huawei.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210601_112129_158114_2DC2F43D X-CRM114-Status: UNSURE ( 7.94 ) X-CRM114-Notice: Please train this message. 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 Fri, 30 Apr 2021 09:26:59 +0800, Yang Jihong wrote: > Commit 3a95200d3f89a ("arm_pmu: Change API to support 64bit counter values") > changes the input "value" type from 32-bit to 64-bit, > which introduces the following problem: > ARMv7 PMU counters is 32-bit width, in big-endian mode, write counter uses > high 32-bit, which writes an incorrect value. > > Before: > > [...] Applied to will (for-next/perf), thanks! [1/1] arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode https://git.kernel.org/will/c/fdbef8c4e68a Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel