Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp588334iog; Wed, 15 Jun 2022 08:14:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uTXbgqhJNSwjjEVO1VmmpC0VtNhSYzySzwnjq7XYnabNFbtG290uSUUsKfeUW9UTAwNuka X-Received: by 2002:a17:906:c155:b0:708:21b1:dcf6 with SMTP id dp21-20020a170906c15500b0070821b1dcf6mr238347ejc.661.1655306066254; Wed, 15 Jun 2022 08:14:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655306066; cv=none; d=google.com; s=arc-20160816; b=ANP+fLyZ83xwB8VINignguBt0IWaQ8c/Ar9oV0FDSUVlD/P8F8czcRLB1TJfbavsBN +Biftpv6C304+qr0jXMGgv6XG1P6FdiGQ9zqrbPhYwgtsry/mSI7UeHrlcJqJjNQhbI8 yUsknAgCk2uV68m0+Okfy/T9MZVoHxRC2OyF12cNu7ks9grBQGhRf6J8rFRjIKs2zysR Ymu9Uwp3N2j9bZCOIBYIngZMLikw+dSYcoZXn9wUJ7NoT14ScEXXB/R1pGr8SsJ0xA6v 2FNKuddPDmC7FkLNGflZTgQM/SrgGCg1zfXWKNFRH8vh4CX+kC6MehhHNOnrPE4Cbzwj u25Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=vC9CwTdZm/z4Pz05ijVwgi0T285E+Nc749dDtbDBeGA=; b=tsv5j9hHF5xXVFXH3VUL86BOxxvj+uhkGyn+X/ofewEoEOxuo9jeZS4IzACMY2Nao8 g85iid8bgSNOlSnH5Ve8k/x3swG0vy/f/c3TYRE6GDlk/ZzMgrzP5GgtKoZIXd12B4DJ Zz4afoumsRLD4yFYSVc/tlXjts2yYPaF80cYNTCl3MAmIzK/Vhnm/C5klLGFtVHbAQWq 1acEanPl41A9/ChsKPT5aGzzPF7/tL7Ush3+KqNKmnarfs6bg3XWgwt90IPERSaxcp3a 5qURJLPmhsO146L0OgEOqYK+uoq88BXl892y1hWXinlTiIvVNz+uhRcL+qhuxpgQg5U0 ro6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=DTHl2fuV; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l8-20020a170906794800b00711d1497f8csi15793819ejo.961.2022.06.15.08.14.00; Wed, 15 Jun 2022 08:14:26 -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=@lwn.net header.s=20201203 header.b=DTHl2fuV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345540AbiFOO30 (ORCPT + 99 others); Wed, 15 Jun 2022 10:29:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347340AbiFOO23 (ORCPT ); Wed, 15 Jun 2022 10:28:29 -0400 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C092DFF5; Wed, 15 Jun 2022 07:28:28 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:73::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 15D5335F; Wed, 15 Jun 2022 14:28:28 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 15D5335F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1655303308; bh=vC9CwTdZm/z4Pz05ijVwgi0T285E+Nc749dDtbDBeGA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=DTHl2fuVd21n0ootoa07lZCvZ5aKSDBF0aoRrd9rhFyjwXKJHTmTJBAzJWDOYnhv0 4xsBdLyrQKe+YrCXn7j8fzRN6wbyYbCvrnfBSiYxJiz1mvMipb9cAsPDVfXLldLKsR ZbdnPTRdppX5NMLE2TFuS363wVccn6ZpxIts2UkL0umlG23cCge/+/D8BtprRIwBSZ 5YhIZJaTj1slK+fdIdj/KupZzp3JzpJsjo1o/CTmsAaswXpMAC8M0vSwVibiWuZWto upyxO2fLkjDUSWM8Tdl3c4+ytFpTT6/l8X/wOHB2hJkvI6EwilQ9V5wuUI5LM2RiN3 M3RJ5yzaIiMtQ== From: Jonathan Corbet To: Pawan Gupta , Bagas Sanjaya Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Borislav Petkov , Thomas Gleixner , Linux Doc Mailing List Subject: Re: [PATCH 5.18 01/11] Documentation: Add documentation for Processor MMIO Stale Data In-Reply-To: <20220615032507.go6t24dyzotpe3xv@guptapa-desk> References: <20220614183720.861582392@linuxfoundation.org> <20220614183721.248466580@linuxfoundation.org> <94468546-5571-b61f-0d98-8501626e30e3@gmail.com> <20220615032507.go6t24dyzotpe3xv@guptapa-desk> Date: Wed, 15 Jun 2022 08:28:27 -0600 Message-ID: <87tu8muhkk.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Pawan Gupta writes: > On Wed, Jun 15, 2022 at 08:06:37AM +0700, Bagas Sanjaya wrote: >>On 6/15/22 01:40, Greg Kroah-Hartman wrote: >>> + .. list-table:: >>> + >>> + * - 'Not affected' >>> + - The processor is not vulnerable >>> + * - 'Vulnerable' >>> + - The processor is vulnerable, but no mitigation enabled >>> + * - 'Vulnerable: Clear CPU buffers attempted, no microcode' >>> + - The processor is vulnerable, but microcode is not updated. The >>> + mitigation is enabled on a best effort basis. >>> + * - 'Mitigation: Clear CPU buffers' >>> + - The processor is vulnerable and the CPU buffer clearing mitigation is >>> + enabled. >>> + >>> +If the processor is vulnerable then the following information is appended to >>> +the above information: >>> + >>> + ======================== =========================================== >>> + 'SMT vulnerable' SMT is enabled >>> + 'SMT disabled' SMT is disabled >>> + 'SMT Host state unknown' Kernel runs in a VM, Host SMT state unknown >>> + ======================== =========================================== >>> + >> >>Why is list-table used in sysfs table instead of usual ASCII table in SMT >>vulnerabilities list above? I think using ASCII table in both cases is enough >>for the purpose. > > Maybe you are right (and I am no expert in this), but quite a few > documents use list-table for sysfs status: > > https://www.kernel.org/doc/Documentation/admin-guide/hw-vuln/mds.rst > https://www.kernel.org/doc/Documentation/admin-guide/hw-vuln/spectre.rst > https://www.kernel.org/doc/Documentation/admin-guide/hw-vuln/tsx_async_abort.rst List-table should really be avoided whenever possible; it makes reading the plain-text files difficult at best. I'd like to see the existing uses taken out over time. This isn't really something to be addressed in the stable updates, though. jon