Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp691786ybe; Wed, 11 Sep 2019 03:14:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRizJ7Xxaf55x/kYL4Ot+woJLmCtzxYrX7ZWfgxFOS1zKXRcaucgXKqHEq00vIi6UKzQW9 X-Received: by 2002:a17:906:aad2:: with SMTP id kt18mr28924719ejb.201.1568196843383; Wed, 11 Sep 2019 03:14:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568196843; cv=none; d=google.com; s=arc-20160816; b=M71QCZ0WsEpLsPgCYouNrFlekw9ypckYoSEtFCAbBDtmWsh8BoDxmvrESsFjU5bMdb BLZfo83vAso5IqAXDFkgVh1IRaUSXq2N6ilwBbGbuDlRMjsKU2vqyyeWkm/Mz4KevbLG tNCreVXVTebxjVJTl6GaKjsrPgYwTJmiIpGc+iJjdzPi1UtxEZiu3AkY9UTSjl91IAV1 p47+08FI0y+zKWS+YYh5LOzH2jWQRS1MFPWT53ZzBfdc+nDDXKHiJiCe7aDJcmd2vNWi 49B6ps4HGBVhucCXozzNV9pA16iBUMnuc1vN1WX0pxNxYztK+K9h3wzmTMTH7OUwr8zb qYYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=LEzmtFxmQlgCkYRpKpnF9HxpcUWOCf2JKnl/f/hh6y0=; b=RK3Zgt3DojwATGrmKBqXxjDZlx9hJi1bkGrmRhBpwL+GaNZhoQoQpZv0I0Ii73JGDY BLsrv9LVxaEAwFgA0XOdPWzlxP0osMl1OUFQK8FS2ARHesg0QJ+L7f6OMGO+lU4B9aca 6GsRAM34dTfOwO3k+OSS7e9YmFWvfIUAOzjrVoZc0ekhbp1c1lBsyrTAWanxACR6YHCv XcmhGdtlK1dvj1DaFBKbgWqKFlz38ASYuIOlfYCU35thT1Rt38So5SMcIisuQOb0sqfn cnZKL1XGLr1R1seMBT4u9yPGIuWNpK6z7HKmVWTCPH6U23GwO7Cqrw0SkQnQDCbeCzwY ZCQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4si2281873ejb.183.2019.09.11.03.13.39; Wed, 11 Sep 2019 03:14:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727619AbfIKKKy (ORCPT + 99 others); Wed, 11 Sep 2019 06:10:54 -0400 Received: from ZXSHCAS1.zhaoxin.com ([203.148.12.81]:52181 "EHLO ZXSHCAS1.zhaoxin.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726696AbfIKKKx (ORCPT ); Wed, 11 Sep 2019 06:10:53 -0400 Received: from zxbjmbx3.zhaoxin.com (10.29.252.165) by ZXSHCAS1.zhaoxin.com (10.28.252.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Wed, 11 Sep 2019 18:10:49 +0800 Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by zxbjmbx3.zhaoxin.com (10.29.252.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Wed, 11 Sep 2019 18:10:48 +0800 Received: from zxbjmbx1.zhaoxin.com ([fe80::b41a:737:a784:b70d]) by zxbjmbx1.zhaoxin.com ([fe80::b41a:737:a784:b70d%16]) with mapi id 15.01.1261.035; Wed, 11 Sep 2019 18:10:48 +0800 From: Tony W Wang-oc To: Borislav Petkov CC: "tony.luck@intel.com" , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "x86@kernel.org" , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "yazen.ghannam@amd.com" , "vishal.l.verma@intel.com" , "qiuxu.zhuo@intel.com" , David Wang , "Cooper Yan(BJ-RD)" , "Qiyuan Wang(BJ-RD)" , "Herry Yang(BJ-RD)" Subject: =?utf-8?B?562U5aSNOiBbUEFUQ0ggdjIgMS80XSB4ODYvbWNlOiBBZGQgWmhhb3hpbiBN?= =?utf-8?Q?CE_support?= Thread-Topic: [PATCH v2 1/4] x86/mce: Add Zhaoxin MCE support Thread-Index: AdVnqN8gcs/qr4n4QmGIov91NLhkWP//xD8A//6NK/A= Date: Wed, 11 Sep 2019 10:10:48 +0000 Message-ID: <3ebc05282ec948288af9e6060e5a474e@zhaoxin.com> References: <20190910115116.GD23931@zn.tnic> In-Reply-To: <20190910115116.GD23931@zn.tnic> Accept-Language: en-US, zh-CN Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.32.64.75] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCBTZXAgMTAsIDIwMTksIEJvcmlzbGF2IFBldGtvdiB3cm90ZToNCj5PbiBUdWUsIFNl cCAxMCwgMjAxOSBhdCAwODoxOTowOEFNICswMDAwLCBUb255IFcgV2FuZy1vYyB3cm90ZToNCj4+ IEFsbCBaaGFveGluIG5ld2VyIENQVXMgc3VwcG9ydCBNQ0UgdGhhdCBjb21wYXRpYmxlIHdpdGgg SW50ZWwncw0KPj4gIk1h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