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


Groups > linux.kernel > #1391297

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

From Han Xu <han.xu@nxp.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mtd: nand: gpmi: get correct free oob space
Date 2016-04-29 19:10 +0200
Message-ID <rtk5s-1fo-1@gated-at.bofh.it> (permalink)
References <rneFs-6vF-13@gated-at.bofh.it> <rtk5s-1fo-3@gated-at.bofh.it> <rtc7U-2Py-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



________________________________________
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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web