Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp538467pxb; Thu, 5 Nov 2020 06:46:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpTak615SGfP4OoDwUWMK5UJfxTIF8YHuvzd5uUyPR84fMOwtNs5Jpq9fo308+/udnyDvz X-Received: by 2002:aa7:d356:: with SMTP id m22mr2942983edr.270.1604587577245; Thu, 05 Nov 2020 06:46:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604587577; cv=none; d=google.com; s=arc-20160816; b=egbaFrS26YpXkN9kIO81akanlhztMygaS1Hca/kJ0FXx0t4C6qvSuC6ocqGonsV5Po pGE9OUYarPeAL8VsTZ2g4g3+RC6PxBx9cvRTtiInjVXaleAMLo9fXsX/BKcJSCBAHiD1 4DiapApCJ7JAzbv7AHuE08j79p34Xbo04sl6hjG5QQ/Vv1NAfjNcuVYzm2kkJMTLJgVP aDEKDKRVmJ5TaaX5VcttbloMGeflUo/bL+9tWJJylQiV4kaVcbRzDWBE3Nt+n6pPI6gl k6g8ndHJDbPf4/CKSLttCccrE+9JlLbiuHu0ZPsP88saUtDONok4odUqXA+j5r0Lse0n E4Gw== 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=z6PRS7+4lbO6ND6l3vHI2ybAnA0BMosoBDK0cBFGZ9A=; b=C88MC+DQO2wOjPpIBVL45drYLkKKK1O5tdqV7wC949q1R01VRZVS4EwpFMEpXE0qej 6iLQTjf1tr/CCa+ZQQilXnbvKYZw2QxBy5jkAw6C4FMOZXUzu61DzKzhz3MDUAjdD66X 7tZgw97mITdtRYMyLWGLg9xhnZ8xdFOXQd2ak4YpU8vQyhFMnvbz2Qf0TaXe5JoDjJXA PQtbsWYIsLI/RGQb/OVkbOGUg13n1Yy1Yw1tFzpWp99pUubwtsVPqnOpyLaqfPG+v1KE hlwDN8fiK32Art62r5uYM4leOxmiOCZ6+rzrLqAWdkrnfn06TQcVbEBCBmI/tCthDf15 dJog== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j22si548607eds.369.2020.11.05.06.45.53; Thu, 05 Nov 2020 06:46:17 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730616AbgKEOo0 (ORCPT + 99 others); Thu, 5 Nov 2020 09:44:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730461AbgKEOo0 (ORCPT ); Thu, 5 Nov 2020 09:44:26 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2ABFCC0613CF for ; Thu, 5 Nov 2020 06:44:26 -0800 (PST) Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bbrezillon) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id B1C9A1F46471; Thu, 5 Nov 2020 14:44:24 +0000 (GMT) Date: Thu, 5 Nov 2020 15:44:21 +0100 From: Boris Brezillon To: Thirumalesha N Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Shivamurthy Shastri , Chuanhong Guo , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5] mtd: spinand: micron: add support for MT29F2G01AAAED Message-ID: <20201105154421.686e0675@collabora.com> In-Reply-To: References: <20201103145901.29372-1-nthirumalesha7@gmail.com> <20201103160309.772f3538@collabora.com> Organization: Collabora X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-redhat-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 On Tue, 3 Nov 2020 23:18:54 +0800 Thirumalesha N wrote: > Hi Boris, > > On Tue, Nov 3, 2020 at 11:03 PM Boris Brezillon < > boris.brezillon@collabora.com> wrote: > > > On Tue, 3 Nov 2020 22:59:01 +0800 > > Thirumalesha Narasimhappa wrote: > > > > > The MT29F2G01AAAED is a single die, 2Gb Micron SPI NAND Flash with 4-bit > > > ECC > > > > > > Signed-off-by: Thirumalesha Narasimhappa > > > --- > > > > > > v5: As per the review comments, the changes were reverted to the v2, > > > except the MT29F2G01AAAED device related (including the review comments) > > > > I don't think that's what Miquel suggested, especially not for the > > {write,update,write}_cache_variants helpers. > > > > > I was a bit confused with the multiple levels of comments with the previous > patch and I renamed *{write,update,write}_cache_var**iants* to *micron_4_** > to avoid function redefinition. > Please can you direct me with this patch, what needs to be modified/renamed > ? Keep the SPINAND_OP_VARIANTS() as they were in v4 and use the micron_4_ prefix for ECC related stuff.