From patchwork Wed Feb 15 12:32:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bagas Sanjaya X-Patchwork-Id: 654739 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 514EEC6379F for ; Wed, 15 Feb 2023 12:33:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229881AbjBOMdF (ORCPT ); Wed, 15 Feb 2023 07:33:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbjBOMdF (ORCPT ); Wed, 15 Feb 2023 07:33:05 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B79B28841; Wed, 15 Feb 2023 04:33:04 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id d8-20020a17090ad98800b002344fa17c8bso1752749pjv.5; Wed, 15 Feb 2023 04:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RfPGdIBUWvYP18MdOLbq0gCotrm0pCwxe1TBwOkQhdo=; b=QXb/nWw4b87qF8YSl8JUHd3RCoF1GX7evfWX4ne/L6YJZMVKq+BwxKQcn81ZZUA1X5 FWydNzPo6iaP3eurDnRSEfgYR/GP5PODttEMiN8SUyZmBWBhMjX0jwDehxn1rwPzstLS bhpSauaAXPLF2RBY9x8iM/7r/b/I9eccjYex1k2ywk6EKB4S6MlROzC2joI8nK3B5xsn rpkABqzRwQeFmnEfT/wqqbJp3hNgSsHt5D6Z8IpOOoLt1FloqJTwP7j6IAlYlfZbnpbL WCQVpEzj3I3cDFMSwsJK7/fWPixWHDLxyryXRBVQF3z03sdD3w44E/h3bQnenj8NXYMw StCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RfPGdIBUWvYP18MdOLbq0gCotrm0pCwxe1TBwOkQhdo=; b=tGAPB4DWfOn/8kFdDwJA8ooHeudE2mW8OAGeaESrDLWQhlsuMmSNUo8KhSSKRi8+1A LIHY1dFUNYza3/071son5LZ53aF7ddSCz2v5+EYkEt9NrE+3lqTzXbfTZgQy4my60eJk LcE0v+0pQAPAWKmoUAo+vWZT0nAToK6m1yJdKxZcZRzFJVlkpOJ5rloMgIH/NfK+SxBD uxGTgHEY4EhhPCg6o7K9TdkSmvSnZQz9xH9RbjGWuU3pUWcU4xFp2FYW4r3fwnnFb0hJ /MSWYITmNURBbVucQt2dSAGAYAFnPpOFmhhKjAEbRVcBSMjxrayEPPllFHeD3Gt3w0Aj w2ng== X-Gm-Message-State: AO0yUKWGS8C0WgJP7brQ+VZ8USdrT0vdJHxcufV5D8V8rJTSzpVBDy+o 2syzJyoY+2/RaftIF3csGlQ= X-Google-Smtp-Source: AK7set/dr+zE9J2Qf60cfvGWYt1fheRGnO5xCtk/WJ06lcoNPjdrbYIZrpoqwG8gM64yCg0+/o3O5w== X-Received: by 2002:a17:903:2803:b0:196:1c45:6fc8 with SMTP id kp3-20020a170903280300b001961c456fc8mr1801744plb.60.1676464383516; Wed, 15 Feb 2023 04:33:03 -0800 (PST) Received: from debian.me (subs03-180-214-233-93.three.co.id. [180.214.233.93]) by smtp.gmail.com with ESMTPSA id jh20-20020a170903329400b0019ad6451a67sm108767plb.24.2023.02.15.04.33.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 04:33:03 -0800 (PST) Received: by debian.me (Postfix, from userid 1000) id BF947105177; Wed, 15 Feb 2023 19:32:58 +0700 (WIB) From: Bagas Sanjaya To: Linux Documentation , Linux Kernel Mailing List , Linux Next Mailing List , Linux Power Management , Linux BPF Development Cc: Jonathan Corbet , Huang Rui , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Bagas Sanjaya , Paolo Bonzini , Tom Lendacky , Dave Marchevsky , Perry Yuan , "Rafael J. Wysocki" , Wyes Karny , Mario Limonciello , oe-kbuild-all@lists.linux.dev, Stephen Rothwell Subject: [PATCH 1/3] Documentation: hw-vuln: Wrap mitigate_smt_rsb example in literal code block Date: Wed, 15 Feb 2023 19:32:51 +0700 Message-Id: <20230215123253.41552-2-bagasdotme@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230215123253.41552-1-bagasdotme@gmail.com> References: <20230215123253.41552-1-bagasdotme@gmail.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1453; i=bagasdotme@gmail.com; h=from:subject; bh=NlIucDSsMzvXPzZxHVDpD0xEEtWua/CgvF9JyzYMKNk=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDMlvLnwJWuIrJ6V+hMMv94SlmvfRDb/TKrprgx8H5B9K+vZ4 f/z8jlIWBjEuBlkxRZZJiXxNp3cZiVxoX+sIM4eVCWQIAxenAEwknofhn4ZpT7iExeyPMeazQwzOnQ 8L3qHXJzNF3TxRr79g20RpaYb/pRNZdLcuyLPbFK+u9OycTqFZ/cfVmWckbvpP2li4aasQOwA= X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Stephen Rothwell reported htmldocs warning when making htmldocs from Linus's Tree: Documentation/admin-guide/hw-vuln/cross-thread-rsb.rst:92: ERROR: Unexpected indentation. Fix the warning by formatting example of mitigate_smt_rsb module parameter as literal code block. Link: https://lore.kernel.org/linux-next/20230215144117.369ffb5f@canb.auug.org.au/ Fixes: 493a2c2d23ca91 ("Documentation/hw-vuln: Add documentation for Cross-Thread Return Predictions") Reported-by: Stephen Rothwell Signed-off-by: Bagas Sanjaya --- Documentation/admin-guide/hw-vuln/cross-thread-rsb.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/hw-vuln/cross-thread-rsb.rst b/Documentation/admin-guide/hw-vuln/cross-thread-rsb.rst index ec6e9f5bcf9e89..3593d30ccfde12 100644 --- a/Documentation/admin-guide/hw-vuln/cross-thread-rsb.rst +++ b/Documentation/admin-guide/hw-vuln/cross-thread-rsb.rst @@ -88,5 +88,6 @@ capability to override those interceptions, but since this is not common, the mitigation that covers this path is not enabled by default. The mitigation for the KVM_CAP_X86_DISABLE_EXITS capability can be turned on -using the boolean module parameter mitigate_smt_rsb, e.g.: +using the boolean module parameter mitigate_smt_rsb, e.g.:: + kvm.mitigate_smt_rsb=1