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 819CFC54EBE for ; Sun, 8 Jan 2023 19:14:21 +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=t4TFwfSTW24OfS5AmnbZcEv8fpWZwT0dxZSN6k9uqI4=; b=CzB4cCyAdXlTXq btAJBw9XldQvMJOakiTAScqMCUhpCTEDZaSUkTebNXMCxHn96kCb79GMJB/zQpDf6QiivBxfl6oBC ssArXrWqsgwFigReHUHO/A/5su8jvqb4o9t44V4ur3G2GEJc+o09Q/tguXdft9XsGkKN+aC5VeGm8 /Czt9T2ZLcAorkksh8XabQacrafGG2MGCQxqgs6Rk4VPpMkH/F5UTqKQMZf7PdkBS7l7ieLawEfOK TJGo81paKJFbVVUCfR0uVLSJdDkjdrai3uGIA1XynrC0jnNtuZCtIhSV9QnHmPfrTWmdYECgY0QCG 7Bv8jLl1oWNGCyQWqYew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEb6k-00FPaU-9Z; Sun, 08 Jan 2023 19:13:26 +0000 Received: from out-133.mta0.migadu.com ([91.218.175.133]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEb6h-00FPZT-4N for linux-arm-kernel@lists.infradead.org; Sun, 08 Jan 2023 19:13:24 +0000 Date: Sun, 8 Jan 2023 11:13:11 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1673205197; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EtOSkw9vvFtKfh4yvVAsnzJijn2Et/7oRxLgfYGNWPI=; b=nPcwPea7zsQ+ilcb/b+J2Xj1qgcWvzZyxqZmMpc4PtNi+4wDs2HPxcPMLTe/clGPcB55oZ yyBr23fALcfqDT6tOw/U7QL8LBqazEiCBTf9GaePEbT5W2Vanr5ZHY1bu4hyg17TNEjAO5 1Nfjo46XI8Ai3XOCYDVZCE6VKJBISd8= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Reiji Watanabe Cc: Marc Zyngier , kvmarm@lists.cs.columbia.edu, kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, James Morse , Alexandru Elisei , Suzuki K Poulose , Paolo Bonzini , Ricardo Koller , Jing Zhang , Raghavendra Rao Anata Subject: Re: [PATCH 2/7] KVM: arm64: PMU: Use reset_pmu_reg() for PMUSERENR_EL0 and PMCCFILTR_EL0 Message-ID: References: <20221230035928.3423990-1-reijiw@google.com> <20221230035928.3423990-3-reijiw@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221230035928.3423990-3-reijiw@google.com> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230108_111323_339484_9678CAC4 X-CRM114-Status: UNSURE ( 7.27 ) 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 Thu, Dec 29, 2022 at 07:59:23PM -0800, Reiji Watanabe wrote: > The default reset function for PMU registers (reset_pmu_reg()) > now simply clears a specified register. Use that function for > PMUSERENR_EL0 and PMCCFILTR_EL0, since those registers should > simply be cleared on vCPU reset. AFAICT, the fields in both these registers have UNKNOWN reset values. Of course, 0 is an entirely valid reset value but the architectural behavior should be mentioned in the commit message. -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel