Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3122117pxk; Mon, 28 Sep 2020 08:52:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzH90ZXip87C/ciU0hiFP7SO6+7Ii6ayxwIyMdztFfHd2KNb9UdaNJhqljg+7SRow5M7nxE X-Received: by 2002:a17:906:455:: with SMTP id e21mr2404760eja.170.1601308366206; Mon, 28 Sep 2020 08:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601308366; cv=none; d=google.com; s=arc-20160816; b=c90LXPcGYPC2gC/ndy7oc5RnU6D7PEyWb5szVBZQGIWgIAM3v+SyQoshKuye8cKt2J 88G4E22qq9DTNPDvCkxZNoy029vzCrXSMzf/NJ8PGyjEsiY61z7vz/IgFjTGqqqTdnKm gRcnF5MPhVR4/8bPQR3Q9QjstbQID7g7RgPvRnUfoltD+ISwguxZqUDRWCEQ32BSJ+PB XV0Irqa3hp8onQyJosZUhhlFo8vPG5zS1Vv7ST6iiLUHTm3tlAutorCn6wdA/37ZT7Cg jTN3PvVqpnw0e3JVLTGSv2BFhU7m5PkyRBib5U2XzzxorQjUp7E4HoxiihalGWVyUIDr 4xsw== 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=L/IOsgArXj4eY+M7EiWcvnDKAvTzI7uNJ1RFygKpVrQ=; b=tvmJ/Xj1rSoyp4zRh21h9w64FWr7/FBX1eDUeWkqgWNgCjYQ9ELFKgdx5mr2ThMSXj 8wTugoWB1xoZr4KwtPuTF1j3LhlCIZM3inamsbQLzwz/fWkqUCNBvwk1e8P/03OPj10l NVozz4H64hGF+DXU9kcJDsY7yGc4BWIAX5x+waVaqyCixTV5Y0Esc94s2cck+Vv/iTf8 FjZSxouxo3WlXV1vdimDjZ8RjuRyi3tw8zhqNssnGqD/eadTAHz1gW+BfIDNAvtuZOdo CylsO/FxHy0n5LyB0JfMsRzxGDWCDzDK7fu+IghzuRzRrzA5YDgBkrlTdBhg2wSumddT /lPg== 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 bh11si848962ejb.496.2020.09.28.08.52.22; Mon, 28 Sep 2020 08:52:46 -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 S1726513AbgI1PuK (ORCPT + 99 others); Mon, 28 Sep 2020 11:50:10 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:36975 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726325AbgI1PuJ (ORCPT ); Mon, 28 Sep 2020 11:50:09 -0400 X-Originating-IP: 91.224.148.103 Received: from xps13 (unknown [91.224.148.103]) (Authenticated sender: miquel.raynal@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 19268FF809; Mon, 28 Sep 2020 15:50:06 +0000 (UTC) Date: Mon, 28 Sep 2020 17:50:05 +0200 From: Miquel Raynal To: Boris Brezillon Cc: Thirumalesha N , Richard Weinberger , Vignesh Raghavendra , Shivamurthy Shastri , Chuanhong Guo , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/2] mtd: spinand: micron: Generalize the function and structure names Message-ID: <20200928175005.48783b61@xps13> In-Reply-To: <20200928174505.75fda272@collabora.com> References: <20200913161533.10655-1-nthirumalesha7@gmail.com> <20200913161533.10655-2-nthirumalesha7@gmail.com> <20200915101321.1afa5033@xps13> <20200928165528.54e5db6e@xps13> <20200928174505.75fda272@collabora.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=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Boris Brezillon wrote on Mon, 28 Sep 2020 17:45:05 +0200: > On Mon, 28 Sep 2020 16:55:28 +0200 > Miquel Raynal wrote: > > > > IMHO, grouped means, ecc bytes are at continuous address, where as > > > interleaved means ecc bytes splitted into multiple addresses > > > > I don't like the name. Interleaved means that there are OOB bytes > > stored in the data section, which is not the case here. > > Well, I would argue that the term interleaved alone doesn't say > anything about the things that are interleaved. But I guess I should have said that interleaved, in this subsystem, generally refers to in-band vs. out-of-band data. > split/grouped would be fine too if you want to avoid re-using > interleaved here. split/grouped is fine by me. > > > The way OOB > > bytes are organized do not seem relevant to me, I think i prefer the > > "_4_/_8_" naming,even if it's not very explicit. > > The ECC strength doesn't say anything about the scheme used for ECC > bytes placement, and you might end up with 2 different schemes > providing the same strength, or the same scheme used for 2 different > strengths. So perhaps both should be present in the name?