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 909EBC433FE for ; Thu, 17 Nov 2022 06:56:13 +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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=28DgbqR8CJzq/cmxDkFqFU2UYq8spYraPhH/I8D9BQA=; b=RcXfNSa8pREmmJ 9EA1/US5lvErc0V6w/I9IWBSezfrIquWIBA9RIr4CdDwWlp1kLlqRjgR8HHVCrfC0dv1NvFO5FKLP LgrbqaatcTOG8ONeGPZRfITzbxW8IbEDDtA0WS4CiTt9Y32TgM8FnphcGp4PzO6l+UJ+Elxmw+cnj /m+VkSfaSzpRKZdJ4WOWbZ+cPPq68zI4Bd/w6WK+fryYPPpfuaxK8m5ClJLN7HmTgLyigSHz7OYSf hzGWaxRBMmCzLmE7/aonjnMs1FvHN2pslq7BCSJTBDw/GZznotGPAgZyp2rS6YAJF0r22Kuc92mZW 8rN33dv4T1x14ok5mHAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovYnt-00AzUF-P7; Thu, 17 Nov 2022 06:55:17 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovYnq-00AzQc-VX for linux-arm-kernel@lists.infradead.org; Thu, 17 Nov 2022 06:55:16 +0000 Received: by mail-pl1-x62f.google.com with SMTP id b21so761781plc.9 for ; Wed, 16 Nov 2022 22:55:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ufxDvLSDDXikRLOuIVMfp9fSGQBpXIXeB0N0kqgYhWg=; b=lphVdcKLOqU6XMwwXsfp8UJjZ4YvVzwfNjrrS86/KM1DX9fQBnL9coNdVkwnhcnLkG I5uOhio65rpvnLXU+BRJHDcfpgVCrFguCCt2lVJM1g6Wb8NAtiLNMkSk3nEmNv1rPTy2 MU+rAcLgLmhgtAZZfgHxJr1KR2TrUcfcED5pQXGemidQyCw+xq5x6eeBVi+WaTCpGObx 77wtjfJGwJyVA4j1IeVYatXkLQDzd8PcsSn5YQgKKufdMpjZAkXWU0BsQ9MfckX8xK13 LaObeh6PpoONhM/H4C8YXVGlaiA0ZeRy4WFH7ecWAQJpJNExtwg+0gBNT9SJAp+JJh13 Ewkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ufxDvLSDDXikRLOuIVMfp9fSGQBpXIXeB0N0kqgYhWg=; b=BrwAtt3PVRT7m2T5g00UkUPDlwJVsptdBi17gWf2c/i26cR+9KrbFpdIUAIDs0LUFj 1ELgM63b12ow+XbJAk4vGmJPlIbUsD2KVX6p9BuTJZ8APSf77Tyi+araw3V+wNiyX/7w oxqGXB3QhAlA+77p+pBPmEMEH1wpBb+vdZ/mQuL71/4D37dBEOaV8wHXJLHsq3/GnQzS iKNFp78wlqbqBclf8V70TpVrEmDp0ZOxs3tPejeKimGED9j85LcS+Q4tLNxmuW0U9fWt jMX4KdwmbHh4NvMJC73xBQx/g4/EChyZXFjDvLlycW1k1TDsVwsR8OvFbRDPlH4klbX1 ZZ1w== X-Gm-Message-State: ANoB5pndiM86xxc5jXoOJbU6zN7C5DIG1yYeU8WBi+SmQVa0uE8n2xOh RCossdw6KZMtz5O9k1994RlIE9a1CTJ2N3IOGRpVHw== X-Google-Smtp-Source: AA0mqf7tSFrAZEMwmVmmUbqLCEc3pBNl7lqKOL+eWOL+gkt0uZHRyU+pxKg569MjVOU21bkykdSb6tDYkG3Bmcz6qvc= X-Received: by 2002:a17:90a:bd11:b0:206:64cd:4797 with SMTP id y17-20020a17090abd1100b0020664cd4797mr1454425pjr.103.1668668113644; Wed, 16 Nov 2022 22:55:13 -0800 (PST) MIME-Version: 1.0 References: <20221113163832.3154370-1-maz@kernel.org> <20221113163832.3154370-7-maz@kernel.org> In-Reply-To: <20221113163832.3154370-7-maz@kernel.org> From: Reiji Watanabe Date: Wed, 16 Nov 2022 22:54:57 -0800 Message-ID: Subject: Re: [PATCH v4 06/16] KVM: arm64: PMU: Only narrow counters that are not 64bit wide To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvmarm@lists.linux.dev, kvm@vger.kernel.org, James Morse , Suzuki K Poulose , Alexandru Elisei , Oliver Upton , Ricardo Koller X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221116_225515_044438_B892EA0D X-CRM114-Status: UNSURE ( 8.47 ) 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 Sun, Nov 13, 2022 at 8:38 AM Marc Zyngier wrote: > > The current PMU emulation sometimes narrows counters to 32bit > if the counter isn't the cycle counter. As this is going to > change with PMUv3p5 where the counters are all 64bit, fix > the couple of cases where this happens unconditionally. > > Signed-off-by: Marc Zyngier Reviewed-by: Reiji Watanabe _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel