Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp265694pxb; Thu, 25 Feb 2021 01:45:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyR5VKF4z9GtXfRWN261tDoGc809bN4pYk5P21SRgngxuCbV5N3aH7Ikc6VpAAKqW72ennH X-Received: by 2002:a50:8a90:: with SMTP id j16mr1943192edj.334.1614246321661; Thu, 25 Feb 2021 01:45:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614246321; cv=none; d=google.com; s=arc-20160816; b=IWymiVCyTG+hv6t73v9QNYWM64Kowjl5kgMzydK8kxMS/uvUIXCqg5ibfNpUNsxTg3 RHc19mvNc1Mq9cMKuXOFZqqbod/jBNRrUAbjHki/uyGXP2o/qXRrU40h6c+cp6R3Qxe6 Yx7P+e7Twsd+VV3KRcMTaiD6020o0TF2P1of14vTivC8PU1xxB+W6eoXXbV+4LItDeEG YvdK+wD3cOXK8YaZtDqzkytTjLBZor7RODSgpPTTaUnS2gB5SiTbk0gIhVvEszcxRxpE be4Kyvwvs5lM395ZEawqigzcQIm3m9LMEHUjHVVsmUPOKay8oo9EvVY2PJYnEKpwkzzC kDnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=mYqqLLR/8adqGlwV7RoxrQN9L1/GbUZnthwXZznJkMY=; b=q0xAC8OUMssTlhdaZr8pjZPBppqLnGubmSjLighrL6JdXhNXAsRLIoAQkzYDi0t8GW XFynJXGPa1cFhwcQCX/boml7Lneh3wFqSnv53uhSblWPfV6wKFHE3oAxzzS9HOlJe0fQ DdXgUF/Gf4GA4+2BK9jaIzmMlaQadHDz6C7e1YbnDo13VqLEH7qbB7s5pVYuqmWSOKrG w2O8Y0YUk0QvP4ZHkmWFOa36qlBHk+oOrupKHIEZa2jzjyMDCcxP1/eayv2fFYflYmlR h8cHJ1om7npcA+wylU553IA8ajdo31Ys4y2+NB1d75PX3pSKVBJjRXCthnh8IJSwZcp0 OFaw== 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 b8si3210001edz.532.2021.02.25.01.44.59; Thu, 25 Feb 2021 01:45:21 -0800 (PST) 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 S235062AbhBYHt3 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 25 Feb 2021 02:49:29 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37391 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234308AbhBYHt1 (ORCPT ); Thu, 25 Feb 2021 02:49:27 -0500 X-Originating-IP: 86.250.253.134 Received: from xps13 (lfbn-tou-1-813-134.w86-250.abo.wanadoo.fr [86.250.253.134]) (Authenticated sender: miquel.raynal@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id D5391E0007; Thu, 25 Feb 2021 07:48:39 +0000 (UTC) Date: Thu, 25 Feb 2021 08:48:38 +0100 From: Miquel Raynal To: Brian Norris Cc: =?UTF-8?B?w4FsdmFybyBGZXJuw6FuZGV6?= Rojas , Florian Fainelli , Kamal Dasu , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, bcm-kernel-feedback-list , Linux Kernel Subject: Re: [PATCH v2] nand: brcmnand: fix OOB R/W with Hamming ECC Message-ID: <20210225084838.34bbdbff@xps13> In-Reply-To: References: <20210222201655.32361-1-noltari@gmail.com> <20210224080210.23686-1-noltari@gmail.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Álvaro, Brian Norris wrote on Wed, 24 Feb 2021 13:01:13 -0800: > On Wed, Feb 24, 2021 at 12:02 AM Álvaro Fernández Rojas > wrote: > > Fixes: 27c5b17cd1b1 ("mtd: nand: add NAND driver "library" for Broadcom STB NAND controller") > > FWIW, I could believe this was broken. We weren't testing Hamming ECC > (nor JFFS2) at the time, so it could easily have obvious bugs like > this. Right, you should probably limit the backport to the time when raw accessors got introduced/fixed. Thanks, Miquèl