From: Catalin Marinas <catalin.marinas@arm.com>
To: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Cc: Besar Wicaksono <bwicaksono@nvidia.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Robin Murphy <robin.murphy@arm.com>,
Will Deacon <will@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Raag Jadav <raag.jadav@intel.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf: arm_cspmu: Reject events meant for other PMUs
Date: Wed, 8 Nov 2023 10:05:50 +0000 [thread overview]
Message-ID: <ZUtdfkISdtWtJsV8@arm.com> (raw)
In-Reply-To: <f3661af2-7fdf-d828-ef88-5732a370c0c@os.amperecomputing.com>
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
WARNING: multiple messages have this Message-ID (diff)
From: Catalin Marinas <catalin.marinas@arm.com>
To: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Cc: Besar Wicaksono <bwicaksono@nvidia.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Robin Murphy <robin.murphy@arm.com>,
Will Deacon <will@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Raag Jadav <raag.jadav@intel.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf: arm_cspmu: Reject events meant for other PMUs
Date: Wed, 8 Nov 2023 10:05:50 +0000 [thread overview]
Message-ID: <ZUtdfkISdtWtJsV8@arm.com> (raw)
In-Reply-To: <f3661af2-7fdf-d828-ef88-5732a370c0c@os.amperecomputing.com>
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
next prev parent reply other threads:[~2023-11-08 10:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-03 0:16 [PATCH] perf: arm_cspmu: Reject events meant for other PMUs Ilkka Koskinen
2023-11-03 0:16 ` Ilkka Koskinen
2023-11-03 2:14 ` Besar Wicaksono
2023-11-03 2:14 ` Besar Wicaksono
2023-11-03 6:55 ` Anshuman Khandual
2023-11-03 6:55 ` Anshuman Khandual
2023-11-03 11:37 ` Mark Rutland
2023-11-03 11:37 ` Mark Rutland
2023-11-07 10:50 ` Will Deacon
2023-11-07 10:50 ` Will Deacon
2023-11-07 14:17 ` Catalin Marinas
2023-11-07 14:17 ` Catalin Marinas
2023-11-07 22:12 ` Ilkka Koskinen
2023-11-07 22:12 ` Ilkka Koskinen
2023-11-08 10:05 ` Catalin Marinas [this message]
2023-11-08 10:05 ` Catalin Marinas
2023-11-08 19:00 ` Ilkka Koskinen
2023-11-08 19:00 ` Ilkka Koskinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZUtdfkISdtWtJsV8@arm.com \
--to=catalin.marinas@arm.com \
--cc=bwicaksono@nvidia.com \
--cc=ilkka@os.amperecomputing.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=raag.jadav@intel.com \
--cc=robin.murphy@arm.com \
--cc=suzuki.poulose@arm.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.