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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C05CC61DA4 for ; Thu, 16 Feb 2023 15:13:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229805AbjBPPNS (ORCPT ); Thu, 16 Feb 2023 10:13:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbjBPPNR (ORCPT ); Thu, 16 Feb 2023 10:13:17 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3D2A229E26 for ; Thu, 16 Feb 2023 07:13:16 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 728531042; Thu, 16 Feb 2023 07:13:58 -0800 (PST) Received: from FVFF77S0Q05N.cambridge.arm.com (FVFF77S0Q05N.cambridge.arm.com [10.1.28.151]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6E87A3F703; Thu, 16 Feb 2023 07:13:14 -0800 (PST) Date: Thu, 16 Feb 2023 15:13:11 +0000 From: Mark Rutland To: Janne Grunau , will@kernel.org Cc: linux-arm-kernel@lists.infradead.org, asahi@lists.linux.dev, ecurtin@redhat.com, lina@asahilina.net, linux-kernel@vger.kernel.org, peterz@infradead.org, ravi.bangoria@amd.com Subject: Re: [PATCH 1/2] arm_pmu: fix event CPU filtering Message-ID: References: <20230216141240.3833272-1-mark.rutland@arm.com> <20230216141240.3833272-2-mark.rutland@arm.com> <20230216143519.GI17933@jannau.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230216143519.GI17933@jannau.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 16, 2023 at 03:35:19PM +0100, Janne Grunau wrote: > On 2023-02-16 14:12:38 +0000, Mark Rutland wrote: > > Fix the CPU filtering by performing this consistently in > > armpmu_filter(), and remove the redundant arm_pmu::filter() callback and > > armv8pmu_filter() implementation. > > > > Commit bd2756811766 also silently removed the CHAIN event filtering from > > armv8pmu_filter(), which will be addressed by a separate patch without > > using the filter callback. [...] > This works as well. I limited the patch to the minimal fix this > this late in the cycle. I did appreciate that you'd made the effort for the minimal fix; had the issue with CHAIN events not existed I would have acked that as-is and done the simplification later. Given the CHAIN issue and given the simplification make the code "obviously correct" I think it's preferable to do both bits now. > Tested-by: Janne Grunau Thanks! Hopefully Will or Peter can pick this up shortly; I'm assuming that Will can take this via the arm64 tree. Mark.