Re: [tip: perf/urgent] perf/x86/amd/core: Fix Family 17h+ instruction cache events

From: Ingo Molnar
Date: Sat May 17 2025 - 09:02:40 EST



* Vince Weaver <vincent.weaver@xxxxxxxxx> wrote:

> On Fri, 16 May 2025, tip-bot2 for Sandipan Das wrote:
>
> > The following commit has been merged into the perf/urgent branch of tip:
> >
>
> > perf/x86/amd/core: Fix Family 17h+ instruction cache events
> >
> > PMCx080 and PMCx081 report incorrect IC accesses and misses respectively
> > for all Family 17h and later processors. PMCx060 unit mask 0x10 replaces
> > PMCx081 for counting IC misses but there is no suitable replacement for
> > counting IC accesses.
>
> can you link to the errata document that describes this problem as well as
> maybe give a rundown of how and why this breaks?

I've delayed this patch until these details are cleared up.

Thanks,

Ingo