Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp658557ybj; Thu, 7 May 2020 04:45:21 -0700 (PDT) X-Google-Smtp-Source: APiQypKVaDT3I+UTp9CVyQ67DRhm9B3y70PDuw6xlPssZD5KHGF+KLIHXK6lRVWWtcAzuXdZmoMw X-Received: by 2002:a17:906:6411:: with SMTP id d17mr11778620ejm.109.1588851921580; Thu, 07 May 2020 04:45:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588851921; cv=none; d=google.com; s=arc-20160816; b=jVS8nqK5Ft0Kt6OD4KdYuni8CINzCXclrI0z5H1qs3Acs4TzguvrwujdNalmiYw1lC BJjmUhQn0nDiF1bbn0+g+Lv760y7k1FNW2jZpQXvmZan33yMnzxoFIQ2Afwq2y8dVsmg 2fDMxT/XGo9UKjcZZn9IOlx/AqDP6IY1CVEaGf4HziDY89TjLG7XLES9JFkqjU9UOp7Z Ag34gQgI1LY2UNebyIM4FV2J3n00K2nHhSyiqzqmwBIIZRX2v/18WYG3xGzWovTopmSM XyMmhQyk0bKIA33OytDWh4hVxVZSp7sleuotzj0XpgCH+2W8DVo4m/0TxayH9wyN37Na +tww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=+1csrziVUm5b2SmOVmsqPwJZnlPTIbiZHFLbE6ClIew=; b=PurWu5MHZ1UYOnLKISmyNb9G5zyf2G2H8jRBhPeT9X9HrEHuCs9D6BHsOGqaB69wxl 14LFm3A28LaC0YLtabdSaRqfEWRQ6UNUYzjYu2htzrp9WqqXzAEpDzxXqdO/SN28pdxC FnTLQ/2ZePP4jR6zWKsxM2s5rPoQqtehvijRzl9rxVmOKpKhJRejwDJhngvX8wZXEJ+y hqgvR310j2GHJmNSSBPQEs+zg7IpB4mzLgaaZqSooesB7U1aOjXSmU8cOkZnFyalpEFa UTnwV7JjNrpMb8pTaTI5VBCqvD2r5Hqv1yFjqi7EBTZZh7DxZ5SaQ5dqdw13oFHT3iB9 m18w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p25si3018483eji.408.2020.05.07.04.44.57; Thu, 07 May 2020 04:45:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726885AbgEGLn1 (ORCPT + 99 others); Thu, 7 May 2020 07:43:27 -0400 Received: from elvis.franken.de ([193.175.24.41]:43591 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726575AbgEGLnW (ORCPT ); Thu, 7 May 2020 07:43:22 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jWevq-00081e-06; Thu, 07 May 2020 13:43:14 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 903F3C0409; Thu, 7 May 2020 13:17:53 +0200 (CEST) Date: Thu, 7 May 2020 13:17:53 +0200 From: Thomas Bogendoerfer To: Sergey.Semin@baikalelectronics.ru Cc: Serge Semin , Alexey Malahov , Paul Burton , Ralf Baechle , Arnd Bergmann , Rob Herring , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, Allison Randal , Thomas Gleixner , Greg Kroah-Hartman , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 05/20] mips: cm: Add L2 ECC/parity errors reporting Message-ID: <20200507111753.GG11616@alpha.franken.de> References: <20200306124807.3596F80307C2@mail.baikalelectronics.ru> <20200506174238.15385-1-Sergey.Semin@baikalelectronics.ru> <20200506174238.15385-6-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200506174238.15385-6-Sergey.Semin@baikalelectronics.ru> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 06, 2020 at 08:42:23PM +0300, Sergey.Semin@baikalelectronics.ru wrote: > From: Serge Semin > > According to the MIPS32 InterAptiv software manual error codes 24 - 26 > of CM2 indicate L2 ECC/parity error with switching to a corresponding > errors info fields. This patch provides these errors parsing code, > which handles the read/write uncorrectable and correctable ECC/parity > errors, and prints instruction causing the fault, RAM array type, cache > way/dword and syndrome associated with the faulty data. > > Co-developed-by: Alexey Malahov > Signed-off-by: Alexey Malahov > Signed-off-by: Serge Semin > Cc: Thomas Bogendoerfer > Cc: Paul Burton > Cc: Ralf Baechle > Cc: Arnd Bergmann > Cc: Rob Herring > Cc: linux-pm@vger.kernel.org > Cc: devicetree@vger.kernel.org > --- > arch/mips/kernel/mips-cm.c | 62 ++++++++++++++++++++++++++++++++++++-- > 1 file changed, 60 insertions(+), 2 deletions(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]