lkml.org 
[lkml]   [2023]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][PATCH 06/17] x86/cpu: Add SRSO untrain to retbleed=
    On Thu, Aug 10, 2023 at 05:44:04PM +0200, Borislav Petkov wrote:
    > On Wed, Aug 09, 2023 at 09:12:24AM +0200, Peter Zijlstra wrote:
    > > Since it is now readily apparent that the two SRSO
    > > untrain_ret+return_thunk variants are exactly the same mechanism as
    > > the existing (retbleed) zen untrain_ret+return_thunk, add them to the
    > > existing retbleed options.
    >
    > Except that Zen3/4 are not affected by retbleed, according to my current
    > state of information.
    >
    > I don't like this lumping together of the issues even if their
    > mitigations are more or less similar.

    I tend to agree that SRSO is a new issue and should have its own sysfs
    and cmdline options (though a separate CONFIG option is overkill IMO).

    The mitigations are unfortunately intertwined, but we've been in that
    situation several times before (e.g., spectre_v2 + intel retbleed).

    --
    Josh

    \
     
     \ /
      Last update: 2023-08-10 18:12    [W:4.370 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site