From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eusmtp01.atmel.com ([212.144.249.242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b4sPm-0000WB-6K for linux-mtd@lists.infradead.org; Mon, 23 May 2016 16:09:10 +0000 Subject: Re: [PATCH v7 00/10] Add error checking to spi-nor read and write To: Brian Norris , References: <1462494716-95312-1-git-send-email-computersforpeace@gmail.com> From: Cyrille Pitchen CC: Heiner Kallweit , Han Xu , "Michal Suchanek" , Boris Brezillon , Javier Martinez Canillas , Rafal Milecki , Jagan Teki , "Andrew F. Davis" , Mika Westerberg , Gabor Juhos , Bean Huo , , Bayi Cheng , Joachim Eastwood Message-ID: <57432B0E.9060100@atmel.com> Date: Mon, 23 May 2016 18:08:46 +0200 MIME-Version: 1.0 In-Reply-To: <1462494716-95312-1-git-send-email-computersforpeace@gmail.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi all, I've tested this series on a sama5d2 xplained board + Macronix mx25l25673g using the atmel-quadspi driver I'm about to submit (wihtout any additional patches of the spi-nor framework to enhance the support of QSPI memories). Best regards, Cyrille Tested-by Cyrille Pitchen Le 06/05/2016 02:31, Brian Norris a écrit : > Hi, > > I'm picking up Michal's patch set, since he dropped it on the floor, and it's > useful for others. My additions: > > * rebased on latest > * added fixes for drivers that have been merged in the meantime > * addressed most of Heiner's comments > > I've put some v6->v7 change info in the patch descriptions as well. > > Tested on m25p80 only. > > Regards, > Brian > Brian Norris (2): > mtd: mtk-quadspi: return amount of data transferred or error in > read/write > mtd: nxp-spifi: return amount of data transferred or error in > read/write > > Michal Suchanek (8): > mtd: spi-nor: change return value of read/write > mtd: m25p80: return amount of data transferred or error in read/write > mtd: fsl-quadspi: return amount of data read/written or error > mtd: spi-nor: check return value from write > mtd: spi-nor: stop passing around retlen > mtd: spi-nor: simplify write loop > mtd: spi-nor: add read loop > mtd: m25p80: read in spi_max_transfer_size chunks > > drivers/mtd/devices/m25p80.c | 37 +++++++++----- > drivers/mtd/spi-nor/fsl-quadspi.c | 29 +++++------ > drivers/mtd/spi-nor/mtk-quadspi.c | 42 +++++++++------- > drivers/mtd/spi-nor/nxp-spifi.c | 25 +++++----- > drivers/mtd/spi-nor/spi-nor.c | 100 +++++++++++++++++++++++++------------- > include/linux/mtd/spi-nor.h | 8 +-- > 6 files changed, 148 insertions(+), 93 deletions(-) >