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 D098CC4332F for ; Wed, 8 Nov 2023 10:06:31 +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=vuc7my4ue1CchVOYwNzq1WQTjEHc5r+nwmccTX2K2J4=; b=e2JO1oBL0q4a8C iA8I1PQai65qYYde4IEfB7NRznpUOHouwRSEVRZ01mH7WKZlBEWz+CYztmCtPXCBuVjFCNkIqVZkq i8hKibL6TUTtiwnHVT4IxCq1xn376ga21tXT6mz65ebLC6UUJ1elISdv8+MAkvmHwkss+EA+OxWM3 xAcdi8970fkA35f74jts2nEIU/UQzYVGBu9gNjyyBTraAitRpbviO+GsOK0+qRQinYSS3mm5nmUGZ rCNxoOaSgIyWvUGGfIlaTEFacc8Ook6NBvjtU6Tdipiz0PDfU1ylAgi7uOIbzvDnK0GQULHBGk//u hXolQQC7cvJqrAB0y3lA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r0fRe-003PhO-0m; Wed, 08 Nov 2023 10:05:58 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r0fRb-003Pgy-2j for linux-arm-kernel@lists.infradead.org; Wed, 08 Nov 2023 10:05:57 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 38F0C61505; Wed, 8 Nov 2023 10:05:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46F5BC433C7; Wed, 8 Nov 2023 10:05:53 +0000 (UTC) Date: Wed, 8 Nov 2023 10:05:50 +0000 From: Catalin Marinas To: Ilkka Koskinen Cc: Besar Wicaksono , Suzuki K Poulose , Robin Murphy , Will Deacon , Mark Rutland , Raag Jadav , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf: arm_cspmu: Reject events meant for other PMUs Message-ID: References: <20231103001654.35565-1-ilkka@os.amperecomputing.com> <169936667591.2397489.8626905802471861575.b4-ty@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231108_020555_949867_E2DA1C46 X-CRM114-Status: GOOD ( 13.99 ) 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 Tue, Nov 07, 2023 at 02:12:58PM -0800, Ilkka Koskinen wrote: > On Tue, 7 Nov 2023, Catalin Marinas wrote: > > On Thu, 02 Nov 2023 17:16:54 -0700, Ilkka Koskinen wrote: > > > Coresight PMU driver didn't reject events meant for other PMUs. > > > This caused some of the Core PMU events disappearing from > > > the output of "perf list". In addition, trying to run e.g. > > > > > > $ perf stat -e r2 sleep 1 > > > > > > made Coresight PMU driver to handle the event instead of letting > > > Core PMU driver to deal with it. > > > > > > [...] > > > > Applied to arm64 (for-next/core), thanks! > > Just wanted to ask if you are planning to submit this patch for 6.7-rcX as a > fix? We have found out that one can even crash AmpereOne by running > "perf stat -C 1 sleep 1" without the patch. Yes, I'll send it for 6.7-rc1 (probably tomorrow). -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel