From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751667AbbHPKU6 (ORCPT ); Sun, 16 Aug 2015 06:20:58 -0400 Received: from mail-lb0-f176.google.com ([209.85.217.176]:35078 "EHLO mail-lb0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751064AbbHPKU4 convert rfc822-to-8bit (ORCPT ); Sun, 16 Aug 2015 06:20:56 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Michal Suchanek Date: Sun, 16 Aug 2015 12:20:15 +0200 Message-ID: Subject: Re: [PATCH v4 0/7] Add spi-nor SPI transfer error handling To: =?UTF-8?B?QmVhbiBIdW8g6ZyN5paM5paMIChiZWFuaHVvKQ==?= Cc: Hou Zhiqiang , "shijie.huang@intel.com" , David Woodhouse , Brian Norris , Han Xu , =?UTF-8?B?UmFmYcOF4oCaIE1pw4XigJplY2tp?= , Ben Hutchings , Marek Vasut , Gabor Juhos , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On 15 August 2015 at 03:51, Bean Huo 霍斌斌 (beanhuo) wrote: >>Hello, > >>with these patches SPI transfer errors are not silently ignored but rather reported to spi-nor users. > >>This should prevent silently dropping data to the floor in cases when the SPI transfer fails and the failure is detected. > >>It has been pointed out that MTD users do not handle the case when data is read only partially so this version adds the last patch which handles this in spi-nor. > >>Thanks > >>Michal > Seems parallel nand read/write also has the same condition. I am not familiar with parallel NAND drivers so I have no idea if parallel nand can fail in similar way. As I understand it the parallel nand controller is dedicated piece of hardware just for accessing the nand so there may not be any problems similar to what the generic SPI bus has. Thanks Michal