Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp473965pxy; Sat, 31 Jul 2021 13:45:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0p1BIWxr7pnnVmj25aIOt8L0cho5+OO0YpeKTmSWFSUfC/3x4ZkONfItxLwo0+C/vqyHW X-Received: by 2002:a05:6638:39c2:: with SMTP id o2mr7418320jav.87.1627764317341; Sat, 31 Jul 2021 13:45:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627764317; cv=none; d=google.com; s=arc-20160816; b=Eb/mSFGKSj1HDlsCs36TPkzLwBhgeamSBpdu/po/a2kFU8g0z0yj43gbGkoToi2geY aPXmDLs590l45OP6mnCBeV3Nxn8Q+x0cNZqmDFIk26Ku+69FaVTDztx5XHTvtZh8HL3R gpZ05WoRAzPLMer/rCQJNnZBj5lZ0gdv+v05yLbyFPzFpZTtf5YmkfzVItxaSqlSSbaa 6XC1b8Yc8sKQWYOXphbydAFzsX1oAdvMSYghS3ihBTBh0UCVCx5WQ7Y1W8p4o80lxX2B XTUlaWd/58Y5ne/sYaPRzHCq55Eot7+My2uNplGRkC9gT0ms3yl+Eol5ebATxO9drdca MxVg== 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=2uO4dCf1GO3uE8RNECA/D2HhIS/eLVG2+izzl3mlfpU=; b=rdkw5wbynmVn94pDzLh4HBTah7eovYu/ZlsHOjEq8tMf5+xkYSnpHNsOW8geqtvoAa mMaiw1ddx9elT1XetAHf4P7qIo5nnI2YEB8sgqyruUNY/bfHP/ft31PE7TWiVWRUdjYg KE3/FJfXU7+L7+gQSH4j8ot6zmGll6+PzcnFsZs7QCAjs6eODmWzthUpg3i4UfYT+U3m xh7jABQKc6ePA4vcGz2Wgnz3hH1yulO3ro5ARdbQ5d8Lndg3RT56NQmQVLP+hgJV8nmw 2e7wLyrW7Dqve9HN5YszFTeKT7yizK6pDmUejfkpn3hJs4n9x5a/CGNYxWiY8or97mE0 7OmA== 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 q6si4264056jaj.77.2021.07.31.13.45.05; Sat, 31 Jul 2021 13:45:17 -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 S230350AbhGaUnW (ORCPT + 99 others); Sat, 31 Jul 2021 16:43:22 -0400 Received: from mga06.intel.com ([134.134.136.31]:1396 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbhGaUnV (ORCPT ); Sat, 31 Jul 2021 16:43:21 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10062"; a="274335556" X-IronPort-AV: E=Sophos;i="5.84,285,1620716400"; d="scan'208";a="274335556" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2021 13:43:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,285,1620716400"; d="scan'208";a="477676538" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 31 Jul 2021 13:43:14 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Sat, 31 Jul 2021 13:43:14 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2242.10; Sat, 31 Jul 2021 13:43:13 -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; Sat, 31 Jul 2021 13:43:13 -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: AQHXhdWHIECRm0GebEyGCELVn1f6zqtdjHxQ Date: Sat, 31 Jul 2021 20:43:13 +0000 Message-ID: References: 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 PiBBZnRlciBjaGVycnkgcGlja2luZyBwYXRjaCAxICYgMiwgSSBzYXcgdGhlIGZvbGxvd2luZyB3 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