Received: by 10.192.165.148 with SMTP id m20csp580065imm; Wed, 25 Apr 2018 04:37:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx48J/zFWAIR6Z2YU5NNr4/9TF+GRCK/vhsvaxtA3ox0GX1fBRhxNgSAxTK9QcufhPBBfNwSU X-Received: by 2002:a17:902:294a:: with SMTP id g68-v6mr25513518plb.110.1524656234453; Wed, 25 Apr 2018 04:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524656234; cv=none; d=google.com; s=arc-20160816; b=NZ2fcF8WwtUXaRKmlsne4969W5qpuQZFn5aud/GXpYmwvyQK5Lj9TBJKLjOw5MMSI7 kh/21p/KVdRKvAHGl6aum1Pil9HVfNNKu7dXyOFzkIX8QsDTdpV7ziId0RmfH5B9XYEx hwgsiU6NMPs7F9it3YH4WCEQNoXm6lSfWZP/Erj4YUi+rT0KKzUadEEmW/PjjbXPRjPq DNOAY6ZGfB0dFR4OAlgBKe1qiDtMdUrIyezzPy0n3lGAMNIhnVFRM7cbzBYbsLysevXT afUXx2d4JEJ+QGQBUcPSHkLs2qrgWvKgwps4ippfQbV9BzJGKWhNxcYf0V9cHEq45ElZ kdlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=WM8wUJrzKC0u6yAAINhnNQ5TXwYRICn65cHYxaip1hg=; b=0LeTKUcSEAuxuSQ/5Azh7wwWYiME8w568Cq7DF8TwglGrXYnsX/q/cCZaZO0Rq3841 6gfAhpTnioMPsLdDflHyVWfL1Qv78GxVV0fYk9q8vst2djLUOA+XBhaY0XV/Y6DlMVcX Ajkq7DU/UMGomNZjtL1GXJQhfoBfrxAbWbAqQXzu2D4yFG5ibWYbKAw0Fta7b+bZEJv1 cgTTCCwT/0AGWt8dksB6l72HWuX+WB7MQFXJT8XYYu0BiRyHlLKSivqfS8ZE+Fg0ZPwV CSlo8rzn0ydmRGzWgZ2JAgA3H3UPmbPy7ATZoVS+EFqLLQULUGFLO2UoxgMhf+Lk+Fk8 NcaQ== 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 o1si12075259pge.307.2018.04.25.04.37.00; Wed, 25 Apr 2018 04:37:14 -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 S1753462AbeDYLfr (ORCPT + 99 others); Wed, 25 Apr 2018 07:35:47 -0400 Received: from ZXSHCAS2.zhaoxin.com ([203.148.12.82]:32890 "EHLO ZXSHCAS2.zhaoxin.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752114AbeDYKeC (ORCPT ); Wed, 25 Apr 2018 06:34:02 -0400 Received: from zxbjmbx3.zhaoxin.com (10.29.252.165) 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, 25 Apr 2018 18:33:56 +0800 Received: from timguo-System-Product-Name.zhaoxin.com (10.29.8.54) 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, 25 Apr 2018 18:33:55 +0800 From: David Wang To: , , , , , , , , CC: , , , , , , David Wang Subject: [PATCH v3 2/2] x86/mce: add CMCI support for Centaur CPUs Date: Wed, 25 Apr 2018 18:33:40 +0800 Message-ID: <1524652420-17330-3-git-send-email-davidwang@zhaoxin.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1524652420-17330-1-git-send-email-davidwang@zhaoxin.com> References: <1524652420-17330-1-git-send-email-davidwang@zhaoxin.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.29.8.54] X-ClientProxiedBy: zxbjmbx1.zhaoxin.com (10.29.252.163) To zxbjmbx3.zhaoxin.com (10.29.252.165) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Newer Centaur support CMCI mechnism, which is compatible with INTEL CMCI. Signed-off-by: David Wang --- arch/x86/kernel/cpu/mcheck/mce.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index 38ccab8..f9a7295 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c @@ -1757,6 +1757,8 @@ static void __mcheck_cpu_init_vendor(struct cpuinfo_x86 *c) } case X86_VENDOR_CENTAUR: mce_centaur_feature_init(c); + mce_intel_feature_init(c); + mce_adjust_timer = cmci_intel_adjust_timer; break; default: -- 1.9.1