lkml.org 
[lkml]   [2018]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v3 5/6] x86/pti: Do not enable PTI on processors which are not vulnerable to Meltdown
    From
    Date
    On Wed, 2018-01-24 at 16:57 +0000, David Woodhouse wrote:
    > Some old Atoms, anything in family 5 or 4, and newer CPUs when they advertise
    > the IA32_ARCH_CAPABILITIES MSR and it has the RDCL_NO bit set, are not vulnerable.
    >
    > Roll the AMD exemption into the x86_match_cpu() table too.
    >
    > Based on suggestions from Dave Hansen and Alan Cox.

    Hi David,

    I know we'll still be able to manually enable PTI with a command line option,
    but it's also a hardening feature which has the nice side effect of emulating
    SMEP on CPU which don't support it (e.g the Atom boxes above).

    Couldn't we keep the “default on”? Or maybe on boxes which also have CPID (in
    order to limit the performance cost)?

    Regards,
    --
    Yves-Alexis[unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2018-01-26 13:15    [W:3.078 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site