[RFC PATCH v2] mtd: nand: toshiba: Add support for ->exec_op()

2018-08-03 Thread KOBAYASHI Yoshitake
ost this patch as RFC. As soon as I get a platform that supports chip-> exec_op, I would like to test and re-post. Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/raw/nand_toshiba.c | 53 - 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/d

[PATCH v6] mtd: nand: toshiba: Add support for Toshiba Memory BENAND (Built-in ECC NAND)

2018-08-03 Thread KOBAYASHI Yoshitake
accurate bitflips. For now, I set max_bitflips mtd->bitflip_threshold. Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/raw/nand_toshiba.c | 88 + 1 file changed, 88 insertions(+) diff --git a/drivers/mtd/nand/raw/nand_toshiba.c b/drivers/mtd/nand/

[RFC PATCH] mtd: nand: toshiba: Add support for ->exec_op()

2018-07-19 Thread KOBAYASHI Yoshitake
ost this patch as RFC. As soon as I get a platform that supports chip-> exec_op, I would like to test and re-post. Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/raw/nand_toshiba.c | 76 + 1 file changed, 61 insertions(+), 15 deletions(-) diff -

[PATCH v5] mtd: nand: toshiba: Add support for Toshiba Memory BENAND (Built-in ECC NAND)

2018-07-19 Thread KOBAYASHI Yoshitake
above the threshold and can not get accurate bitflips. For now, I set max_bitflips mtd->bitflip_threshold. Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/raw/nand_toshiba.c | 84 + 1 file changed, 84 insertions(+) diff --git a/drivers/mtd/nand/

[PATCH -next v4] mtd: nand: toshiba: Retrieve ECC requirements from extended ID

2018-02-14 Thread KOBAYASHI Yoshitake
This patch enables support to read the ECC strength and size from the NAND flash using Toshiba Memory SLC NAND extended-ID. This patch is based on the information of the 6th ID byte of the Toshiba Memory SLC NAND. Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/nand_toshiba.c | 26

Re: [PATCH -next v3 1/2] mtd: nand: toshiba: Retrieve ECC requirements from extended ID

2018-01-29 Thread KOBAYASHI Yoshitake
On 2017/12/27 15:06, KOBAYASHI Yoshitake wrote: > On 2017/12/19 20:56, Boris Brezillon wrote: >> On Tue, 19 Dec 2017 20:42:36 +0900 >> KOBAYASHI Yoshitake wrote: >> >>> On 2017/12/07 0:08, Boris Brezillon wrote: >>>> On Wed, 6 Dec 2017 23:0

Re: [PATCH -next v3 1/2] mtd: nand: toshiba: Retrieve ECC requirements from extended ID

2017-12-26 Thread KOBAYASHI Yoshitake
On 2017/12/19 20:56, Boris Brezillon wrote: > On Tue, 19 Dec 2017 20:42:36 +0900 > KOBAYASHI Yoshitake wrote: > >> On 2017/12/07 0:08, Boris Brezillon wrote: >>> On Wed, 6 Dec 2017 23:04:57 +0900 >>> KOBAYASHI Yoshitake wrote: >>> >>>> T

Re: [PATCH -next v3 2/2] mtd: nand: toshiba: Add support for Toshiba Memory BENAND (Built-in ECC NAND)

2017-12-19 Thread KOBAYASHI Yoshitake
gt; + > > Please move this block to toshiba_nand_init(). I think it's already in toshiba_nand_init(). -- YOSHI On 2017/12/07 0:24, Boris Brezillon wrote: > On Wed, 6 Dec 2017 23:04:58 +0900 > KOBAYASHI Yoshitake wrote: > >> This patch enables support for Toshiba Mem

Re: [PATCH -next v3 1/2] mtd: nand: toshiba: Retrieve ECC requirements from extended ID

2017-12-19 Thread KOBAYASHI Yoshitake
On 2017/12/07 0:08, Boris Brezillon wrote: > On Wed, 6 Dec 2017 23:04:57 +0900 > KOBAYASHI Yoshitake wrote: > >> This patch enables support to read the ECC strength and size from the >> NAND flash using Toshiba Memory SLC NAND extended-ID. This patch is >> based on th

[PATCH -next v3 1/2] mtd: nand: toshiba: Retrieve ECC requirements from extended ID

