Re: [PATCH] perf/x86/intel: Restrict period on Haswell

From: Vince Weaver
Date: Thu Aug 15 2024 - 15:01:57 EST


On Thu, 15 Aug 2024, Liang, Kan wrote:

> I also found a related discussion about 9 years ago.
> https://lore.kernel.org/lkml/alpine.DEB.2.11.1505181343090.32481@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
> Vince tried the workaround but it seems not work.
>
> So limiting the min period of the fixed counter 0 to 32 seems the only
> workaround for now.

I'm actually still lurking on this discussion. My regular fuzzing machine
is still a Haswell machine (the same one from 9 years ago) and it reliably
hits this issue within hours. I hadn't realized there was an official
reproducer.

If a patch does come out of this I'll be glad to test it.

Vince Weaver
vincent.weaver@xxxxxxxxx