Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1414342pxv; Fri, 23 Jul 2021 07:49:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymjf5GcBTjtaxfnhTg0HDmMLRmsmWP45SvfMkhwfovVptF+6HhkMpHUtxly0bDi3degT0t X-Received: by 2002:a17:906:5e09:: with SMTP id n9mr4964238eju.15.1627051770474; Fri, 23 Jul 2021 07:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627051770; cv=none; d=google.com; s=arc-20160816; b=BvDFHw6Nxhj49TJXwUP5Vm0ztHCWd1nVsFQzLB/MX6iFQ3aYqil5SBUdckiUm0kDSl //ruYuwbMZbDTVwfHMHX3+KOflkqZVp4A7lSkGA0rWYeqObf8tm++7YntXtBPMDjSaV+ EQ31FNi8Mlhfw8QFWKFrXhXg2NRniMRAS/oNiXsJssEcQgOUjqN33VEudi7oelg6upxL gjIlOk4AMCrw1j6IromFk8lnXZTY2eCXX6x3Ffqdx5h7XsBvjrL0X+cuFxQMAC+6SuA2 +EYZ8RYPBirq2ANfDN2OtaC3zNnpa5brqAiP84eFRgrxrdD4xUATcSusuZImobCeTl0P rO9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=xeAhbllqS2I/rXLfS27t6zuvqmjQ8QlmvLh1DcBcVT0=; b=eGg2i7HVWir+f+Cu9qtcpCLBnyDBCL3/3FINhiBrScSa0Koqg1SIcq76mH03fLuBNA UCqyChn3Da8sdDwkdEJxuN4Cu6HnfJnQippUaqd70f/Wg4FhNem5Tmu2qTV1Zo4xoRxS yGyHsQJrgZJUH38DUKsGkTxLsZfYRxF1o20DHbilgGTWogzLoN2CR9AWTwraRUg5fLDQ 90MHzlMKmd0zFScbhZZMlaY4MRbM9g4dMfR4n4K8qMu9jldACpEfE0xVLvg+7g8Ii/PW w3j2icmo6dNjBAR9aBNlzZMzYsAbOnCvbH6bfpNxHvIbY8kU+NJucD1vtOZQsU/cWuzQ 9CkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i25si33477428eds.348.2021.07.23.07.49.05; Fri, 23 Jul 2021 07:49:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235401AbhGWOHM (ORCPT + 99 others); Fri, 23 Jul 2021 10:07:12 -0400 Received: from mga07.intel.com ([134.134.136.100]:57225 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235310AbhGWOHM (ORCPT ); Fri, 23 Jul 2021 10:07:12 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10054"; a="275708894" X-IronPort-AV: E=Sophos;i="5.84,264,1620716400"; d="scan'208";a="275708894" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2021 07:47:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,264,1620716400"; d="scan'208";a="578014731" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga001.fm.intel.com with ESMTP; 23 Jul 2021 07:47:41 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2242.10; Fri, 23 Jul 2021 07:47:41 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Fri, 23 Jul 2021 07:47:40 -0700 Received: from fmsmsx610.amr.corp.intel.com ([10.18.126.90]) by fmsmsx610.amr.corp.intel.com ([10.18.126.90]) with mapi id 15.01.2242.010; Fri, 23 Jul 2021 07:47:40 -0700 From: "Luck, Tony" To: Jue Wang CC: Borislav Petkov , "dinghui@sangfor.com.cn" , "huangcun@sangfor.com.cn" , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" , =?utf-8?B?SE9SSUdVQ0hJIE5BT1lBKOWggOWPoyDnm7TkuZ8p?= , Oscar Salvador , x86 , "Song, Youquan" Subject: RE: [PATCH 2/3] x86/mce: Avoid infinite loop for copy from user recovery Thread-Topic: [PATCH 2/3] x86/mce: Avoid infinite loop for copy from user recovery Thread-Index: AQHXfwEmVkDftAlLQUekz+CS3pEeK6tPG/EAgAD+lAD//5bsgIAAsOQA//+MXOCAAHu3AIAAOfWA Date: Fri, 23 Jul 2021 14:47:40 +0000 Message-ID: <3f944f83524d40a28fa9bb94647d1679@intel.com> References: <20210722151930.GA1453521@agluck-desk2.amr.corp.intel.com> <20210723001436.GA1460637@agluck-desk2.amr.corp.intel.com> <0e39ef0e1b6d4532a09ad2d6e0b28310@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 x-originating-ip: [10.1.200.100] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBJbiBvdXIgdGVzdCwgdGhlIGFwcGxpY2F0aW9uIG1lbW9yeSB3YXMgYW5vbi4NCj4gV2l0aCAx IFVDIGVycm9yIGluamVjdGVkLCB0aGUgdGVzdCBhbHdheXMgcGFzc2VzIHdpdGggdGhlIGVycm9y DQo+IHJlY292ZXJlZCBhbmQgYSBTSUdCVVMgZGVsaXZlcmVkIHRvIHVzZXIgc3BhY2UuDQo+DQo+ IFdoZW4gdGhlcmUgYXJlID4xIFVDIGVycm9ycyBpbiBidWZmZXIsIHRoZW4gaW5kZWZpbml0ZSBt Y2UgbG9vcC4NCg0KRG8geW91IHN0aWxsIHNlZSB0aGUgaW5maW5pdGUgbG9vcCB3aXRoIHRoZXNl IHRocmVlIHBhdGNoZXMgb24gdG9wIG9mDQp2NS4xNC1yYywgcmF0aGVyIHRoYW4gYSBzaG9ydCBi eXRlIHJldHVybiB2YWx1ZSBmcm9tIHdyaXRlLCBvcg0KDQoJbWNlX3BhbmljKCJNYWNoaW5lIGNo ZWNrcyB0byBkaWZmZXJlbnQgdXNlciBwYWdlcyIsIG0sIG1zZyk7DQoNCi1Ub255DQoNCg0K