Re: [RFC PATCH v2 6/6] x86/entry/pti: don't switch PGD on when pti_disable is set

From: Linus Torvalds
Date: Thu Jan 11 2018 - 14:12:32 EST


On Thu, Jan 11, 2018 at 10:57 AM, Dave Hansen
<dave.hansen@xxxxxxxxxxxxxxx> wrote:
>
> I'd love to have a tool that tells you for sure "KPTI enabled or not",
> but I'd also love to have it be something I can easily distribute
> without it being handled like a WMD.

As Josh points out, the whole meltdown excitement actually already
generated a number of projects that aren't the attack, but show some
of the effects.

But Thomas does have a whole sysfs series to show "mitigation status
for various hardware bugs".

Linus