Re: [PATCH 9/9] perf/x86: add syfs entry to disable HT bug workaround

Matt Fleming
2014-06-05T08:32:31Z

On 4 June 2014 22:34, Stephane Eranian <eranian@google.com> wrote:
> From: Maria Dimakopoulou <maria.n.dimakopoulou@gmail.com>
>
> This patch adds a sysfs entry:
>
> /sys/devices/cpu/ht_bug_workaround
>
> to activate/deactivate the PMU HT bug workaround.
>
> To activate (activated by default):
> # echo 1 > /sys/devices/cpu/ht_bug_workaround
>
> To deactivate:
> # echo 0 > /sys/devices/cpu/ht_bug_workaround

If your hardware contains this erratum, why would you ever want to
disable the workaround? Providing the user with the option of turning
this off seems like a bad idea.

I suspect that users will rarely know whether they can legitimately
disable this.