Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1418818pxb; Wed, 6 Apr 2022 18:24:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRSSoWvB5eHuXkb6RFUuHXtRolaGJd611cFcq3nJL/uWMcuAMraiRLuJq9izfzXump1L69 X-Received: by 2002:a17:907:7899:b0:6e0:f285:a860 with SMTP id ku25-20020a170907789900b006e0f285a860mr11090906ejc.261.1649294641771; Wed, 06 Apr 2022 18:24:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649294641; cv=none; d=google.com; s=arc-20160816; b=rQpuCTcTC9Q1AxZKL3EpyGw7ZDoGjjp8Leqf6IMFAbe09Vd4e8Ta0miwdkQqFraT9a phtvSNHnSe+npiTtyW+px2Kr4tWugqzYdjN54DC8JLUk+GghRpKAXjAb3f9Zc9Km8BzF EBLeJM03WfxmgfEDpD73qYDmGbfoFAAwh2/Kvditx77ASwTWtmxHp2mQW7h3RE3MKBgP JclERXth2qCqa4QS6dnPVdOGO908uWEWH5bFZy7uTIQP7fpiLS+/B3dF2bd46hQuEv2R /wtlhY6949wsX44NxEuYeGfv92+n/ObUVR0LfKvDphh69Bl9aM4vKvBqkhLL5XDxVjUK 77WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mxnP9+rOC1cwYwKMUhlqLg49WpTpY84ktlE7zvXGzBI=; b=miCDmzw2O4YaTyb+gpIxwPJxhNLLOGumx+KClNaXFMppKFq24Wpe2wLb9++i+nZ02m 7DCaFVhfpGT3+TcZl3Qx2mBOjhuHyk2PHADOsNtwpMT7nI9Vechwsw1zwufW2UefOD0d c/bLVb+johtg2uv20B+Tzpmi/qiTPkKlPQMV1nYwjh1pSbPlvyx0dFyNssYWq6F5p+mK shRrmomXou58IviyMQwcqdRQLTwUComfeeXs1jhiVljWMrDiOYIJm/JDrKsQt3/AG033 k2MKqmhmXZVaxLsEEylYNTW4aRGpT6SpjdeX/oaodCdNqJfpPoRDmAPJHaR5Flc/PFKL iNpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pDZmRYyp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n14-20020a05640205ce00b0041c59f62c4asi16020649edx.300.2022.04.06.18.23.37; Wed, 06 Apr 2022 18:24:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pDZmRYyp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236364AbiDFVuG (ORCPT + 99 others); Wed, 6 Apr 2022 17:50:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235837AbiDFVtt (ORCPT ); Wed, 6 Apr 2022 17:49:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F3B8269; Wed, 6 Apr 2022 14:37:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 18A0261B6F; Wed, 6 Apr 2022 21:37:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D227C385A1; Wed, 6 Apr 2022 21:37:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649281037; bh=Ei4jOiexJMk2axruEb9A6TUDgWkGiI0ovXWw6/kdmE8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=pDZmRYypkbK785V+TI0+r1z9cJyPZbU2vo5MOtlSBuRs1dA+Jd/HQOd9uMyfT4Jqd lw2CVjpueFiWKZe2H/nrVrt9ufbk7VW7yrdCPose0PX2E1ukwzWXT/tNWhlhLMoaJq 6VKRutlV4RcmQsf3aP591M7ZqDCJalFzcW/xNgO2w9Y35WATCEblXoYin6q+IsSu8+ cTY86sfjgEgRDwDNRneu9qYwAA7SXm8adIVhmEY01To/HAkbaujy4h2mcuxUi+JfcQ AB5WxdzcM64JTG114ZwPkWQNCzFdO98WtOCbjHUCO0f3eH4+jha1Gml5pKol8dXPvN A6K5d4RHDbXfA== Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-dacc470e03so4386303fac.5; Wed, 06 Apr 2022 14:37:17 -0700 (PDT) X-Gm-Message-State: AOAM530E8sxkM4DmO220k2R2ZJvp3pEjfxqAntjyeNHryP2B1bWmAv+T aKbbacVmvDbN1VdQbrC7mEOhHqwhJki8g++HouI= X-Received: by 2002:a05:6870:b027:b0:de:7fcd:fabf with SMTP id y39-20020a056870b02700b000de7fcdfabfmr4970738oae.126.1649281036634; Wed, 06 Apr 2022 14:37:16 -0700 (PDT) MIME-Version: 1.0 References: <20211210134019.28536-1-xueshuai@linux.alibaba.com> <20220308144053.49090-2-xueshuai@linux.alibaba.com> In-Reply-To: From: Ard Biesheuvel Date: Wed, 6 Apr 2022 23:37:05 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 1/3] efi/cper: add cper_mem_err_status_str to decode error description To: Borislav Petkov Cc: Shuai Xue , rric@kernel.org, mchehab@kernel.org, tony.luck@intel.com, james.morse@arm.com, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, zhangliguang@linux.alibaba.com, zhuo.song@linux.alibaba.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 1 Apr 2022 at 22:44, Borislav Petkov wrote: > > On Tue, Mar 08, 2022 at 10:40:51PM +0800, Shuai Xue wrote: > > Introduce a new helper function cper_mem_err_status_str() which is used to > > decode the description of error status, and the cper_print_mem() will call > > it and report the details of error status. > > > > Signed-off-by: Shuai Xue > > --- > > drivers/firmware/efi/cper.c | 30 +++++++++++++++++++++++++++++- > > include/linux/cper.h | 1 + > > 2 files changed, 30 insertions(+), 1 deletion(-) > > Ard, ack to take this one and patch 3 through the EDAC tree? > Works for me. Acked-by: Ard Biesheuvel