[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3f37aedd-af55-2914-7b9d-29118f079c2@os.amperecomputing.com>
Date: Wed, 8 Nov 2023 11:00:15 -0800 (PST)
From: Ilkka Koskinen <ilkka@...amperecomputing.com>
To: Catalin Marinas <catalin.marinas@....com>
cc: Ilkka Koskinen <ilkka@...amperecomputing.com>,
Besar Wicaksono <bwicaksono@...dia.com>,
Suzuki K Poulose <suzuki.poulose@....com>,
Robin Murphy <robin.murphy@....com>,
Will Deacon <will@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Raag Jadav <raag.jadav@...el.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf: arm_cspmu: Reject events meant for other PMUs
On Wed, 8 Nov 2023, Catalin Marinas wrote:
> 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).
Sounds perfert. Thanks a lot!
--Ilkka
>
> --
> Catalin
>
Powered by blists - more mailing lists