lkml.org 
[lkml]   [2018]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 06/18] x86, barrier: stop speculation for failed access_ok

    * Peter Zijlstra <peterz@infradead.org> wrote:

    > On Sun, Jan 07, 2018 at 06:24:11PM -0800, Alexei Starovoitov wrote:
    > > How about:
    > > CONFIG_SPECTRE1_WORKAROUND_INDEX_MASK
    > > CONFIG_SPECTRE1_WORKAROUND_LOAD_FENCE
    >
    > INSTRUCTION_FENCE if anything. LFENCE for Intel (and now also for AMD as
    > per 0592b0bce169) is a misnomer, IFENCE would be a better name for it.

    Btw., we should probably propagate that naming to most places and only point it
    out in comments/documentation that Intel/AMD calls this CPU functionality 'LFENCE'
    for historic reasons and that the opcode got stolen for the Spectre fixes.

    Thanks,

    Ingo

    \
     
     \ /
      Last update: 2018-01-14 23:18    [W:4.442 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site