Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp572210imn; Fri, 29 Jul 2022 16:23:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uHteXj2sLJmxb8RL8m4JopxDt+WjDA6Q9hpSwncDP++S03KYGLi3dN3SGjFtcUNioYK/Xm X-Received: by 2002:a17:907:168c:b0:72f:2b36:5f03 with SMTP id hc12-20020a170907168c00b0072f2b365f03mr4728319ejc.750.1659137039105; Fri, 29 Jul 2022 16:23:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659137039; cv=none; d=google.com; s=arc-20160816; b=VrUkbc4G2wF3Psr/VlNS0MbR/2+qgFdPYlX3+smQg3O97KIXZpC7kHrfpdHux0sd/n SnAF6np1qI5IpD25FGL3hqAsdXJ/m8tCguEXE5+h4y6alksPgCQj8QKXq1jZy1RaAH5Y sVC19jB7ryYEo1yxc41orJhjzj/yOThP4Ii06lJx/HC8lRzJ0fd+PyfN3a2n2a6T/T91 Y8K6AtvCqUiuCT9QWmbjuHnSLWXx9jl1LZhh2YEh6VCIM/kvOnqRpe3lTgkEhhRebhxx hqMwfXARA2fJtMHeu4zHNnwhlj/1tDip/0hwctIU9rDPt0zhPeVqBRUPfQKaNu9gKXmP a+rA== 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=c5YUeWIFUMV+8Vu+027iklFxqeHVdrm0F/mGwyv/8eY=; b=tz+KsiuI0eoTZ2MwwoPLodIofkEQYvAUItwbSN4lGGcHdM1E8VzVZfE5ZtcB9wzrJe 9RBsb5YqiSIZY7SeaCBZqFTownexUTJsIXquDRw8AXzr1O5qu5I3xMI4HvYgEE2SBrf3 Rde5uubj+r1Kqob9Qmmayd/tiSDH3OXAWCaQV9qQoHZec7lw+zsf584yxP+UHhP3BobO UnJE9b5mfbzvqfMOLI5Oy8kew/qO8WcCRPvKPkjdEblyjo2RRLsDc1PuG9dCzLJZKVHi jyc3lqwKumvkADLGj969gCcYTY1FjTPqt50cTJ1oLaQ9+6OqQ+XdLEXNr1dVgT57vNNi u95A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UJphJ9gU; 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 x19-20020a1709064bd300b0072a4bc2162asi4213787ejv.272.2022.07.29.16.23.26; Fri, 29 Jul 2022 16:23:59 -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=UJphJ9gU; 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 S232250AbiG2XHo (ORCPT + 99 others); Fri, 29 Jul 2022 19:07:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231536AbiG2XHk (ORCPT ); Fri, 29 Jul 2022 19:07:40 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D0BD89E9F; Fri, 29 Jul 2022 16:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659136059; x=1690672059; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hGwXsBPfLbniIEZXPfhnODd25ALV2jQacZ1UuFVjN/A=; b=UJphJ9gURVgIECgKYoGf5W92RhRSxtEZx7zFIHBjpKFq8GOJu10wZOik bA8DJH9GigHP00EZIX5QPs6boA8zjbBCoJJ4FsblVlSjsaHjUmMlqLuvS FO7eiOQ/Qcvfd4DhIr0YiSLBiuYSmRWUhmV/3OpTxpVD5tUy3mXn28Krh EbDE1Z6L++Ms7SUeh+gl7RRL/st/qdB6zM1o6Awnu7qRmLgQc8/J5t9dS i9e4sVfuqheu1Q97iK7StWyOnWXuulR5Lqpex1GlM9HeP7UEMevx4NkQE mF/I9hez7i+09BR1SOowx8afSGzfSPXtSBD7XpAfyqWK4YdrkD3R7I5+Z w==; X-IronPort-AV: E=McAfee;i="6400,9594,10423"; a="269247449" X-IronPort-AV: E=Sophos;i="5.93,202,1654585200"; d="scan'208";a="269247449" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2022 16:07:38 -0700 X-IronPort-AV: E=Sophos;i="5.93,202,1654585200"; d="scan'208";a="629549660" Received: from agluck-desk3.sc.intel.com ([172.25.222.78]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2022 16:07:38 -0700 Date: Fri, 29 Jul 2022 16:07:36 -0700 From: Tony Luck To: Dave Hansen Cc: Pawan Gupta , Borislav Petkov , 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, 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> <1bcf0b54-6ddf-b343-87c5-f7fd7538759c@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1bcf0b54-6ddf-b343-87c5-f7fd7538759c@intel.com> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 03:54:58PM -0700, Dave Hansen wrote: > On 7/29/22 14:46, 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 ? > > This seems like something we would need to go back to our colleagues to > figure out. Basically, at the time of publishing the > X86_BUG_MMIO_STALE_DATA papers, what was considered "older"? > > In other words, we need the folks at Intel that did this good work to > _show_ their work (at least part of it). https://www.intel.com/content/www/us/en/developer/topic-technology/software-security-guidance/processors-affected-consolidated-product-cpu-model.html Click to the 2022 tab. The MMIO affected/not-affected status is there (you'll need to use the horizontal scroll to shift over to see those columns). This table lists all the CPUs that were not "older". Any CPU not on that list is out of servicing period. -Tony