Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1085398ybj; Thu, 7 May 2020 14:34:15 -0700 (PDT) X-Google-Smtp-Source: APiQypJr/1AoOMMdN2Eo1EsrHcD8Ks7NQYPRVOPjGMNBA+wucKJOnJCvQ03VMWt4i870RWqXiXJ8 X-Received: by 2002:a05:6402:30bb:: with SMTP id df27mr13445034edb.267.1588887254817; Thu, 07 May 2020 14:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588887254; cv=none; d=google.com; s=arc-20160816; b=scchkkbAGVY6ndzcUuVnwO5xtHwLfsV+fdWtogUArKoyYFMnTVUk7u978bXR+LzzEd 4+2xMONYM+/6gq2jtNx7+QVx50bRGFwrm8Eheglp4QAlgs9sORY1qDQiV+ytIcVeElfA Q79GFDCEPoSxy3OMi73DsFncrCW4YJuhp3zFCXmM3ndMtcy1cyU/aFTDFN/EmcRTGQpH MI7GIj3FPO2MXMIRwRrDsixgAd2y3S3soJO9G+UQcLz8YWDLiOK2/EN+OSvHdn+Qi5wa glTnDPFsC23wH/8089NGzqzuM0l7q9AJWooqFkeDV+zb3R5i6xAEPfTSZyKUt3NxiVII AKcA== 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=ejTbAWqeAZ/l2KNd6eUc1a4oLjnIu6JMQcJ6nTv/Sc4=; b=YyvBqNK5IHtDBgjiv3qgLkD5iw05DsGKUKbEQIW+qxqPExy2tvyD2BwMBrLnM7J2Vb hWWufJS7cN9HIenX/BMWvax/FcEi0RVEQ34MOu6wgUZHHce1bDPUXKBLUguxUFZkXT9q yUnKNvq/KlxN8PFAfHpiHLuA7sAg21eyutIMA5BtIBK2c3L6uUFEef6oPSFCvjQV2fxk edmJaudVgiP/GLofnXtn1HQSAGeWu8M51zdkYpbbRHw6t5LWit67BbCQwgCMc6a8DOlK EFG4LJ0SSZR+7XSgtMv0rfJGpD6UblDfdnVewgL5deMGP9e7wnOEMN5824r+Vt9lqr+M +gIA== 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 rv10si3799326ejb.519.2020.05.07.14.33.50; Thu, 07 May 2020 14:34:14 -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 S1726531AbgEGVca (ORCPT + 99 others); Thu, 7 May 2020 17:32:30 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:38628 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726320AbgEGVc2 (ORCPT ); Thu, 7 May 2020 17:32:28 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id 7CEDE803087C; Thu, 7 May 2020 21:32:25 +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 fl9KsNoMQI8f; Fri, 8 May 2020 00:32:24 +0300 (MSK) Date: Fri, 8 May 2020 00:32:22 +0300 From: Serge Semin To: Thomas Bogendoerfer CC: Serge Semin , Ralf Baechle , Markos Chandras , Alexey Malahov , Paul Burton , Arnd Bergmann , Rob Herring , , , Allison Randal , Greg Kroah-Hartman , Thomas Gleixner , , Subject: Re: [PATCH v2 04/20] mips: cm: Fix an invalid error code of INTVN_*_ERR Message-ID: <20200507213222.ju3qeb27ml22omej@mobilestation> References: <20200306124807.3596F80307C2@mail.baikalelectronics.ru> <20200506174238.15385-1-Sergey.Semin@baikalelectronics.ru> <20200506174238.15385-5-Sergey.Semin@baikalelectronics.ru> <20200507111007.GE11616@alpha.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200507111007.GE11616@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:10:07PM +0200, Thomas Bogendoerfer wrote: > 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. Great! Thanks. -Sergey > > Thomas. > > -- > Crap can work. Given enough thrust pigs will fly, but it's not necessarily a > good idea. [ RFC1925, 2.3 ]