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 C4E3AC433F5 for ; Wed, 13 Apr 2022 11:47:35 +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: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=hS5NXQRU1I+k+7JVqInbbc7BwjR6sccRTsndr5cBSg8=; b=EnHu4BRLYk2JIG Ck1A+xf6D+PLxQC/lf0s7ebaVweBsgcud+Pvj3WAMAWJh4/BNyqi2Gy0cGwfLOr2APaKzCO3eSD/H 4iFMCDdEU+pkhy1zHsWcoW3sMsgMrF+GnRpNDAjQd5RQRTsqDMFtGQ/2G++OlHQUBFCZBIS9G26P+ sgYzCUYPTp5eVOoTNCrD02GVYh8DULoq3n1BVHfh4yk+x1RhHYAiY1xFYfYgTFDDi2QrPsumcohR7 gDbOvNcpCkn5V7fFpvmfJlOXm4Ip6+ghVujjKvnOMYRcZ5ASOve5UsxCyMyoSmeY7pyAjAR4hDjwk q8sYwx5htBhiTT9tdR7Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nebS5-000nYL-NK; Wed, 13 Apr 2022 11:46:25 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nebS2-000nXm-Dt for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2022 11:46:24 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4FD48B82288; Wed, 13 Apr 2022 11:46:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7460EC385A4; Wed, 13 Apr 2022 11:46:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649850379; bh=8q3QP6n8p12GITLX+ofYGPxgrlfeIJkjWHFz6p7WaRY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Wb/m6Cjyy5wlkN0LIv8IgBNGBjHhDgfGaAJlWtsI3iT+lE51VpUtmJR/3SX7nI5H0 cvn2IHTcKwMCgo4rutZuKz3+/JMJOYCGlXa/sC1ljrUCoo6TW8pjghVNWF+xKymTx5 AT0kGnAM2dcB8wf9Rhjd56T8lXIVT/FYojJX5mxacVSQJA1c/lzGwj30WSChO/5WMr AvMsvYAXc+c8jKjCCK9G/b/AWIaBbCgz26nLor9eVSOi0O0qpHYOH/tiI3p3iXkvHM hsve7rbfwicyu9+oyfN9O67z+EMidm/T+FYIGm2uM4GIbdbiXV2WO2JTNgu0v7cwKp hybgrmbjmQ5fQ== From: Will Deacon To: Rob Herring , Mark Rutland Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , linux-kernel@vger.kernel.org, Al Grant , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm_pmu: Validate single/group leader events Date: Wed, 13 Apr 2022 12:46:13 +0100 Message-Id: <164984462805.2352727.11754227231341173145.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220408203330.4014015-1-robh@kernel.org> References: <20220408203330.4014015-1-robh@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220413_044622_654188_4FE4D12E X-CRM114-Status: GOOD ( 11.44 ) 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, 8 Apr 2022 15:33:30 -0500, Rob Herring wrote: > In the case where there is only a cycle counter available (i.e. > PMCR_EL0.N is 0) and an event other than CPU cycles is opened, the open > should fail as the event can never possibly be scheduled. However, the > event validation when an event is opened is skipped when the group > leader is opened. Fix this by always validating the group leader events. > > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm_pmu: Validate single/group leader events https://git.kernel.org/arm64/c/e5c23779f93d 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