Re: [PATCH 0/9] perf/x86: implement HT counter corruption workaround

From: Stephane Eranian
Date: Thu Jun 05 2014 - 08:45:48 EST


On Thu, Jun 5, 2014 at 12:28 AM, Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:
>> There is no HW or FW workaround for this problem.
>
> Actually there is for global measurements:
>
> measure with Any bit set and divide by two.
>
> Please add a check that the any bit is set, and disable
> the workaround for that case.
>
I think this assume same event is measured on sibling counters at any time.
Otherwise, how does that eliminate the corruption?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/