Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1964219pxb; Sat, 2 Apr 2022 09:49:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBEEKuof7WXVaoeCLpeCuWQ7HWDaryyQVM9dwHR7UVBxwyUbHcZlD2y+wCQSPD7KKaGCus X-Received: by 2002:a17:907:1c9e:b0:6e0:2fed:869a with SMTP id nb30-20020a1709071c9e00b006e02fed869amr4378121ejc.122.1648918185671; Sat, 02 Apr 2022 09:49:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648918185; cv=none; d=google.com; s=arc-20160816; b=FUR3TAGNklYG/Dce7DPJYOimyX3B5d1Av38RG+znxt7QnaTEb0EDiwiiiNXEeRQ5iy jQf1QuT25n7iq34gj9EUguLbXCZa6taEnRsEGM/3iSNwyrreItYeJTQfDmEJhYeiBogH 6dp10w7XQbUO7u6KEGQCF4AyLdc3wqthAcHoSv2j7zjl9M5/Kgzjx6wNNb1E/cDL35Ht NBrdRs61oVIrpVN7Nkef6B7FRa88LkXIy3MRs6ZnCEBjfDJE1tmnBXWlpVRPtwP9Ewsz EZ2lJrDSZmRW2mI218dBltRzyqVLBf8BDS+IM19LW0YTXzMxm9LzTX+9ax2ppxH5K5X2 l22Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JYuka8EsarSv8bdZ1Nm7LBPEB1hv4hmwykIEM/H8SIg=; b=GRkTXhymbdFD+Oj8Ms8tvpZtb+kePStc+lONVn5xRndhIzG7zbKSjZgLrfUIs6g0LH LQVzdBhPR8sIywSNs5wGAs9kY3srIyNtQDXASbtL5OiCYjYXqu0W3uSJXqExAbBDP9G3 k98Ovd3G2+UvmRf9f68ocunMgEtOcdSAALwswtgz4u+iGtv+LQKIWeeci8JdJDsmCVjF IYrW+z4pdyvVXm0Tgnko/nczC1cajdjTUBZeTAPTPFiwBkgCia4EKx4PKnR4HBD/Uc+h 7fcGHaY38tDwlG23EZ5W7ZHbvhxyioY/HCE5t5qTu8y7MmRJiTeEiWESD0VMtVnVa093 JmFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=DJtn7IHz; 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=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020a50cf82000000b00418c2b5bd98si3507602edk.122.2022.04.02.09.49.21; Sat, 02 Apr 2022 09:49:45 -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=@alien8.de header.s=dkim header.b=DJtn7IHz; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352598AbiDAUqM (ORCPT + 99 others); Fri, 1 Apr 2022 16:46:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbiDAUqL (ORCPT ); Fri, 1 Apr 2022 16:46:11 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6563717AD84; Fri, 1 Apr 2022 13:44:21 -0700 (PDT) Received: from zn.tnic (p2e55dff8.dip0.t-ipconnect.de [46.85.223.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id C6F4E1EC05B0; Fri, 1 Apr 2022 22:44:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1648845855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=JYuka8EsarSv8bdZ1Nm7LBPEB1hv4hmwykIEM/H8SIg=; b=DJtn7IHzKjc00g/KCIR76aZtm1onFhsOnKqMdFokndn4JOfZMN0TJYPTrxtEvnQ+We5UYX 6WT4VhUGEmXwnOvQ0iFmyPkoAi+Cc/RhP2BwN/2cxaFCCk6tH0NNStd9Iu4GUAcDEiKQ2J /CBmHo0cIj4wYUb0eVaM8Yz4uXF+2ZE= Date: Fri, 1 Apr 2022 22:44:14 +0200 From: Borislav Petkov To: ardb@kernel.org 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 Subject: Re: [PATCH v7 1/3] efi/cper: add cper_mem_err_status_str to decode error description Message-ID: References: <20211210134019.28536-1-xueshuai@linux.alibaba.com> <20220308144053.49090-2-xueshuai@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220308144053.49090-2-xueshuai@linux.alibaba.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 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? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette