Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp539865imn; Fri, 29 Jul 2022 15:08:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tNZnTOwkeSWg0m+KvrHuzuS98JWE+ySfLviM4PxmjzqpVxWS8Oxvjckf8KXRH7sJ7BoWGw X-Received: by 2002:a17:907:c2a:b0:72b:8119:4da9 with SMTP id ga42-20020a1709070c2a00b0072b81194da9mr4255204ejc.746.1659132521323; Fri, 29 Jul 2022 15:08:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659132521; cv=none; d=google.com; s=arc-20160816; b=dLS1FbOVT/h/21HsOJZvr5dl37zh7ouMcLh6gPXvSGRJBsog1uUBBummA94x41zuhQ mJUhqA9Zydpx2wk1dYnS2zeKRXRqvuCIhb9XGqL1SGSfCWLxNcggHkt3GPlWck+3g5Kt tXrTVIqPKoa1syKpIbo8ovApNzwJo2gOJQ/NRmDRTD5LJ+M2dIflafdzwyXhV1fG8qpA HhWCs77hVnTyKR75kJUU7OusrP2cNVMYZAuXA56fVzJSghJ0BgeyWaM8NlzdJ9F5NO1O uY+orMrQ8Hi83kwkKjAP0WTupJmWkX5Nr6Bekekq5yKKSXPd908UDH8IWNKWpKsXfrZ6 OtBQ== 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=wrKILRxKPGwT6wk7Ajnr1TkkdTUDvWFahFhfVMdrEgo=; b=AC/KQKnknD/cJe90vxgRs/3d8RmqwCH3Xlh/52ZPPpCnh3PzolueBn3K8QNwAkbFpy FBmPWPXynFYU7CUXyvP5fHLm/sVk1lYL1dAmJvs2x948uABY+tjI7LnwD3HodJR1bk9E rcbLt6bJUvcUSHz7VHZRlkEY0t7r46pXWm++gMKVD7HnxO0ACJxgRN+kdkn08xRXChNJ FtM41to/cI4egioZbbw9fbx2XGRUSaJ48WxrgM8s5m/TXbi+UtvND8hlmTOs0dk2iDji n+pLd6ss1IWAjK0qmOqN5/XeJss60+sD18npu69xvJbaRtqr9Y9KCAF8J+MnJvLMChlC 9aDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=pF1+1BfC; 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=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j13-20020a05640211cd00b0043a9eccd16bsi5215858edw.258.2022.07.29.15.08.16; Fri, 29 Jul 2022 15:08:41 -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=@alien8.de header.s=dkim header.b=pF1+1BfC; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239465AbiG2WCt (ORCPT + 99 others); Fri, 29 Jul 2022 18:02:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbiG2WCq (ORCPT ); Fri, 29 Jul 2022 18:02:46 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 694CA8BA9A; Fri, 29 Jul 2022 15:02:45 -0700 (PDT) Received: from zn.tnic (p57969665.dip0.t-ipconnect.de [87.150.150.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 853D51EC0138; Sat, 30 Jul 2022 00:02:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1659132159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=wrKILRxKPGwT6wk7Ajnr1TkkdTUDvWFahFhfVMdrEgo=; b=pF1+1BfCwH1/XXlJBgjJaV3EOTk7Sb+S85dpADswCkM4pOFd9M1e5rnX5mLTii8V7XMaZM tlVZsJmBjozOkuVowGtAo+7tV7vNoCfN3CZRuy90COxQzqHWmY3c79eWu9xL6gM+npY3pG Xta7lO/9dqvyipNeTNUNOfck0CH2Df0= Date: Sat, 30 Jul 2022 00:02:34 +0200 From: Borislav Petkov To: Pawan Gupta Cc: Jonathan Corbet , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, tony.luck@intel.com, antonio.gomez.iglesias@linux.intel.com, Daniel Sneddon , andrew.cooper3@citrix.com, Josh Poimboeuf Subject: Re: [RESEND RFC PATCH] x86/bugs: Add "unknown" reporting for MMIO Stale Data Message-ID: References: <20220729022851.mdj3wuevkztspodh@desk> <20220729173609.45o7lllpvsgjttqt@desk> <20220729214627.wowu5sny226c5pe4@desk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220729214627.wowu5sny226c5pe4@desk> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 Fri, Jul 29, 2022 at 02:46:27PM -0700, Pawan Gupta wrote: > Let me see if there is a way to distinguish between 4. and 5. below: > > CPU category X86_BUG_MMIO_STALE_DATA X86_BUG_MMIO_UNKNOWN > ----------------------------------------------------------------------------------------------- > 1. Known affected (in cpu list) 1 0 > 2. CPUs with HW immunity (MMIO_NO=1) 0 0 > 3. Other vendors 0 0 > 4. Older Intel CPUs 0 1 > 5. Not affected current CPUs (but MMIO_NO=0) 0 ? Not affected current CPUs should be arch_cap_mmio_immune() == true, no? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette