Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1390868 > unrolled thread

Re: [PATCH] mtd: nand: gpmi: get correct free oob space

Started byBoris Brezillon <boris.brezillon@free-electrons.com>
First post2016-04-29 10:40 +0200
Last post2016-04-29 19:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] mtd: nand: gpmi: get correct free oob space Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-04-29 10:40 +0200
    Re: [PATCH] mtd: nand: gpmi: get correct free oob space Han Xu <han.xu@nxp.com> - 2016-04-29 19:10 +0200

#1390868 — Re: [PATCH] mtd: nand: gpmi: get correct free oob space

FromBoris Brezillon <boris.brezillon@free-electrons.com>
Date2016-04-29 10:40 +0200
SubjectRe: [PATCH] mtd: nand: gpmi: get correct free oob space
Message-ID<rtc7U-2Py-25@gated-at.bofh.it>
Hi Han,

On Wed, 13 Apr 2016 00:43:51 +0200
Boris Brezillon <boris.brezillon@free-electrons.com> wrote:

> Hi Han,
> 
> On Tue, 12 Apr 2016 17:06:33 -0500
> Han Xu <han.xu@nxp.com> wrote:
> 
> > change the way to calculate pagesize to get correct free oob space for
> > legacy_set_geometry function.  
> 
> Are you sure it's safe to expose free OOB bytes in this case? Do you
> know why it wasn't done before?

You did not answer this question. Do you want me to drop this patch. If
that's not the case, can you confirm it does not break platforms that
didn't have those free OOB bytes exposed before this change.

Thanks,

Boris


-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[toc] | [next] | [standalone]


#1391297

FromHan Xu <han.xu@nxp.com>
Date2016-04-29 19:10 +0200
Message-ID<rtk5s-1fo-1@gated-at.bofh.it>
In reply to#1390868

________________________________________
From: Boris Brezillon <boris.brezillon@free-electrons.com>
Sent: Friday, April 29, 2016 2:31 AM
To: Han Xu
Cc: richard@nod.at; dwmw2@infradead.org; computersforpeace@gmail.com; linux-mtd@lists.infradead.org; linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mtd: nand: gpmi: get correct free oob space

Hi Han,

On Wed, 13 Apr 2016 00:43:51 +0200
Boris Brezillon <boris.brezillon@free-electrons.com> wrote:

> Hi Han,
>
> On Tue, 12 Apr 2016 17:06:33 -0500
> Han Xu <han.xu@nxp.com> wrote:
>
> > change the way to calculate pagesize to get correct free oob space for
> > legacy_set_geometry function.
>
> Are you sure it's safe to expose free OOB bytes in this case? Do you
> know why it wasn't done before?

You did not answer this question. Do you want me to drop this patch. If
that's not the case, can you confirm it does not break platforms that
didn't have those free OOB bytes exposed before this change.

I think it's safe to expose the free OOB and also tested on my side, no
issue found.

Thanks,

Boris


--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web