Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp658466ybj; Thu, 7 May 2020 04:45:16 -0700 (PDT) X-Google-Smtp-Source: APiQypKv2zTgdxIoVJ3pLv3LDAFw/I/vTgKQR2QgAIzEOq2GWImgrX6houfj+BaRsDTqxk3Yomv/ X-Received: by 2002:a05:6402:b82:: with SMTP id cf2mr10846643edb.49.1588851916005; Thu, 07 May 2020 04:45:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588851915; cv=none; d=google.com; s=arc-20160816; b=ZLSQ4qildR2fR93+8rgKmFpSrl06mcE410PWgyuLK7zwmYIiugXfQ6vbXq/crXnJUK TDaDeVsJC0QAHBuLuPNhWoh7w3mVsT7WXBPAp5Ju5m/GZT7bRfhB34H0nvMjK0lREXza KHDJnFvzwcSbWrtBqGr6ellZtzp90twiHjry6e/woXbUls1wDhTtvlNrB3fLqGcqj33i 3D2Ne2C+H3k2IeZsAkGH5YKWEW6CNPUakrsdwgZJOtsbIP31OziLjfAiVYWLlnoMdNdx aVIexfhn3a7XMdkq/XxnVfldMVFGkiiAKJB8A52JlqCOy67POvcCF82z2BEjSVg3ygGK fS6w== 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=m/8W6tetZxqcJCCoAKDVd5/qy4Hf6D/Z0vJTVVQfFiA=; b=l9xiOg3NElT7co0nsUWJof/lstzrHHCXCibmoqTk2qUk4KuH3nNt8K5ULmxp0kIKCN LC41Ibxr8mu2sO/2iz+rKaentby3QGiP079LzUwUlZp32lNtfBI56xunoL1qBAHAtPjj qf0JbjnwIRJaCvLa9Z3uXn7rjUyC/MGDbDVIyLMiuEGEk6iAs+Ny1+WdUnG/OQziqOs5 sJsuOnzp7HFnxvtPfddpu8cie/DLk/SgYmA84vU3Hf+H42GhsxK2fCDo3CqrGhyipOqu SU06+8yU+wXQCCX6jsLTh1meduFkpqj6NrVxJ4XARKjbfkHyfR7AQ5TCjoOBDUYy8k+2 l+6Q== 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 cm18si2781644edb.130.2020.05.07.04.44.50; Thu, 07 May 2020 04:45:15 -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 S1726222AbgEGLnZ (ORCPT + 99 others); Thu, 7 May 2020 07:43:25 -0400 Received: from elvis.franken.de ([193.175.24.41]:43588 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726572AbgEGLnV (ORCPT ); Thu, 7 May 2020 07:43:21 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jWevq-00081e-04; Thu, 07 May 2020 13:43:14 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 952AEC0409; Thu, 7 May 2020 13:10:07 +0200 (CEST) Date: Thu, 7 May 2020 13:10:07 +0200 From: Thomas Bogendoerfer To: Sergey.Semin@baikalelectronics.ru Cc: Ralf Baechle , Markos Chandras , Serge Semin , Alexey Malahov , Paul Burton , Arnd Bergmann , Rob Herring , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, Allison Randal , Greg Kroah-Hartman , Thomas Gleixner , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 04/20] mips: cm: Fix an invalid error code of INTVN_*_ERR Message-ID: <20200507111007.GE11616@alpha.franken.de> References: <20200306124807.3596F80307C2@mail.baikalelectronics.ru> <20200506174238.15385-1-Sergey.Semin@baikalelectronics.ru> <20200506174238.15385-5-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200506174238.15385-5-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:22PM +0300, Sergey.Semin@baikalelectronics.ru wrote: > From: Serge Semin > > Commit 3885c2b463f6 ("MIPS: CM: Add support for reporting CM cache > errors") adds cm2_causes[] array with map of error type ID and > pointers to the short description string. There is a mistake in > the table, since according to MIPS32 manual CM2_ERROR_TYPE = {17,18} > correspond to INTVN_WR_ERR and INTVN_RD_ERR, while the table > claims they have {0x17,0x18} codes. This is obviously hex-dec > copy-paste bug. Moreover codes {0x18 - 0x1a} indicate L2 ECC errors. > > Fixes: 3885c2b463f6 ("MIPS: CM: Add support for reporting CM cache errors") > Signed-off-by: Serge Semin > Cc: Alexey Malahov > 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 | 6 +++--- > 1 file changed, 3 insertions(+), 3 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 ]