From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-107.mimecast.com ([63.128.21.107]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e56UQ-00046w-AI for linux-mtd@lists.infradead.org; Thu, 19 Oct 2017 08:47:44 +0000 Subject: Re: [RFC 00/12] Marvell NAND controller rework with ->exec_op() To: Boris Brezillon , Miquel Raynal CC: Andrew Lunn , Brian Norris , Catalin Marinas , Chen-Yu Tsai , Cyrille Pitchen , Daniel Mack , David Woodhouse , Ezequiel Garcia , Greg Kroah-Hartman , Gregory Clement , Han Xu , Haojian Zhuang , Jason Cooper , Josh Wu , Kamal Dasu , Marek Vasut , Mark Rutland , Masahiro Yamada , Matthias Brugger , Maxime Ripard , Maxim Levitsky , Richard Weinberger , Robert Jarzmik , Rob Herring , Russell King , Sebastian Hesselbarth , Stefan Agner , Sylvain Lemieux , Vladimir Zapolskiy , Wenyou Yang , Will Deacon , Thomas Petazzoni , Antoine Tenart , Igor Grinberg , Nadav Haklai , Ofer Heifetz , Neta Zur Hershkovits , Hanna Hawa , linux-mtd References: <20171018143629.29302-1-miquel.raynal@free-electrons.com> <20171019002922.5ab978ed@bbrezillon> From: Marc Gonzalez Message-ID: Date: Thu, 19 Oct 2017 10:47:07 +0200 MIME-Version: 1.0 In-Reply-To: <20171019002922.5ab978ed@bbrezillon> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , [ Dropping all mailing lists except linux-mtd ] On 19/10/2017 00:29, Boris Brezillon wrote: > Still need to review patch 6, but I'd like to say I'm really happy to > see that happen, finally. Hopefully that will help us make the NAND > framework a bit easier to maintain and allow us to support advanced > NAND features without having to patch all NAND controller drivers every > time we add a new vendor specific operation. I also have in mind a few > NAND controller drivers that have been rejected because they were not > fitting in the ->cmd_ctrl() approach and I didn't want to add more > drivers with their own partially implemented/broken ->cmdfunc() method. > > Kudos for the work you've done, and I hope we'll get reviews from other > active NAND driver maintainers/contributors. To all NAND driver > maintainers: note that the long term goal is to get rid of > ->cmd_ctrl()/cmdfunc()/read/write_buf/byte/word() entirely and replace > them with a single ->exec_op() hook. Please let us know if you need > extra things that are not yet exposed in nand_op_instr/nand_op_parser > or if you would like things to be done differently. A long time ago, we discussed a limitation of the API for reads and writes handling only a single page at a time. My controller is able to "burst" 1-15 contiguous pages. Does this rewrite help with such a feature, or is it orthogonal? Regards.