[PATCH v3 2/3] drivers/perf: riscv: Reset the counter to hpmevent mapping while starting cpus
Conor Dooley
conor at kernel.org
Wed Jun 26 09:39:49 PDT 2024
On Wed, Jun 26, 2024 at 05:37:07PM +0100, Conor Dooley wrote:
> On Wed, Jun 26, 2024 at 09:18:46AM -0700, Atish Kumar Patra wrote:
> > On Wed, Jun 26, 2024 at 6:24 AM Samuel Holland
> > <samuel.holland at sifive.com> wrote:
> > >
> > > On 2024-06-26 2:23 AM, Atish Patra wrote:
> > > > From: Samuel Holland <samuel.holland at sifive.com>
> > > >
> > > > Currently, we stop all the counters while a new cpu is brought online.
> > > > However, the hpmevent to counter mappings are not reset. The firmware may
> > > > have some stale encoding in their mapping structure which may lead to
> > > > undesirable results. We have not encountered such scenario though.
> > > >
> > >
> > > This needs:
> > >
> > > Signed-off-by: Samuel Holland <samuel.holland at sifive.com>
> > >
> >
> > Oops. Sorry I missed that.
> >
> > @Alexandre Ghiti
>
> What's Alex going to be able to do?
>
> > @Palmer Dabbelt : Can you add that while picking up
> > the patch or should I respin a v4 ?
>
> b4 should pick the signoff up though. "perf: RISC-V: Check standard
> event availability" seems to be missing your signoff though...
Huh, this doesn't really make sense. I meant:
b4 should pick the signoff up, though "perf: RISC-V: Check standard
event availability" seems to be missing your signoff...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20240626/a5536e37/attachment.sig>
More information about the linux-riscv
mailing list