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: 57517 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp164535wrn; Wed, 15 Feb 2023 04:35:15 -0800 (PST) X-Google-Smtp-Source: AK7set/WGQLT9u4A0ZiW/TM/fGM+c2n15EkpQPxKZdR/wa7NUhk3WsgN/EKdORT+P8qXRiXTqI10 X-Received: by 2002:a17:906:5a6e:b0:8b1:3483:b825 with SMTP id my46-20020a1709065a6e00b008b13483b825mr1721250ejc.51.1676464515566; Wed, 15 Feb 2023 04:35:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676464515; cv=none; d=google.com; s=arc-20160816; b=GXmkMoTvoBqAveBcURjlG1nMAweC5zerEx4BgPE5WtzJKUy3Rts1UpIm8+jA/c4/bN HK7BNdaI1+BlxicuY/R/XQdC/FkRMFDu+aoswFlx+5SlnTO3V0cOZ3PPAN5v9IU4tms9 E9cJENGcNQNzt91eG4vAK0H/0MWq7ZzpuToHbg+bYJX2mbN/LEHaayC9wcDr+JYkIw9W TbNQjtAbTFC2jsGA1E2YfwJiPuANDxU15N5oeNxMsgDEjaqmlS1dc1J8hDXaQG3712NE JYQcM7TwXu5DuGJSNM7OK8o0MhC4JC00qqOBoXnsKAunWazeCCF+bHIYTAJuJkE51yq6 DaMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RfPGdIBUWvYP18MdOLbq0gCotrm0pCwxe1TBwOkQhdo=; b=Sjpak74sAjCJtp8cuCYHiro9LyjtK+wyn3kIyxI/DzZpMIldiEt0nvI5HRO5x0n5Ix iDe41cNvToMxPgFv88eZeFw1I4ZJTpiSiLuymFL34vsq8b8R5Vj6nuAA0JxMPUdhhrRj Pxn9SZT2rHFXTIad4y4VRG+0MjCVnOYJYgZud8OHKtia/eawegWggZJHI3cgOWxIUAqY vhUNNPf3Ngk1bRgD89w0jJAA+olwAsmxLeBF4LwFIXWRP2AJuq74FViOwZasLOcYPnr9 6ZtnYojRVwEtnSFSfNRKRcglxYyvDBGI/f6ooSTZkIQkKsW4AmwiMvOrWbMeAtpXVR+X fvFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="QXb/nWw4"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fx13-20020a1709069e8d00b008b12da05f78si5063469ejc.464.2023.02.15.04.34.20; Wed, 15 Feb 2023 04:35:15 -0800 (PST) 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=@gmail.com header.s=20210112 header.b="QXb/nWw4"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231923AbjBOMdG (ORCPT + 99 others); Wed, 15 Feb 2023 07:33:06 -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-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 X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757900455580456592?= X-GMAIL-MSGID: =?utf-8?q?1757900455580456592?= 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 From patchwork Wed Feb 15 12:32:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bagas Sanjaya X-Patchwork-Id: 57516 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp164523wrn; Wed, 15 Feb 2023 04:35:13 -0800 (PST) X-Google-Smtp-Source: AK7set+aUBbGA4A6lMY++OkOtZvwZHrLuwlp6O1EI3nBtCqWqdHqG3mIx1+NHk9mZX4PTvbn2ey/ X-Received: by 2002:aa7:dbcf:0:b0:4ab:4676:f92f with SMTP id v15-20020aa7dbcf000000b004ab4676f92fmr1696193edt.37.1676464513631; Wed, 15 Feb 2023 04:35:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676464513; cv=none; d=google.com; s=arc-20160816; b=jc1wPOkPaeB1BP7J451WWL3n1E9w6D6Kx6/jHWn3ttscVw9fAQj1dotrWkxHcUWjlI VUUfsHeoZIaRvVColp21xaIZtAnxpMq5HT+SClBrNUhCAxb9sDaU78vEB4uoNCu3+tSO 8hV39aMdtyLkHJsVTqPf/J1db/bIGa+DiC9/r+R8MpQAIm8ywmLkY3tLkY9U+ic+fZ3t 4itChNtBuS4VXbK+TTvWIHWNVvwidZoYf4RCZrMJ05acfYXrHsRVGZU8XGwKyqItvHil eC4WMnZd7Dt5YMwW5QVdF4wBulseRk20R0HxW8iplQCI/8sb2VVSrQ0vVn+XrH3ArLSA fYVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eRYLFMN4nFfXhPgoEELUJ9OsPT49XxcunYWNJLqgHSE=; b=MRX8dVihkBDNZhoQ1oiqZkPwPZMM6Abpww7F4T4eQvpgRppcxTmvC1fjzw6TIfPQ2N rKXAF3xQG2VQGIvoXEOW/OJHzl6AXKLA1XEdx/dbhVyBjwbLNOB7Wg3f4qIw7IJRXOST 53PW1ZY444pTWL+/B2cgnSOBw/TnqK0yRZn/DjcKzY7eEL30nx4aO7vG9k06yLCztV4I H8uRaZn/W27Gi2HXUm1lcGC1gXL7F+hcn614kIpPE9KKacNA3lP0tyaMipXWKapFoPi5 iDfxcvU2/nFgZ5UgvLyJo2sWV0uQj9SCpkAzyV/X0jgPHER+OHC0RAJlKigPXbKqgene 46qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WenDNGnd; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h10-20020a50ed8a000000b004acc5cd2fe1si10482701edr.481.2023.02.15.04.34.51; Wed, 15 Feb 2023 04:35:13 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=WenDNGnd; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233541AbjBOMdM (ORCPT + 99 others); Wed, 15 Feb 2023 07:33:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230284AbjBOMdF (ORCPT ); Wed, 15 Feb 2023 07:33:05 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 411C928841; Wed, 15 Feb 2023 04:33:05 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id i18so11660778pli.3; Wed, 15 Feb 2023 04:33:05 -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=eRYLFMN4nFfXhPgoEELUJ9OsPT49XxcunYWNJLqgHSE=; b=WenDNGndpb/OSq3BzcF6AU3IZXn+RPN86YMLQ1QAjyzlmWKFtjKkKO2TlGZgVAYCpo UAkXUeUz+Idqs0+U8qIe5aPdJLTHoopwAPoUY2CB9/2J7JKNdtZAGmSZ5KgMYG9sd1Ct 5YvE92DdHS95Ri6z93aJzRFBtJc/eshbltJ7LjHz5oiPaeMp/GEj/+3lOAQBFumZLU2w T03SoIBlOxlx2tWBZoZYhG/hhVZ0HiiwYUY+jxmRVK7yIALJtxLH3ULmnW8RQNwKlwi2 KXE3BijWsSpgsFOEOGJ+xICM8nKaCvs/CHek3MVct7wyJ2fuZeKrsKmTpcTypmnt9M+/ E5Uw== 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=eRYLFMN4nFfXhPgoEELUJ9OsPT49XxcunYWNJLqgHSE=; b=v+OcgYQWVI1gwhHv4tPx4HgOXpzgV86moNFv5JM4a1+uPCataVJJTynqLdBaTz4Dvj BhlE0Tb5KAVtShuazkvC/F9vlyEg2kwAaCRBuCXofpFTi/zPHcf46LKOZbF9Jfki+Hgi Uu4m87yOVoUJbW+SOP4mkffAwBuVTLEd1FO6TFjWkbTehl+zY7ArgcvAgXaNF4gRi98U que3mtDgkz6FWOsadZTfxSycFQ6T53fuyqBhX0c7cztLwa6HCXb7DwcpP7VYA75F+Zc3 tYgpwUSZjVpeSeTyTxDlzRYDCuRTXG844qdhnNkBwixVlQhgZ9PMZbibLb1lZN9G15R/ Dnbg== X-Gm-Message-State: AO0yUKUgfmk7ZDszNo6ynLDDR0Pl6usu0UQGlyKPYKvMX6j9NZbbnu1d 0peuRJ4/2odhb2mHJPvLekU= X-Received: by 2002:a17:90b:3909:b0:234:13a3:6e67 with SMTP id ob9-20020a17090b390900b0023413a36e67mr2715633pjb.12.1676464384730; Wed, 15 Feb 2023 04:33:04 -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 fv21-20020a17090b0e9500b00230b8431323sm1384004pjb.30.2023.02.15.04.33.03 (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 DAECA105484; Wed, 15 Feb 2023 19:32:59 +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 , kernel test robot Subject: [PATCH 2/3] Documentation: bpf: Add missing line break separator in node_data struct code block Date: Wed, 15 Feb 2023 19:32:52 +0700 Message-Id: <20230215123253.41552-3-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=1458; i=bagasdotme@gmail.com; h=from:subject; bh=62NwC64cjyAWhaFrYFce2C+F3brashgF6x6NuyaIXGQ=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDMlvLnxJDvu8+uerssOvXIurX3etDJp9S391wButPqOtN0M+ pAiJd5SyMIhxMciKKbJMSuRrOr3LSORC+1pHmDmsTCBDGLg4BWAivs4M/6vD4+0UbR96/M7N/mkr0l oXynWj6JXZT9Vvqzev/St1xYzhr1jpisvCG8X+nek/Zj3dkLPM62Btja/vu8uT+mN7I46sZQcA X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757900453937256404?= X-GMAIL-MSGID: =?utf-8?q?1757900453937256404?= Stephen Rothwell reported htmldocs warning when merging bpf-next tree, which was the same warning as reported by kernel test robot: Documentation/bpf/graph_ds_impl.rst:62: ERROR: Error in "code-block" directive: maximum 1 argument(s) allowed, 12 supplied. The error is due to Sphinx confuses node_data struct declaration with code-block directive option. Fix the warning by separating the code-block marker with node_data struct declaration. Link: https://lore.kernel.org/linux-next/20230215144505.4751d823@canb.auug.org.au/ Link: https://lore.kernel.org/linux-doc/202302151123.wUE5FYFx-lkp@intel.com/ Fixes: c31315c3aa0929 ("bpf, documentation: Add graph documentation for non-owning refs") Reported-by: Stephen Rothwell Reported-by: kernel test robot Signed-off-by: Bagas Sanjaya --- Documentation/bpf/graph_ds_impl.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/bpf/graph_ds_impl.rst b/Documentation/bpf/graph_ds_impl.rst index 8bbf1815efe784..61274622b71d85 100644 --- a/Documentation/bpf/graph_ds_impl.rst +++ b/Documentation/bpf/graph_ds_impl.rst @@ -60,6 +60,7 @@ The new-style data structures are intrusive and are defined similarly to their vanilla kernel counterparts: .. code-block:: c + struct node_data { long key; long data; From patchwork Wed Feb 15 12:32:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bagas Sanjaya X-Patchwork-Id: 57515 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp164503wrn; Wed, 15 Feb 2023 04:35:07 -0800 (PST) X-Google-Smtp-Source: AK7set+85NlySHl8nGsDZVaAcotM/X3HULaTaAgpozXEoqMIq5C/Cda/vIg+o8TnBU68czkg5lCw X-Received: by 2002:a17:907:98d9:b0:878:5524:e932 with SMTP id kd25-20020a17090798d900b008785524e932mr2540271ejc.5.1676464507710; Wed, 15 Feb 2023 04:35:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676464507; cv=none; d=google.com; s=arc-20160816; b=VKkCk2nj5U5zkP31GVaUVD/fvIlFz6ngLbx7HQdSOFyFEStEeL0V8nREJ1n67NR5tN zj/HdcNPrJ9jfojthK+UcgTMyr2N9lSKTun5mJrJiQGEe+bl8adtY3ailipmT/7wOjnI 6XPsFo8Xg2xu+NxI3akWyYV2IX61TRgV0RhfWKIoJ8/q/2IFxpvHOd473hKIcQwzbxEs ElLr2KQyrNGQRTAjhz5k0lFnFjQN6UV5y3no8pamTlXw1Wv67c1cwGFSrE0GE2LoeOlm 2hfmRjRHtOAjfiBbKh0CCwictB2Un+bMrePYo1LYte5bYyjbGsY87OrJPrd7RkJgVZde ZMBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KfufL2R00gIT5+p6ohoSf68FEJlxpyChqygBx8E3+7Y=; b=rr5XcJlXwOC00zVSmQd79PToG1VJOAQt9pZ/zjIPofOe/f1LVlOJ0J+8PX+19gXjGZ y/rjiLQZejBqXjZxzlacXhBAFGzweLlCuV2flp3QVWMrF64ze5blRQVUcu7utkno7WII ohdpu5glGIG2Ki10arxjEpeuOxdomNEck4QzgNvOsztNZIMB++ByBhCEC37cl1dfalsS mTgE7B3w/VgJ67JVARONEVAo2myasYS0Mkm3XjDdot3mTIjynxDcF9yjNRA/k3iSVsgJ sDnyA6GqLHoyLiGnKxuXDPQZRylhm/Q68cWt2IYt45/asXbyqKmymRbFfMTyqfTu7Mrr spag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=T59RF1pq; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id aa8-20020a170907354800b008aac361e84fsi14797623ejc.775.2023.02.15.04.34.43; Wed, 15 Feb 2023 04:35:07 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=T59RF1pq; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232791AbjBOMdJ (ORCPT + 99 others); Wed, 15 Feb 2023 07:33:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229618AbjBOMdF (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 804A036446; Wed, 15 Feb 2023 04:33:04 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id o13so18043021pjg.2; 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=KfufL2R00gIT5+p6ohoSf68FEJlxpyChqygBx8E3+7Y=; b=T59RF1pqTWpYk9Y9uHmTFoauRukdIcU8prVrThhLMybqY6KszWBGH8SgtvUNDNK8EU bHmJ4luWdBhxgaAQurXBtrSBC9YmBnhFUqgiAphj2aEYcbTlNPnglt0GZXIt3G2PF+3R tlbVq/qLMcM7kUaz9+X0vztifbBQ0pDaX8QPSSL8E0zwai47qozYtR94F0Ok9fDWwbkS 9Bh2SbSttlM3LkH72pBLDESfORBpQ4BTkD8LvQcpjo+QGTunWVl4wy+vuSLKtWFxhi3X g6w6U3cLe7RGZbUjuETUJ79BEpoE3SInvFOegR+VA5iVNDgRYm+HAx8Bq2rCl6gyUbrU a04g== 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=KfufL2R00gIT5+p6ohoSf68FEJlxpyChqygBx8E3+7Y=; b=eSDLJ33FKWLYKfnWAZKxWHOfim/4O+hURlwF+Ooet4fotzk2BzjtHcX9+kV/SM915/ ckXCAr8FrFNr2D0wVd8Xd5UTBe3xQLztcwkirnqjb7+f0BAfbFSHuWeCcw4CdUuxUHfb EJTlmdXejGBVpSmPilZG4s+ob8hOmeptacwqSyE7WkLbjSEnUQD3GPgicjtyU8cVGwG5 a/7mxyZHZkV8dL8G4OyQKkYMjW9XFSS3GV3eeJZE2QI73nDWIuKNLmylkka6wm6+ZWql KlA+sN32x0zIa1/mfrWoPj63/jzVaBmOpi6U39GFi1jwp8iTB34puoSM2X0N2ox8iHwE 7RkQ== X-Gm-Message-State: AO0yUKUQSFztp/rVmxVFpC2kJd/uW0Bs+fo6zaP7oSJMNLKLZLs0QW1T RXLpRE4EbLWF/vfjAajRxVQ= X-Received: by 2002:a17:90a:5e:b0:233:e1e6:33dc with SMTP id 30-20020a17090a005e00b00233e1e633dcmr2463233pjb.48.1676464383937; 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 nn9-20020a17090b38c900b00233cde36909sm1361116pjb.21.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 EB8BC105499; Wed, 15 Feb 2023 19:32:59 +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, kernel test robot Subject: [PATCH 3/3] Documentation: amd-pstate: disambiguate user space sections Date: Wed, 15 Feb 2023 19:32:53 +0700 Message-Id: <20230215123253.41552-4-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=2075; i=bagasdotme@gmail.com; h=from:subject; bh=fHPohjK/K4qEW5HlKhcOAQGypSB2hKRI2mFU/Af9yJ0=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDMlvLnypFeHJP9U//ZjaFwfFUEO5TL2iD6n7ZjXtdt++xeDk u+cqHaUsDGJcDLJiiiyTEvmaTu8yErnQvtYRZg4rE8gQBi5OAZjI6RSG36zXw4WPvT4wU21n1MzThQ 1NrRue5ibYmTPztAkrFj0qXcrIsOPQBrut18W+FQR/Sk56Paf7WmjUptzYRV4pbtdeOf7YyQUA X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757900447453641328?= X-GMAIL-MSGID: =?utf-8?q?1757900447453641328?= kernel test robot reported htmldocs warning: Documentation/admin-guide/pm/amd-pstate.rst:343: WARNING: duplicate label admin-guide/pm/amd-pstate:user space interface in ``sysfs``, other instance in Documentation/admin-guide/pm/amd-pstate.rst The documentation contains two sections with the same "User Space Interface in ``sysfs``" title. The first one deals with per-policy sysfs and the second one is about general attributes (currently only global attributes are documented). Disambiguate title text of both sections to fix the warning. Link: https://lore.kernel.org/linux-doc/202302151041.0SWs1RHK-lkp@intel.com/ Fixes: b9e6a2d47b2565 ("Documentation: amd-pstate: introduce new global sysfs attributes") Reported-by: kernel test robot Signed-off-by: Bagas Sanjaya Reviewed-by: Wyes Karny Acked-by: Huang Rui --- Documentation/admin-guide/pm/amd-pstate.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/admin-guide/pm/amd-pstate.rst b/Documentation/admin-guide/pm/amd-pstate.rst index bca9a0ebee3ed8..6e5298b521b18b 100644 --- a/Documentation/admin-guide/pm/amd-pstate.rst +++ b/Documentation/admin-guide/pm/amd-pstate.rst @@ -230,8 +230,8 @@ with :c:macro:`MSR_AMD_CPPC_ENABLE` or ``cppc_set_enable``, it will respond to the request from AMD P-States. -User Space Interface in ``sysfs`` -================================== +User Space Interface in ``sysfs`` - Per-policy control +====================================================== ``amd-pstate`` exposes several global attributes (files) in ``sysfs`` to control its functionality at the system level. They are located in the @@ -339,8 +339,8 @@ processor must provide at least nominal performance requested and go higher if c operating conditions allow. -User Space Interface in ``sysfs`` -================================= +User Space Interface in ``sysfs`` - General +=========================================== Global Attributes -----------------