Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp694100ybe; Wed, 11 Sep 2019 03:16:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTV9rxiNfuhrgmIntdNWVJ3GIcvkjQ39Z1Fg6FpxpK1fvyTGsW2PxxKUUV9TkvAGqBUJiB X-Received: by 2002:a50:fc94:: with SMTP id f20mr34548421edq.175.1568196982123; Wed, 11 Sep 2019 03:16:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568196982; cv=none; d=google.com; s=arc-20160816; b=ktfoVz/d1dSZfeLIug+6UTt507++bl9Dbyeb38jBkcJDm+N9fsjW4LDRTrAZ/jZFXF fq8X8bNI4ojIdvPWnkbSpoNdE7EMZFfvZKAOW+aHCr2ktmayCY1Xd4OOsiBBf7yvBy6y 8QUw3/BIVIfshW+otwS5nOdui9+0WlPlEAuEp2pWLPueP3JPtSNiDWvvy1Euyk1LmHcA EaXChVfIRZCICxZetfJSUjilxlyAumlzYjgqOdCVwxgUvCsL0h3fA/RTa1Cuw5lOEGKd 60i/Abl6n/RkPllRDWopmaMyfxmJXYOALDf1iccvC+AdnhUgTYcT3wuyJLqIZXmwD7hM tuRA== 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=yMF2IJ4ey+6+/Ci2NKM1nB1imFAxU3UfNAbviy9zxwY=; b=Q/9zt539ffyHBEnbpe/wFnxKi4B68gRxKHH/8eFNiBxb4+x2KcDAzVeuH8ZKzLo7zr XCuaoESGc3ozStYjOlw4Vh7xvJJs64vFgtaxTDoXZ9uLnEhVRv58lSZSQM0rHer8MQpn NtVwO9gOHXhnsSBDAExEmf3PNF4aI+ciObfuoAKIZhVnUoLdhV1LOeccmf0STVhJHpZQ dp/7VkL5GiiKATUrhwOLam2cMfCP3PyhwBWNslogs35FXSgMKmFL2GE9KgeZF4jcq7wQ 70/wKjJ1j/1jwK5q8jpH+I41rsmgwcBon/TanJnuZNrLbQEQM5gzjnTeVjyKS5WK/WHh Tc8w== 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 c4si6859897edy.388.2019.09.11.03.15.56; Wed, 11 Sep 2019 03:16:22 -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 S1727697AbfIKKMq (ORCPT + 99 others); Wed, 11 Sep 2019 06:12:46 -0400 Received: from ZXSHCAS2.zhaoxin.com ([203.148.12.82]:57013 "EHLO ZXSHCAS2.zhaoxin.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726842AbfIKKMp (ORCPT ); Wed, 11 Sep 2019 06:12:45 -0400 Received: from zxbjmbx2.zhaoxin.com (10.29.252.164) by ZXSHCAS2.zhaoxin.com (10.28.252.162) 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:12:43 +0800 Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by zxbjmbx2.zhaoxin.com (10.29.252.164) 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:12:42 +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:12:42 +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?562U5aSNOiBbUEFUQ0ggdjIgMy80XSB4ODYvbWNlOiBBZGQgWmhhb3hpbiBD?= =?utf-8?Q?MCI_support?= Thread-Topic: [PATCH v2 3/4] x86/mce: Add Zhaoxin CMCI support Thread-Index: AdVnqRp9Tf3+t+7iRiGrtZWDTW0/Hf//0KgA//6IMIA= Date: Wed, 11 Sep 2019 10:12:42 +0000 Message-ID: <43b89bb6e86c4fc79c89990ca4d18170@zhaoxin.com> References: <20190910123720.GF23931@zn.tnic> In-Reply-To: <20190910123720.GF23931@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 cCAxMCwgMjAxOSBhdCAwODoxOTo0NEFNICswMDAwLCBUb255IFcgV2FuZy1vYyB3cm90ZToNCj4+ IEBAIC0xNzc3LDYgKzE3NzcsMjkgQEAgc3RhdGljIHZvaWQgbWNlX2NlbnRhdXJfZmVhdHVyZV9p bml0KHN0cnVjdA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