linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PULL] mtd: nand: material for 4.9
@ 2016-09-25 18:53 Boris Brezillon
  2016-10-03 16:55 ` Brian Norris
  0 siblings, 1 reply; 3+ messages in thread
From: Boris Brezillon @ 2016-09-25 18:53 UTC (permalink / raw)
  To: Brian Norris, Richard Weinberger; +Cc: linux-mtd, linux-kernel

Hi Brian,

Here is my PR for 4.9. Let me know if you see any problem.
Also, please let us know ahead of time if you can't take this PR (I know you
are busy lately, and I guess I could send this PR directly to Linus or ask
Richard to take it in its UBIFS/UBI tree).

Thanks,

Boris

The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc:

  Linux 4.8-rc1 (2016-08-07 18:18:00 -0700)

are available in the git repository at:

  git@github.com:linux-nand/linux.git tags/for-4.9

for you to fetch changes up to d44154f969a44269a9288c274c1c2fd9e85df8a5:

  mtd: nand: Provide nand_cleanup() function to free NAND related resources (2016-09-23 09:35:16 +0200)

----------------------------------------------------------------
Notable core changes:
- add the infrastructure to automate NAND timings configuration
- provide a generic DT property to maximize ECC strength

The rest is just a bunch of minor drivers and core fixes/cleanup
patches.

----------------------------------------------------------------
Andrey Smirnov (4):
      Kconfig: nand: Make MTD_NAND_FSL_ELBC depend on FSL_SOC
      Kconfig: nand: Remove redundant dependency on MTD_NAND
      mtd: nand: Error out if cmd_ctrl() is missing
      mtd: nand: Get rid of needless 'goto'

Boris Brezillon (10):
      mtd: nand: timings: Fix tADL_min for ONFI 4.0 chips
      mtd: nand: timings: Reorder tRR_min def in mode 0
      mtd: nand_bbt: Move BBT block selection logic out of write_bbt()
      mtd: nand: automate NAND timings selection
      mtd: nand: Add an option to maximize the ECC strength
      mtd: nand: Support maximizing ECC when using software BCH
      mtd: nand: sunxi: Support ECC maximization
      mtd: nand: Fix nand_command_lp() for 8bits opcodes
      mtd: nand: mxc: Test CONFIG_OF instead of CONFIG_OF_MTD
      mtd: Kill the OF_MTD Kconfig option

Brian Norris (1):
      mtd: nand: sh_flctl: handle dma_submit() errors

Han Xu (1):
      mtd: nand: gpmi: get correct free oob space

Harvey Hunt (1):
      MAINTAINERS: Add maintainer entry for Ingenic JZ4780 NAND driver

Krzysztof Kozlowski (1):
      mtd: nand: s3c2410: Register cpufreq notifier only on S3C24xx

Kyle Roeschley (1):
      mtd: nand_bbt: scan for next free bbt block if writing bbt fails

Marc Gonzalez (1):
      mtd: nand: import nand_hw_control_init()

Ray Jui (1):
      mtd: brcmnand: iProc big endian and ONFI support

Richard Weinberger (1):
      mtd: nand: Provide nand_cleanup() function to free NAND related resources

Roger Quadros (1):
      mtd: nand: Allow MTD_NAND_OMAP2 to be usable on Keystone devices

Sascha Hauer (9):
      mtd: nand: remove unnecessary 'extern' from function declarations
      mtd: nand: Create a NAND reset function
      mtd: nand: Introduce nand_data_interface
      mtd: nand: convert ONFI mode into data interface
      mtd: nand: Add function to convert ONFI mode to data_interface
      mtd: nand: Expose data interface for ONFI mode 0
      mtd: nand: mxc: implement onfi get/set features
      mtd: nand: mxc: Add timing setup for v2 controllers

 Documentation/devicetree/bindings/mtd/nand.txt |   9 ++
 MAINTAINERS                                    |   6 +
 drivers/mtd/nand/Kconfig                       |  12 +-
 drivers/mtd/nand/bf5xx_nand.c                  |   3 +-
 drivers/mtd/nand/brcmnand/brcmnand.c           |  15 +-
 drivers/mtd/nand/brcmnand/brcmnand.h           |  13 +-
 drivers/mtd/nand/brcmnand/iproc_nand.c         |  18 ++-
 drivers/mtd/nand/docg4.c                       |   3 +-
 drivers/mtd/nand/fsl_elbc_nand.c               |   3 +-
 drivers/mtd/nand/fsl_ifc_nand.c                |   3 +-
 drivers/mtd/nand/gpmi-nand/gpmi-nand.c         |   3 +-
 drivers/mtd/nand/jz4780_nand.c                 |   3 +-
 drivers/mtd/nand/mxc_nand.c                    | 137 ++++++++++++++++++-
 drivers/mtd/nand/nand_base.c                   | 260 +++++++++++++++++++++++++++++++----
 drivers/mtd/nand/nand_bbt.c                    | 161 ++++++++++++++++------
 drivers/mtd/nand/nand_timings.c                | 470 +++++++++++++++++++++++++++++++++++----------------------------
 drivers/mtd/nand/ndfc.c                        |   3 +-
 drivers/mtd/nand/pxa3xx_nand.c                 |   3 +-
 drivers/mtd/nand/qcom_nandc.c                  |   3 +-
 drivers/mtd/nand/s3c2410.c                     |   7 +-
 drivers/mtd/nand/sh_flctl.c                    |   8 +-
 drivers/mtd/nand/sunxi_nand.c                  | 108 ++++++---------
 drivers/mtd/nand/txx9ndfmc.c                   |   3 +-
 drivers/of/Kconfig                             |   4 -
 include/linux/mtd/nand.h                       | 234 +++++++++++++++++++++----------
 25 files changed, 1033 insertions(+), 459 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PULL] mtd: nand: material for 4.9
  2016-09-25 18:53 [PULL] mtd: nand: material for 4.9 Boris Brezillon
@ 2016-10-03 16:55 ` Brian Norris
  2016-10-03 17:38   ` Boris Brezillon
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Norris @ 2016-10-03 16:55 UTC (permalink / raw)
  To: Boris Brezillon; +Cc: Richard Weinberger, linux-mtd, linux-kernel

Hi Boris,

On Sun, Sep 25, 2016 at 08:53:26PM +0200, Boris Brezillon wrote:
> Hi Brian,
> 
> Here is my PR for 4.9. Let me know if you see any problem.
> Also, please let us know ahead of time if you can't take this PR (I know you
> are busy lately, and I guess I could send this PR directly to Linus or ask
> Richard to take it in its UBIFS/UBI tree).

I made some time for this one. We'll see about the pairing one
(hopefully trivial? but I'm not sure if there's value in merging without
users).

> Thanks,
> 
> Boris
> 
> The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc:
> 
>   Linux 4.8-rc1 (2016-08-07 18:18:00 -0700)
> 
> are available in the git repository at:
> 
>   git@github.com:linux-nand/linux.git tags/for-4.9
> 
> for you to fetch changes up to d44154f969a44269a9288c274c1c2fd9e85df8a5:
> 
>   mtd: nand: Provide nand_cleanup() function to free NAND related resources (2016-09-23 09:35:16 +0200)

Thanks. I only added one trivial fixup that checkpatch.pl's spelling.txt
(what??) caught:

diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 7a00245ebada..e5718e5ecf92 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -746,7 +746,7 @@ static void nand_command_lp(struct mtd_info *mtd, unsigned int command,
 			chip->cmd_ctrl(mtd, column, ctrl);
 			ctrl &= ~NAND_CTRL_CHANGE;
 
-			/* Only ouput a single addr cycle for 8bits opcodes. */
+			/* Only output a single addr cycle for 8bits opcodes. */
 			if (!nand_opcode_8bits(command))
 				chip->cmd_ctrl(mtd, column >> 8, ctrl);
 		}


> ----------------------------------------------------------------
> Notable core changes:
> - add the infrastructure to automate NAND timings configuration
> - provide a generic DT property to maximize ECC strength
> 
> The rest is just a bunch of minor drivers and core fixes/cleanup
> patches.
> 
> ----------------------------------------------------------------

I added a small note in the merge commit about the BBT changes you made.
That's an especially fragile piece of code I think (and used by every
NAND driver), but it looked OK to me.

Brian

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PULL] mtd: nand: material for 4.9
  2016-10-03 16:55 ` Brian Norris
