Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp696716ybe; Wed, 11 Sep 2019 03:18:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyWO7EwSDzz483Tti0ZQ9+iD9c8Yjt3qMHLaOfjaJrRm8RjAfKLRXR98S8Lr+j4bThv2j3 X-Received: by 2002:a50:ac03:: with SMTP id v3mr35733890edc.113.1568197137020; Wed, 11 Sep 2019 03:18:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568197137; cv=none; d=google.com; s=arc-20160816; b=UEbEEGchHnOtzn1R5+X1FYbXmzQRF38slviTO7n3Nq+9engnqpP2CwSAYs8pOMbhF6 8vF9xWCI1iUi0ruIzWdLY0zOIKunUhYzurcXtFMuCDYKp54DxSFZZJ5c25I3ypgZTkYu OqpDRgn0PgMkglBcBZr5rjpbanhw8TGm8Tx6o6Bav24M5ZpfPIrOlL9j+vkHvZq4ub6u sa2CN/xzfB6KXsGHbT0sozYy19Xh3y9VS2P6s3kS/2/dHYO8jVaefPqfulKQxhHT5LPF 7CmXxdN+zVu92yyGBqjt8Zs6icQJwfTb/+AnVYyW2ofs+VcR3m/XvZQnlO/GXz+Z5AaX Jx7w== 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=oJk/ZTxhzMb419g7afN6IIEfgde57s28U8PsyNKSDSo=; b=BeNzMEivq4CvCni06HBpzi1xfNdkOuoEOmAy5oIFfnhv03pvOLueJGW46IJ4gIPqdR pYYKQ0EDP3jQCPJi+nxQsF/M/Yy5n0/VYxO3gZVH0D7zhghfm3IPrxITa+hwBfV6QJZI OfMBDihVV9vt6cVxZJdilZkdMD8kT2YetNcWC8tJGZv+BMScoasuwsMWIVGNzA8fqUO0 8t+yxX7kIIfXNram/AOnyIICMUvn4LD/Ix0HZhYa1owWP/0DKn/Xz0CvdjWZKqSFJdQa QYLCDyapXfztKwDrZW/MLk4WrIxsfn/16WwvmwH0K6JTm1VQkJm/Jk+dqCIq87AKjw3U Z0Mw== 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 e57si12254160ede.356.2019.09.11.03.18.33; Wed, 11 Sep 2019 03:18:57 -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 S1727513AbfIKKNr (ORCPT + 99 others); Wed, 11 Sep 2019 06:13:47 -0400 Received: from ZXSHCAS1.zhaoxin.com ([203.148.12.81]:52564 "EHLO ZXSHCAS1.zhaoxin.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726724AbfIKKNq (ORCPT ); Wed, 11 Sep 2019 06:13:46 -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:13:44 +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:13:43 +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:13:43 +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?562U5aSNOiBbUEFUQ0ggdjIgNC80XSB4ODYvbWNlOiBBZGQgWmhhb3hpbiBM?= =?utf-8?Q?MCE_support?= Thread-Topic: [PATCH v2 4/4] x86/mce: Add Zhaoxin LMCE support Thread-Index: AdVnrQawETN/yUVcT86jBiMUKrTywv//yLSA//5cEqA= Date: Wed, 11 Sep 2019 10:13:43 +0000 Message-ID: <904ed0781be648fa8a8fdd8af70b6b94@zhaoxin.com> References: <5f4f8dee1fb24d38aa0ee136c5e98c72@zhaoxin.com> <20190910123657.GE23931@zn.tnic> In-Reply-To: <20190910123657.GE23931@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 cCAxMCwgMjAxOSBhdCAwODoyMDowN0FNICswMDAwLCBUb255IFcgV2FuZy1vYyB3cm90ZToNCj4+ IFpoYW94aW4gbmV3ZXIgQ1BVcyBzdXBwb3J0IExNQ0UgdGhhdCBjb21wYXRp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