Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp409266rdb; Tue, 5 Dec 2023 08:37:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGyAV6Lf3HNE7H7UsRERYFsB9kouARB+d1CWZjmfWZR4KFDBJsTf81QKMpJkVpNSg/Nho+7 X-Received: by 2002:a05:6a20:2303:b0:18f:97c:8a4c with SMTP id n3-20020a056a20230300b0018f097c8a4cmr5403181pzc.119.1701794256322; Tue, 05 Dec 2023 08:37:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701794256; cv=pass; d=google.com; s=arc-20160816; b=h9s9OZcJ89kaaV5LLBVRhgzdjmx+FcTpAxq9H6v/LaLSS8u7EALbYrwkts5Pe9X5Vv 59kKcOs3iX35Tku3WB7imP/ozhkqIG4df+MTz4NcOSuThkUacwWCx7h69ofNiB7U6kIS wb11I91+xm1XUt1udOehRuKaK2eug+vNB0+acwWjYplrLqE++Xnjecd7oUYqPBsjB1Ta 3nHnDXKgoyoA1N9I7n7gmll+IV0YdP5ISllt52eQxcK5mxQlmp9OYgLQT6gHiaBMIAbQ fFAJIdXBQDAwrUBEJgLq2+bI4OQr5+OHoMGEMqQYBdqlJmvdmUeIV/t+/LYzbPld3fpT vCAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=vWq4cRKjGjGEj/rIU1sDw8YYJfPvtvJYttuv4695sM8=; fh=Et9i6gLXiyONCROviBdZgmaocwWLp1ZjVdug1lVe7+I=; b=G5sxa8YGfBYqxnv0NBsDH3s7dPdSCDLtCQjYpEzwaxPMfiOvGKoFMgMnMbfOgokw/x 4yqxknHPvnkwsVnhuKPhHw3y/yB56kibYYOTD2hHSzETjN76P2F12YFIeo9JgNytVIci 4VsC6cKmYDgykvGUheVwMuYStWylTrQn3gzwqrglug3WhM9Lft4tHZmKfmQuDwS57VhI YsME+5lzt5n8P9cHhNpLtlUqceYDPmPXhM/eAT4blliv7lJNENJ+mIpUbroFWMHXClOB pT59eUp1TpKuf959nHNzb42JTs5VkvFtfRaBox6hPAGqkwTY+AkSFOO10QiHg8dNbPro mhsg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="CiIBOjz/"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id u42-20020a056a0009aa00b006ce542061fesi3458669pfg.369.2023.12.05.08.37.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 08:37:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="CiIBOjz/"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 3EDA880ABFF1; Tue, 5 Dec 2023 08:36:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232133AbjLEQg0 (ORCPT + 99 others); Tue, 5 Dec 2023 11:36:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232119AbjLEQgZ (ORCPT ); Tue, 5 Dec 2023 11:36:25 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A57C31A2; Tue, 5 Dec 2023 08:36:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701794191; x=1733330191; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=vUJW0fTnE5jy+DeAWtBVTk8afsmkvtAE83nnpuVwugc=; b=CiIBOjz/IImgUKduNziI2r1REecGYO9F/SA4eIPK62rNXT0pqfwloh9R juHlz5t8jO9I8DbvfkBljliYV83dgXllS9NMSK6aZCjHaVtjMXxXXwDyT UqW5lGsUrmawIdieDyLswQbXeBpP0VYo2eVCjpS/4kR09jaFzBXEeQ04o dJLeBzCCQQHzyeJQ5xLKPFucRlNWpK7vb5wjiaDGkrVn/wlIP6ABFN1vx uIVr/3IiADdkCQDHZyMd3u+qjP7R4bKP/Bl8Rxmmuu+4mlhkb2xbEPaV0 yvoEMuofuU7jWcgYfCevISE3K2LqPRS2YCqkpwGsmHViUrGL+BjyZbhlS w==; X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="374107191" X-IronPort-AV: E=Sophos;i="6.04,252,1695711600"; d="scan'208";a="374107191" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 08:36:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="774687077" X-IronPort-AV: E=Sophos;i="6.04,252,1695711600"; d="scan'208";a="774687077" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga007.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 05 Dec 2023 08:36:31 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 5 Dec 2023 08:36:30 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 5 Dec 2023 08:36:30 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Tue, 5 Dec 2023 08:36:30 -0800 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.169) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 5 Dec 2023 08:36:29 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oaf6aSmr76whFZ4MS0+oW1xmRbgOxMbR76MxE4SiQjmp4rOyflxUE7heGaNWR+hY0dsmfFO1pn5V05VSr5YUbeCdinloZewYiupoyZ5mYlD3yKzRaw3gjZ7SSuCs8nSZ38zad0RvpewPYtlGumpzLZ+QfD9HzqeyRrT+1sefw/bFMZb+LUCTD7sK/2DM7eGsl0EICVe0oPzfHlhN55hXLeoorirEEXjA8CobhpCQbk44266sANdooAL/Dna430t4Rc6SEwIrwFRJQK7uVV3MxQdN8Wj/QfKDEsUdVyCCmPXMzmS2UxnSE8NrX8+4K63ulXZFCPyqfBnFSmOSzVEYyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vWq4cRKjGjGEj/rIU1sDw8YYJfPvtvJYttuv4695sM8=; b=FgQYrIPgytYnsPy204kvkJXNvib/frU9vNVp0PDXA+HMIzbj/u63uCEo+mrZXfN9w33wL21ZZYwqijyQXzQ1v+aS/CHyOqaYUPKCuxFIcTsVEZswCoN7EqWXLi2u3lPDsveYd/IOhR4a0yaGIQ/Ny1uq7SL+bMRvs72WzZ456DVpyPoe3K9FIhazAX3E+r+huIujHByICWADRsTYEeJcKDsy6UD+6De/7U0M/oj8EVJ4QeUBJzmqzsDzrIv84ausLT40ID2Q8DTTjt5TvoB8CkenaABqvk7QPEk6qhPkkHAuJNPVn3a7IHM6oNXlYncNRJlrAZJ4YuOuqneB1Ljq7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DS7PR11MB6077.namprd11.prod.outlook.com (2603:10b6:8:87::16) by PH8PR11MB6802.namprd11.prod.outlook.com (2603:10b6:510:1ca::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.34; Tue, 5 Dec 2023 16:36:27 +0000 Received: from DS7PR11MB6077.namprd11.prod.outlook.com ([fe80::f9b6:70f1:6ecb:5d45]) by DS7PR11MB6077.namprd11.prod.outlook.com ([fe80::f9b6:70f1:6ecb:5d45%4]) with mapi id 15.20.7046.033; Tue, 5 Dec 2023 16:36:26 +0000 From: "Luck, Tony" To: Sean Christopherson , "Hansen, Dave" CC: "Huang, Kai" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "rafael@kernel.org" , "Gao, Chao" , "david@redhat.com" , "bagasdotme@gmail.com" , "ak@linux.intel.com" , "kirill.shutemov@linux.intel.com" , "mingo@redhat.com" , "pbonzini@redhat.com" , "tglx@linutronix.de" , "Yamahata, Isaku" , "nik.borisov@suse.com" , "hpa@zytor.com" , "sagis@google.com" , "imammedo@redhat.com" , "peterz@infradead.org" , "bp@alien8.de" , "Brown, Len" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "Huang, Ying" , "Williams, Dan J" , "x86@kernel.org" Subject: RE: [PATCH v15 22/23] x86/mce: Improve error log of kernel space TDX #MC due to erratum Thread-Topic: [PATCH v15 22/23] x86/mce: Improve error log of kernel space TDX #MC due to erratum Thread-Index: AQHaEwQcZt17Ep6kgUia2q29VahHabCVBeyAgAKQEICAAeymgIAAQRWAgAASFQCAABYugIAABCEAgAAougCAAPMOgA== Date: Tue, 5 Dec 2023 16:36:26 +0000 Message-ID: References: <9e80873fac878aa5d697cbcd4d456d01e1009d1f.1699527082.git.kai.huang@intel.com> <9b221937-42df-4381-b79f-05fb41155f7a@intel.com> <1a5b18b2-3072-46d9-9d44-38589cb54e40@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR11MB6077:EE_|PH8PR11MB6802:EE_ x-ms-office365-filtering-correlation-id: 2d0bdbba-ffb2-41ae-efd7-08dbf5b05384 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rXd6TW/yT6w4xhsaU1zPjFoUifnMiEKSyDYwLcvA84eoMVa6lhQtCzz6cMATDxBhSyabzYEZartPA7wy8ds4AEz8b1/Hj3tEnVGVJEeke0MiMWi020yAUV6NpeSDlZvEbnl02y8VhlMZoPzPRWsIswHdmM5NvlVjNfStITcpHbeOEtF5o95GfEY6TwMmfjal7m7oebOnJTIwTe4Rzw73wiv6wlaM1qXih7oyu8EcHTiUqJsP7ioQHACWK4AuU8yzHAdsDk8uz37U7kvQdcMHfmrsT29aANqkZfaJaXgVAMNvH3moyzIzkmlqzSDF8EkOsketby9mt9yJkpHemR5zxBEmc0uRHMZ02ca11S38PTjFbCgag4FlpIag4IcnoJxD1EN43GUZDXqFWZzfJ6tOJRf0OezTWj8U8TEaDAOXjwGxZN6RoVmBRxP3Hrxvj78vAVN2wF7Uea+ANMU7Okfy+SOmPfJjpet7E6syBoeQOoSynH6ZWVnilZU45cuVOoiGKiZEzFHUL+Sg9i3unShdbg1jXqSw6DYEZogRQUqxVBpcWNv80wvaoCUYBwvQXvlzjC81Q90NnbaZpnvM3O+uYIC5CQdjR7NCNk//LwzSKkVhc4TRq/dEKSsw+d+71Bvh x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS7PR11MB6077.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(376002)(346002)(39860400002)(366004)(396003)(230922051799003)(451199024)(186009)(1800799012)(64100799003)(8936002)(8676002)(4326008)(7696005)(6506007)(52536014)(71200400001)(26005)(9686003)(66946007)(110136005)(54906003)(316002)(6636002)(64756008)(66556008)(66476007)(76116006)(66446008)(478600001)(41300700001)(4744005)(38070700009)(7416002)(5660300002)(2906002)(86362001)(38100700002)(122000001)(33656002)(82960400001)(55016003)(83380400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?NGsMo8ijy6m7FpTF23/gXaEDlDZ8PaJhElrvXUUx6x2KipvCbFnLCk2mpA2D?= =?us-ascii?Q?ZYMdJe4m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6ZD648f4nX5QQJ5?= =?us-ascii?Q?VEzsdfQ62LdYtYiTE9K1ZEMWC+U1E1wOR63yERMYF6rkVX6ESxE97ozGCBNL?= =?us-ascii?Q?xi/U5SdR+OUOQkrRwB3ISfSr3ZrMKnJ5X4sRVyB4jAHvGXytXnfTaVuhFfBS?= =?us-ascii?Q?rIL4cC5T48eEcNYEB3ku8S9FWsWwB+Xwu669LQZhVu3WWlghiXhuNaZyLk3y?= =?us-ascii?Q?0w/lSWM0OxDDhh3MKPjrw6W9x1Qa4ASQxKbTxR+kWYBmn/wDBgdlFTO5Z5sA?= =?us-ascii?Q?gadn+0arckWtJjKtDzmG2/Jm2PmRydllQ3M6ZU97xmLK3if1clSKkblu/Trj?= =?us-ascii?Q?3RAOlHhyBqXIP1QWGoc29I5USWJ+GEjqnIc/wY3ayel2D+90cuCkyUcvYSOO?= =?us-ascii?Q?cCVQfw5hJoXdndXd1N3SC9Tp48/a0P2awMBDIOHMg7QJFN2/uN168G0K9Uoe?= =?us-ascii?Q?8NNWFD3S3qnQI64ksltF0NCes2Hngcpp91di4/GiesGoEsz9LR7r6i3DNwRf?= =?us-ascii?Q?pWcIV2B6lNaf5bseRUA5SbmMn0oBNeo5M69F6eHLAtzUwW3QOXkAQf3sCE0h?= =?us-ascii?Q?mRX0+h0xtjHlOlO3Q8A8mRTcGr6T4TDOD6eHpTswOUfNsD9fA8orhgkBrx+O?= =?us-ascii?Q?lONK37R1TKwAjITw7x24XleJTWcbXkX2YcPus1o3?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR11MB6077.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d0bdbba-ffb2-41ae-efd7-08dbf5b05384 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Dec 2023 16:36:26.7149 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: QiK58gehfD0ljQ1fZVq/8AqwrDiH+gid+0TqBA3F3jcT1yTE195ni8NtJv6mACniho3MuZ+UJnXwYkBlInB36Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6802 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 05 Dec 2023 08:36:42 -0800 (PST) >> Fine. This doesn't need to change ... until you load TDX. Once you >> initialize the TDX module, no more out-of-tree VMMs for you. > > It's not just out-of-tree hypervisors, which IMO should be little more th= an an > afterthought. The other more important issue is that being post-VMXON bl= ocks INIT, Does that make CPU offline a one-way process? Linux uses INIT to bring a CP= U back online again. -Tony