@ 2016-10-03 17:38   ` Boris Brezillon
  0 siblings, 0 replies; 3+ messages in thread
From: Boris Brezillon @ 2016-10-03 17:38 UTC (permalink / raw)
  To: Brian Norris; +Cc: Richard Weinberger, linux-mtd, linux-kernel

Hi Brian,

On Mon, 3 Oct 2016 09:55:33 -0700
Brian Norris <computersforpeace@gmail.com> wrote:

> Hi Boris,
> 
> On Sun, Sep 25, 2016 at 08:53:26PM +0200, Boris Brezillon wrote:
> > Hi Brian,
> > 
> > Here is my PR for 4.9. Let me know if you see any problem.
> > Also, please let us know ahead of time if you can't take this PR (I know you
> > are busy lately, and I guess I could send this PR directly to Linus or ask
> > Richard to take it in its UBIFS/UBI tree).  
> 
> I made some time for this one. We'll see about the pairing one
> (hopefully trivial? but I'm not sure if there's value in merging without
> users).

Well, I already posted UBI patches using this API, and that'd be easier
if the interface is already available (that would solve cross-tree
dependencies).
> 
> > Thanks,
> > 
> > Boris
> > 
> > The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc:
> > 
> >   Linux 4.8-rc1 (2016-08-07 18:18:00 -0700)
> > 
> > are available in the git repository at:
> > 
> >   git@github.com:linux-nand/linux.git tags/for-4.9
> > 
> > for you to fetch changes up to d44154f969a44269a9288c274c1c2fd9e85df8a5:
> > 
> >   mtd: nand: Provide nand_cleanup() function to free NAND related resources (2016-09-23 09:35:16 +0200)  
> 
> Thanks. I only added one trivial fixup that checkpatch.pl's spelling.txt
> (what??) caught:
> 
> diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
> index 7a00245ebada..e5718e5ecf92 100644
> --- a/drivers/mtd/nand/nand_base.c
> +++ b/drivers/mtd/nand/nand_base.c
> @@ -746,7 +746,7 @@ static void nand_command_lp(struct mtd_info *mtd, unsigned int command,
>  			chip->cmd_ctrl(mtd, column, ctrl);
>  			ctrl &= ~NAND_CTRL_CHANGE;
>  
> -			/* Only ouput a single addr cycle for 8bits opcodes. */
> +			/* Only output a single addr cycle for 8bits opcodes. */
>  			if (!nand_opcode_8bits(command))
>  				chip->cmd_ctrl(mtd, column >> 8, ctrl);
>  		}
> 
> 
> > ----------------------------------------------------------------
> > Notable core changes:
> > - add the infrastructure to automate NAND timings configuration
> > - provide a generic DT property to maximize ECC strength
> > 
> > The rest is just a bunch of minor drivers and core fixes/cleanup
> > patches.
> > 
> > ----------------------------------------------------------------  
> 
> I added a small note in the merge commit about the BBT changes you made.
> That's an especially fragile piece of code I think (and used by every
> NAND driver), but it looked OK to me.

Oh, I completely forgot about this important change.

Thanks for fixing the typo and adding more information in the merge
message.

Boris

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-03 17:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-25 18:53 [PULL] mtd: nand: material for 4.9 Boris Brezillon
2016-10-03 16:55 ` Brian Norris
2016-10-03 17:38   ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).