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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 794ABC432BE for ; Thu, 26 Aug 2021 02:37:34 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9BE7760EE5 for ; Thu, 26 Aug 2021 02:37:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9BE7760EE5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Gw6Sq3ySxz2ynR for ; Thu, 26 Aug 2021 12:37:31 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=iTTrfsk8; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ellerman.id.au (client-ip=203.11.71.1; helo=ozlabs.org; envelope-from=mpe@ellerman.id.au; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=iTTrfsk8; dkim-atps=neutral Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Gw6S41DBDz2xY8 for ; Thu, 26 Aug 2021 12:36:50 +1000 (AEST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Gw6S11rGzz9sWw; Thu, 26 Aug 2021 12:36:49 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1629945409; bh=2OXwYFPaT8syx6JWKvv5n2OunEZA8YubhEiNd+O6vNI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=iTTrfsk8i/I2qDKSS2vSmYHia/yXuVZmffPajGPYWQzMgtoXZJVGPpcnmPD20445J FHcLt5HsD9r2WGLWnpXrSfxEWurZGA6gRvxR0mFuK/U/Uen5nOoM6m0EwVsxQzcwOh NuBgoe21QVvto0hPsoVNmXx32Fmu/3Xm0qs5WjGjjNdHYQnMKWgubvSkzkkeg6BEQg 60oOok0bLpd1RD/X/KUrESHMXacawrwcGZ61O5KmoM/jbVjqT2PNb1e7fcTzsLnfLa Qu2d2eO9vdmp3LSgTzi5N9pPSYn71WqGvBsqADmXqRhe5NsNlqHJXC+VWWbck4H4pa QatcGF4m3+dTw== From: Michael Ellerman To: Ganesh , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v2 1/3] powerpc/pseries: Parse control memory access error In-Reply-To: <9734b599-eb00-a1d6-cd3c-ed6d0441f240@linux.ibm.com> References: <20210805092025.272871-1-ganeshgr@linux.ibm.com> <87eeajcpmq.fsf@mpe.ellerman.id.au> <9734b599-eb00-a1d6-cd3c-ed6d0441f240@linux.ibm.com> Date: Thu, 26 Aug 2021 12:36:48 +1000 Message-ID: <87lf4paq4f.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mikey@neuling.org, mahesh@linux.ibm.com, npiggin@gmail.com Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Ganesh writes: > On 8/24/21 12:09 PM, Michael Ellerman wrote: >> Ganesh Goudar writes: >>> Add support to parse and log control memory access >>> error for pseries. >>> >>> Signed-off-by: Ganesh Goudar >>> --- >>> v2: No changes in this patch. >>> --- >>> arch/powerpc/platforms/pseries/ras.c | 21 +++++++++++++++++++++ >>> 1 file changed, 21 insertions(+) >>> >>> diff --git a/arch/powerpc/platforms/pseries/ras.c b/arch/powerpc/platforms/pseries/ras.c >>> index 167f2e1b8d39..608c35cad0c3 100644 >>> --- a/arch/powerpc/platforms/pseries/ras.c >>> +++ b/arch/powerpc/platforms/pseries/ras.c >>> @@ -80,6 +80,7 @@ struct pseries_mc_errorlog { >>> #define MC_ERROR_TYPE_TLB 0x04 >>> #define MC_ERROR_TYPE_D_CACHE 0x05 >>> #define MC_ERROR_TYPE_I_CACHE 0x07 >>> +#define MC_ERROR_TYPE_CTRL_MEM_ACCESS 0x08 >> ... >>> >>> +#define MC_ERROR_CTRL_MEM_ACCESS_PTABLE_WALK 0 >>> +#define MC_ERROR_CTRL_MEM_ACCESS_OP_ACCESS 1 >> >> Where do the above values come from? > > It is from latest PAPR that added support for control memory error. Please cite the version of the document and the section number in the change log. cheers