Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp335867rwl; Wed, 9 Aug 2023 15:35:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRKofSYCwuX4mOHo2YZB/PwDj0VovUvxN3mF3v9RLdShuEhGyd0aTiSgisCqNj3MqEWlj9 X-Received: by 2002:a17:906:3293:b0:99b:dd1d:bc58 with SMTP id 19-20020a170906329300b0099bdd1dbc58mr349260ejw.41.1691620511806; Wed, 09 Aug 2023 15:35:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691620511; cv=none; d=google.com; s=arc-20160816; b=ng8dFT+kJfk9YYgF78Bh2hXMceHwVbWHsNly2PQXtOkaEvgK48jYkI5R5ka85hx3Ud Ksc0RyUvK2a7F71CTAcypLNWt6Sd0d4pggUss2l0bKFF2kcY3bRmDpa1a/VzuhKCVDBz iA325/aWxJpUVxJ8tOhJpNZtbksxSURdSroR9jvWrO3a96pItpr/7G16ZEnDkBz8cz2f +cTdq8JycVHYjKtFaaZ76DiOhA1C5N4Vk9aCzHUJuKGzF3iboM4OxtFspK6f1lo5RO70 W55ECFp1JhRXfOYyygKBxv9gqjQ87o0gBYbVdPPbegrq6Ak9By6Bw77+aCyJj3MhLLvo zmqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9oKbKN/aDWN1r694mw/HWmX1FcDBnnkeiYN3SzxHXvA=; fh=JShQXPc/5IkUZayyoVyDsFfoVko4hnRgDjX41KWyErM=; b=I6ZZj/uVqMrbo0nu6MnAnGsFJkPueTppcKEZLUmiodcIzmWQThCk9N0bQUijqxo4Ne w22B7bwuHmv0WAb5DPfSg+lFb9Pl2oCoHqQsPOF1LimmbWyl2bmKYzYoto+biFHHI/wQ HgVHF6RcmcT8XcXFA41Tjr6oU4ksQv7COFPF8Ps3GHnOGkfuZUcjn9ZYJHm2KwkbpMlb /FtD3zHxIhI8XU8Jytz1Y8yDRzPQr5J107E0D5Nj9/bk0DeuYWkUSMdtB9wF6AahCZwr cCpi733YVmi+B30z6HFT64w2JbqdScsxIK6mJDrKABFDv0LQcWBhyjyTn4Utu+6gPfKh 0SKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Jk1JvWKm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kg13-20020a17090776ed00b0098e2cc0aaaesi154415ejc.560.2023.08.09.15.34.47; Wed, 09 Aug 2023 15:35:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Jk1JvWKm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232921AbjHIWDh (ORCPT + 99 others); Wed, 9 Aug 2023 18:03:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231894AbjHIWDg (ORCPT ); Wed, 9 Aug 2023 18:03:36 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC098A3 for ; Wed, 9 Aug 2023 15:03:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691618614; x=1723154614; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=c82A1SQt+cKENQbWxteRTGRBJzYq26IWR+UNEDJxSp8=; b=Jk1JvWKmKUbcxhFS933A5j4/WhjFpKnV46YUEt8xp2tsRtvEFAwqtrv3 iPlx8p46s2+xvjI/0oAOtIR8kspLkBmTkq9AygnbfsuUUih2Z3K8rR1V8 KLLJ9PhVteOfKxCJAWKlzTs46ISZOxcTwGAwl7pmwURsQ6L4bHKsrSzPw Lr4KRt1ZEx7Tn81+f/Knzx6EWV813bJ6LjtaIGHIHo/GV5TIdonANLpn0 0s/QSDuqojiikdFwtvtZpYr55IAUDC1roUiTCyE76EcyYGiUi52IH3ss7 m3+nQac1H1KFZKFISJAfeJfugEB2IDdO4fSnD7rW1TSuO+Ic0yHBvbJ7F w==; X-IronPort-AV: E=McAfee;i="6600,9927,10797"; a="350819525" X-IronPort-AV: E=Sophos;i="6.01,160,1684825200"; d="scan'208";a="350819525" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2023 15:03:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10797"; a="725549357" X-IronPort-AV: E=Sophos;i="6.01,160,1684825200"; d="scan'208";a="725549357" Received: from brentchi-mobl.amr.corp.intel.com (HELO desk) ([10.212.254.92]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2023 15:03:32 -0700 Date: Wed, 9 Aug 2023 15:03:17 -0700 From: Pawan Gupta To: Borislav Petkov Cc: X86 ML , Greg Kroah-Hartman , LKML Subject: Re: [PATCH 3/3] Documentation/srso: Document IBPB aspect and fix formatting Message-ID: <20230809220317.7qpxfkcskprt4mtf@desk> References: <20230809102700.29449-1-bp@alien8.de> <20230809102700.29449-4-bp@alien8.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230809102700.29449-4-bp@alien8.de> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 09, 2023 at 12:27:00PM +0200, Borislav Petkov wrote: > From: "Borislav Petkov (AMD)" > > Add a note about the dependency of the User->User mitigation on the > previous Spectre v2 IBPB selection. > > Make the layout moar pretty. > > Signed-off-by: Borislav Petkov (AMD) > --- > Documentation/admin-guide/hw-vuln/srso.rst | 71 ++++++++++++++-------- > 1 file changed, 44 insertions(+), 27 deletions(-) > > diff --git a/Documentation/admin-guide/hw-vuln/srso.rst b/Documentation/admin-guide/hw-vuln/srso.rst > index 32eb5e6db272..af59a9395662 100644 > --- a/Documentation/admin-guide/hw-vuln/srso.rst > +++ b/Documentation/admin-guide/hw-vuln/srso.rst > @@ -42,42 +42,59 @@ The sysfs file showing SRSO mitigation status is: > > The possible values in this file are: > > - - 'Not affected' The processor is not vulnerable > + * 'Not affected': > > - - 'Vulnerable: no microcode' The processor is vulnerable, no > - microcode extending IBPB functionality > - to address the vulnerability has been > - applied. > + The processor is not vulnerable > > - - 'Mitigation: microcode' Extended IBPB functionality microcode > - patch has been applied. It does not > - address User->Kernel and Guest->Host > - transitions protection but it does > - address User->User and VM->VM attack > - vectors. > + * 'Vulnerable: no microcode': All other mitigations capitalizes the first letter, to be consistent s/no microcode/No microcode/ > - (spec_rstack_overflow=microcode) > + The processor is vulnerable, no microcode extending IBPB > + functionality to address the vulnerability has been applied. > > - - 'Mitigation: safe RET' Software-only mitigation. It complements > - the extended IBPB microcode patch > - functionality by addressing User->Kernel > - and Guest->Host transitions protection. > + * 'Mitigation: microcode': Ditto.