From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78F40C4741F for ; Fri, 6 Nov 2020 14:12:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 25229207DE for ; Fri, 6 Nov 2020 14:12:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727438AbgKFOMv (ORCPT ); Fri, 6 Nov 2020 09:12:51 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:6753 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726812AbgKFOMt (ORCPT ); Fri, 6 Nov 2020 09:12:49 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CSMlt3HbSzkfn5; Fri, 6 Nov 2020 22:12:26 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.178.230) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Fri, 6 Nov 2020 22:12:26 +0800 From: Zhen Lei To: Tony Luck , Borislav Petkov , "Thomas Gleixner" , Ingo Molnar , x86 , "H . Peter Anvin" , linux-edac , linux-kernel CC: Zhen Lei Subject: [PATCH v2 0/1] x86/mce: correct the detection of invalid mce priorities Date: Fri, 6 Nov 2020 22:12:15 +0800 Message-ID: <20201106141216.2062-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.174.178.230] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v1 --> v2: Update the detection of invalid mce priorities, the WARN_ON() is needed. v1: Remove the WARN_ON() in mce_register_decode_chain(). Zhen Lei (1): x86/mce: correct the detection of invalid mce priorities arch/x86/include/asm/mce.h | 3 ++- arch/x86/kernel/cpu/mce/core.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) -- 2.26.0.106.g9fadedd