Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1090074ybj; Thu, 7 May 2020 14:42:08 -0700 (PDT) X-Google-Smtp-Source: APiQypKs/RKIGDYceCmuSiO3yaQpST7Ao0k8Vr2VW2DeP+oFRXyzq+dfBMBxYyW9sOlpzU2Zow+y X-Received: by 2002:a17:906:a390:: with SMTP id k16mr13247910ejz.219.1588887728703; Thu, 07 May 2020 14:42:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588887728; cv=none; d=google.com; s=arc-20160816; b=h/MMgy9uzCuSa88vIu7f1vAD4vdID+TFqAoh2GksovUlZF5CbaMwcgLpfo9Dv8JEM8 Axu0EKaP4lFfjJ8e8QzTkfGASuIl5nOjcQ77iSTBcq5IZ68i0u2nY5RJ1mKy+fpa8KfJ Q+pQKet1N5+xvO/NtIYegJZwQLN+vUW9xGTpktW676lBtPAB3KxnZe+bKJVcB0Km2UgA VcSn1TwyqYotmhs5P1tZh27yUle0vibRLCVnFuuY57XKLDA/VFHA4F3CxX+tYwJZmu31 mm9UXNIwM5vj4HTq8Bh71pFvMs2l+Fu6gX0ifE8DZHzqWi9MHub4GKcVYhFVOaUvuu+I nCrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=+BVuiXGpmVQnSmytoRaYuOXL08EGPswSyhoco6x46A4=; b=Dk8orOeE5oGtpVvYMAyPBvt7r2Pi0hZuVbEh3qFsIUwywo84hI+o+TOOUrcShcXb5z 7jBErnoHhnoxh2hay0nHrFc2QRolrh6m6N4oAoGzzL/ZfbqkwsbE2SZJdTc+v6yW3oMj R0YsrnIV98YMKR2YmkdG0i77BYMeq0gbpNklzW4a3XeCN7vKBxy/QEjTa3jj3w3KO2A3 X04X2ICUFA15zRAcw7sZtFlIsDGPttY18m/RHFJW9YAJEGQZdXJxNyPo4hl+75Llj9+l koF1opLHMklrXGplxX6b0+g2/79PefPy7+HRwShvM/w3/hB7x2YaZpPPmk6X8ITpQXe5 1c5Q== 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 gj20si3758184ejb.48.2020.05.07.14.41.45; Thu, 07 May 2020 14:42:08 -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 S1726712AbgEGVie (ORCPT + 99 others); Thu, 7 May 2020 17:38:34 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:38696 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726445AbgEGVie (ORCPT ); Thu, 7 May 2020 17:38:34 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id 704A680307C1; Thu, 7 May 2020 21:38:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at baikalelectronics.ru Received: from mail.baikalelectronics.ru ([127.0.0.1]) by localhost (mail.baikalelectronics.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bsl9EF3_yS18; Fri, 8 May 2020 00:38:30 +0300 (MSK) Date: Fri, 8 May 2020 00:38:29 +0300 From: Serge Semin To: Thomas Bogendoerfer CC: Serge Semin , Alexey Malahov , Paul Burton , Ralf Baechle , Arnd Bergmann , Rob Herring , , , Allison Randal , Thomas Gleixner , Greg Kroah-Hartman , , Subject: Re: [PATCH v2 05/20] mips: cm: Add L2 ECC/parity errors reporting Message-ID: <20200507213829.ro7vxasi3k3t3yga@mobilestation> References: <20200306124807.3596F80307C2@mail.baikalelectronics.ru> <20200506174238.15385-1-Sergey.Semin@baikalelectronics.ru> <20200506174238.15385-6-Sergey.Semin@baikalelectronics.ru> <20200507111753.GG11616@alpha.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200507111753.GG11616@alpha.franken.de> X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 07, 2020 at 01:17:53PM +0200, Thomas Bogendoerfer wrote: > 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. Great! Thanks. -Sergey > > Thomas. > > -- > Crap can work. Given enough thrust pigs will fly, but it's not necessarily a > good idea. [ RFC1925, 2.3 ]