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

From: Matt Fleming
Date: Thu Jun 05 2014 - 04:32:36 EST


On 4 June 2014 22:34, Stephane Eranian <eranian@xxxxxxxxxx> wrote:
> From: Maria Dimakopoulou <maria.n.dimakopoulou@xxxxxxxxx>
>
> 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.
--
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/