2017-12-06 Thread KOBAYASHI Yoshitake
This patch enables support to read the ECC strength and size from the NAND flash using Toshiba Memory SLC NAND extended-ID. This patch is based on the information of the 6th ID byte of the Toshiba Memory SLC NAND. Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/nand_toshiba.c | 28

[PATCH -next v3 2/2] mtd: nand: toshiba: Add support for Toshiba Memory BENAND (Built-in ECC NAND)

2017-12-06 Thread KOBAYASHI Yoshitake
This patch enables support for Toshiba Memory BENAND. This checks internal ECC status in read operation when using BENAND and selecting ECC mode as on-die. Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/nand_toshiba.c | 89 + 1 file changed, 89

[PATCH -next v3 0/2] mtd: nand: toshiba: Add Toshiba BENAND support

2017-12-06 Thread KOBAYASHI Yoshitake
This patch series enables to support Toshiba BENAND. The first patch retreive ECC requirement from extended ID for all Toshiba SLC NAND devices. The ECC requirement information uses to show a warning message in second patch. KOBAYASHI Yoshitake (2): mtd: nand: toshiba: Retrieve ECC requirements

Re: [PATCH -next v2] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-10-19 Thread KOBAYASHI Yoshitake
On 2017/10/12 22:26, Boris Brezillon wrote: > On Thu, 12 Oct 2017 22:03:23 +0900 > KOBAYASHI Yoshitake wrote: > >> On 2017/10/05 16:31, Boris Brezillon wrote: >>> On Thu, 5 Oct 2017 16:24:08 +0900 >>> KOBAYASHI Yoshitake wrote: >>>>>>>&g

Re: [PATCH -next v2] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-10-12 Thread KOBAYASHI Yoshitake
On 2017/10/05 16:31, Boris Brezillon wrote: > On Thu, 5 Oct 2017 16:24:08 +0900 > KOBAYASHI Yoshitake wrote: >>>>>> @@ -39,9 +105,43 @@ static void toshiba_nand_decode_id(struct nand_chip >>>>>> *chip) >>>>>>

Re: [PATCH -next v2] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-10-05 Thread KOBAYASHI Yoshitake
On 2017/09/27 6:15, Boris Brezillon wrote: > On Tue, 26 Sep 2017 18:18:04 +0900 > KOBAYASHI Yoshitake wrote: > >> On 2017/09/21 16:28, Boris Brezillon wrote: >>> On Thu, 21 Sep 2017 14:32:02 +0900 >>> KOBAYASHI Yoshitake wrote: >>> >>>> T

Re: [PATCH -next v2] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-09-26 Thread KOBAYASHI Yoshitake
On 2017/09/21 16:28, Boris Brezillon wrote: > On Thu, 21 Sep 2017 14:32:02 +0900 > KOBAYASHI Yoshitake wrote: > >> This patch enables support for Toshiba BENAND. >> The current implementation does not support vondor specific command > >

[PATCH -next v2] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-09-20 Thread KOBAYASHI Yoshitake
Changelog[v2]: Rewrite to adapt the mtd "separate vendor specific code from core" cleanup process that based on comments from the following discussion. http://patchwork.ozlabs.org/patch/767191/ Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/nand_toshi

Re: [PATCH -next] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-06-07 Thread KOBAYASHI Yoshitake
On 2017/06/07 6:11, Boris Brezillon wrote: > On Mon, 5 Jun 2017 14:36:23 +0900 > KOBAYASHI Yoshitake wrote: > >> Hi Boris, >> >> Thank you very much for your detailed review. >> I just comming back from busy week for conference and started to look it. >>

Re: [PATCH -next] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-06-04 Thread KOBAYASHI Yoshitake
hi On 2017/05/27 1:22, Boris Brezillon wrote: > Hi KOBAYASHI, > > Le Fri, 26 May 2017 10:15:35 +0900, > KOBAYASHI Yoshitake a écrit : > >> This patch enables support for Toshiba BENAND. It was originally posted on >> https://lkml.org/lkml/2015/7/24/571 >> >&

[PATCH -next] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-05-25 Thread KOBAYASHI Yoshitake
This patch enables support for Toshiba BENAND. It was originally posted on https://lkml.org/lkml/2015/7/24/571 This patch is rewrote to adapt the recent mtd "separate vendor specific code from core" cleanup process. Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/Kconfig

[PATCH REPOST v3] mtd: nand support for Toshiba BENAND (Built-in ECC NAND)

2015-07-24 Thread KOBAYASHI Yoshitake
ND_ECC_STATUS is enable and chip->cmd_ctrl is implemented. 3. Delete all pr_info(). Changelog[v2]: Added nand_benand.c and nand_benand.h Changelog[v1] The original version. (I forgot to add nand_benand.c and nand_benand.h) Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/Kc

[PATCH v3] mtd: nand support for Toshiba BENAND (Built-in ECC NAND)

2015-07-23 Thread KOBAYASHI Yoshitake
status CMD(7Ah) to report real number of bitflips. In case of difficult to use CMD(7Ah), this driver use "mtd->bitflip_threshold" to assume the number of bitflips. Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/Kconfig| 21 + drivers/mtd/nand/Makefile |

Re: [PATCH v2] mtd: nand: support for Toshiba BENAND (Built-in ECC NAND)

2015-06-19 Thread KOBAYASHI Yoshitake
*/ +bitflips = mtd->bitflip_threshold; +mtd->ecc_stats.corrected += bitflips; + } +} + +return bitflips; +} -- Yoshi On 2015/06/16 22:53, Richard Wei

Re: [PATCH v2] mtd: nand: support for Toshiba BENAND (Built-in ECC NAND)

2015-06-16 Thread KOBAYASHI Yoshitake
On 2015/06/12 17:11, Paul Bolle wrote: On Fri, 2015-06-12 at 01:00 +0900, KOBAYASHI Yoshitake wrote: diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 5897d8d..050f0e9 100644 +config MTD_NAND_BENAND + tristate + depends on MTD_NAND_BENAND_ENABLE

Re: [PATCH v2] mtd: nand: support for Toshiba BENAND (Built-in ECC NAND)

2015-06-16 Thread KOBAYASHI Yoshitake
On 2015/06/12 18:49, Richard Weinberger wrote: On Thu, Jun 11, 2015 at 6:00 PM, KOBAYASHI Yoshitake wrote: This patch enables support for Toshiba BENAND. BENAND is a SLC NAND solution that automatically generates ECC inside NAND chip. Some of the comments in the following discussion may need

[PATCH v2] mtd: nand: support for Toshiba BENAND (Built-in ECC NAND)

2015-06-11 Thread KOBAYASHI Yoshitake
This patch enables support for Toshiba BENAND. BENAND is a SLC NAND solution that automatically generates ECC inside NAND chip. Some of the comments in the following discussion may need to be considerd. https://lkml.org/lkml/2015/3/25/310 Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd

Re: [PATCH] mtd: nand: support for Toshiba BENAND (Built-in ECC NAND)

2015-06-11 Thread KOBAYASHI Yoshitake
On 2015/06/10 16:50, Richard Weinberger wrote: On Wed, Jun 10, 2015 at 9:08 AM, KOBAYASHI Yoshitake wrote: This patch enables support for Toshiba BENAND. Toshiba BENAND is a SLC NAND solution that automatically generates ECC inside NAND chip. Newer generation SLC NAND devices of today need

[PATCH] mtd: nand: support for Toshiba BENAND (Built-in ECC NAND)

2015-06-10 Thread KOBAYASHI Yoshitake
compatibility in NAND chip trend. Signed-off-by: KOBAYASHI Yoshitake --- drivers/mtd/nand/Kconfig | 16 drivers/mtd/nand/Makefile|1 + drivers/mtd/nand/nand_base.c | 32 ++-- include/linux/mtd/nand.h |3 +++ 4 files changed, 50

Re: [PATCH 3.4-stable] mmc: block: fix a bug of error handling in MMC driver

2013-07-03 Thread KOBAYASHI Yoshitake
2013/07/02 3:42, Greg KH wrote: On Mon, Jul 01, 2013 at 04:56:25PM +0900, KOBAYASHI Yoshitake wrote: Backport for 3.4-stable for the following patch: https://lkml.org/lkml/2013/5/10/20 What is the git commit id of this patch in Linus's tree? Sorry, this is my mistake. Please i

[PATCH 3.4-stable] mmc: block: fix a bug of error handling in MMC driver

2013-07-01 Thread KOBAYASHI Yoshitake
2 and CMD13 in write command sequence 2. To retry write sequence when a generic error occures This patch was also posted to 3.4.46-LTSI. https://patchwork.kernel.org/patch/2726801/ Signed-off-by: KOBAYASHI Yoshitake --- drivers/mmc/card/block.c |