Re: [PATCH] mtd: nand: omap2: Fix subpage write

2017-10-19 Thread Boris Brezillon
On Thu, 19 Oct 2017 17:23:24 +0300 Roger Quadros wrote: > On 19/10/17 17:20, Boris Brezillon wrote: > > On Thu, 19 Oct 2017 17:11:34 +0300 > > Roger Quadros wrote: > > > >> On 19/10/17 16:51, Boris Brezillon wrote: > >>> On Thu, 19 Oct 2017 11:41:29 +0300 > >>> Roger Quadros wrote: > >>>

Re: [PATCH] mtd: nand: omap2: Fix subpage write

2017-10-19 Thread Roger Quadros
On 19/10/17 17:20, Boris Brezillon wrote: > On Thu, 19 Oct 2017 17:11:34 +0300 > Roger Quadros wrote: > >> On 19/10/17 16:51, Boris Brezillon wrote: >>> On Thu, 19 Oct 2017 11:41:29 +0300 >>> Roger Quadros wrote: >>> Since v4.12, NAND subpage writes were causing a NULL pointer deref

Re: [PATCH] mtd: nand: omap2: Fix subpage write

2017-10-19 Thread Boris Brezillon
On Thu, 19 Oct 2017 17:11:34 +0300 Roger Quadros wrote: > On 19/10/17 16:51, Boris Brezillon wrote: > > On Thu, 19 Oct 2017 11:41:29 +0300 > > Roger Quadros wrote: > > > >> Since v4.12, NAND subpage writes were causing a NULL pointer > >> dereference on OMAP platforms (omap2-nand) using OMAP_

Re: [PATCH] mtd: nand: omap2: Fix subpage write

2017-10-19 Thread Boris Brezillon
On Thu, 19 Oct 2017 11:41:29 +0300 Roger Quadros wrote: > Since v4.12, NAND subpage writes were causing a NULL pointer > dereference on OMAP platforms (omap2-nand) using OMAP_ECC_BCH4_CODE_HW, > OMAP_ECC_BCH8_CODE_HW and OMAP_ECC_BCH16_CODE_HW. > > This is because for those ECC modes, omap_calcu

Re: [PATCH] mtd: nand: omap2: Fix subpage write

2017-10-19 Thread Roger Quadros
On 19/10/17 16:51, Boris Brezillon wrote: > On Thu, 19 Oct 2017 11:41:29 +0300 > Roger Quadros wrote: > >> Since v4.12, NAND subpage writes were causing a NULL pointer >> dereference on OMAP platforms (omap2-nand) using OMAP_ECC_BCH4_CODE_HW, >> OMAP_ECC_BCH8_CODE_HW and OMAP_ECC_BCH16_CODE_HW. >

[PATCH] mtd: nand: omap2: Fix subpage write

2017-10-19 Thread Roger Quadros
Since v4.12, NAND subpage writes were causing a NULL pointer dereference on OMAP platforms (omap2-nand) using OMAP_ECC_BCH4_CODE_HW, OMAP_ECC_BCH8_CODE_HW and OMAP_ECC_BCH16_CODE_HW. This is because for those ECC modes, omap_calculate_ecc_bch() generates ECC bytes for the entire (multi-sector) pag