Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp445658rdb; Thu, 19 Oct 2023 08:46:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHx9HcxtacMm4sqVWampsTSEqzsGB73v6wOOtFSVhamAWzcmDcrQOSaZxA9VkEjsppU3twY X-Received: by 2002:a05:6358:7291:b0:166:f206:a018 with SMTP id w17-20020a056358729100b00166f206a018mr2390532rwf.29.1697730419600; Thu, 19 Oct 2023 08:46:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697730419; cv=none; d=google.com; s=arc-20160816; b=EFVImSyOVmmhqoZtS67rZfROnOXSHUhyUGPmck3ySEmAdE5ET+iij2zZse452gWA2j J4HmldHGc7YtMQzP36udF6/riyv+ymUUameti3hADyGR+DOTsaTYHeyfMiV93FAEpzbs 3Ji5pRtMqS5IXSI3/h/VwiuxLB+Vdw6O+K5DOFPh5ez5recYkItPWPYbaZE6BAQh7+Nf aIBrxR/vkIW8W20ekTOXvn7aIEQwUWxpqtGXZDTWYEu0qvISQn2Xk48W8gFescTORfwD RlzmM10rY80uhUNlnO0xh2fyEvD1Jlbi5PcXaTYKsujgAT9YF9cplzn8z06Kq0VubQ4j ja1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rvhEgXMo5pOobEW2GJbbdgsShoaNbUGo5Nqz7/ptQDk=; fh=uRBHXdyt35CazxvTqpnLCqk4q6iHxOGJgcR/IRAVjAY=; b=Bxvt3Evlpdbtm1rWy42LeCTb7EYJSVi2gsl4HtXltwjDdvVOgth8XSxFvEP+fpDLdo ec2QZKheeDkRWg9I2cPazF8Go4sKQhQqbfV6kWDYCfuBk08sbl11F/ABIxha8HLQkQgu cAYX/k3ueURXbbkH0iP6FGPAPXraCgN9JDJTdJy439dS/z9HiiRWxf7PMFfbe+gWZTlZ yqF11YeBbRXF8VZDj5NmfyhFU0cK7FqB45cuXrjuiXswvux50Bp5y5Yt+SEDbhoa1ceJ 3n7qZigjACgvCTHVtMJ3vJFrLz/MQT3X9UZxSbZqzRD0POtAMN/pzWl1aFJb1++Ut7/M R4rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="uqm/3hBC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id o3-20020a655bc3000000b00578c64433d5si4863867pgr.877.2023.10.19.08.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 08:46:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="uqm/3hBC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 3D31080A1399; Thu, 19 Oct 2023 08:46:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345979AbjJSPqI (ORCPT + 99 others); Thu, 19 Oct 2023 11:46:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233038AbjJSPqH (ORCPT ); Thu, 19 Oct 2023 11:46:07 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F9D593 for ; Thu, 19 Oct 2023 08:46:06 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E5BBC433C8; Thu, 19 Oct 2023 15:46:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697730365; bh=KzjZ5YErOy5FJDmS8Z/lp6SvmGsF2RscdqURitIPoVo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uqm/3hBC4PkRRmJtK5Czgyi5jNdPMvAHGvoa6Ct1URtcFKp7qFQ9FBcC/IZ03KjHa zpPdnK63zHNAYuDCyjeQdYG1LfrgPdSuA8T4Rep9gtunFKiZ74ZK2acJ6bKTXHr3OT zz5bE+3dUkQrhgMjmr4E60FsJRaxzAIzjLlSyBhNv0RCvJvAtIfZMZeBVWpKF0O3BQ X1KR8lp0XlEQAECp6xFyuuyqCzsYnlz2SEPSOwlrvelwMJNl/WtB73YAJnB/dcCX12 VK7f2x+2YDgo8XebDIGKpY2JYiC4KQQNiUf7+X/qEUtH1BUd7JMtHxgfc96vogrmds 29APoPhhX235A== From: Will Deacon To: linux-arm-kernel@lists.infradead.org, Anshuman Khandual Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , James Clark , Mark Rutland , linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] drivers: perf: arm_pmuv3: Read PMMIR_EL1 unconditionally Date: Thu, 19 Oct 2023 16:45:58 +0100 Message-Id: <169772970439.4092128.7487260663443173139.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20231013024354.1289070-1-anshuman.khandual@arm.com> References: <20231013024354.1289070-1-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 19 Oct 2023 08:46:26 -0700 (PDT) On Fri, 13 Oct 2023 08:13:54 +0530, Anshuman Khandual wrote: > Currently the PMUv3 driver only reads PMMIR_EL1 if the PMU implements > FEAT_PMUv3p4 and the STALL_SLOT event, but the check for STALL_SLOT event > isn't necessary and can be removed. > > The check for STALL_SLOT event was introduced with the read of PMMIR_EL1 in > commit f5be3a61fdb5dd11 ("arm64: perf: Add support caps under sysfs") > > [...] Applied to will (for-next/perf), thanks! [1/1] drivers: perf: arm_pmuv3: Read PMMIR_EL1 unconditionally https://git.kernel.org/will/c/58f8fc57b1d3 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev