public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Improve MTK NAND driver
@ 2017-06-23  7:12 Xiaolei Li
  2017-06-23  7:12 ` [PATCH 1/5] mtd: nand: mtk: fix incorrect register setting order about ecc irq Xiaolei Li
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Xiaolei Li @ 2017-06-23  7:12 UTC (permalink / raw)
  To: boris.brezillon, richard
  Cc: matthias.bgg, linux-mtd, linux-mediatek, rogercc.lin, bayi.cheng,
	jie.wu, srv_heupstream, xiaolei.li

The following patch set mainly contains:
* optimize ecc irq setting
* remove redundant code in nfi/ecc resume functions
* support ->setup_data_interface() hook, to optimize driver performance

Changes relative to:
--------------------

tree    : https://github.com/bbrezillon/linux-0day
branch  : nand/next
commit  :
        'commit c25030acf920 ("mtd: nand: denali: avoid magic numbers and
         rename for clarification")'

Tests:
------

* suspend/resume function check through commands:
  echo mem > /sys/power/state
  cat /sys/kernel/debug/suspend_stats
* ubifs and jffs2 are validated on NAND device MT29F16G08ADBCA
  by 'dd' command and iozone.
* all drivers/mtd/tests/* pass.
* speed test:
  eraseblock write speed is 10520 KiB/s
  eraseblock read speed is 17714 KiB/s
  page write speed is 10365 KiB/s
  page read speed is 17506 KiB/s
  2 page write speed is 10439 KiB/s
  2 page read speed is 17626 KiB/s
  erase speed is 64427 KiB/s
  2x multi-block erase speed is 324435 KiB/s
  4x multi-block erase speed is 331659 KiB/s
  8x multi-block erase speed is 332332 KiB/s
  16x multi-block erase speed is 333008 KiB/s
  32x multi-block erase speed is 334367 KiB/s
  64x multi-block erase speed is 333008 KiB/s

Xiaolei Li (5):
  mtd: nand: mtk: fix incorrect register setting order about ecc irq
  mtd: nand: mtk: disable ecc irq when writing page with hwecc
  mtd: nand: mtk: remove unneeded mtk_nfc_hw_init from mtk_nfc_resume
  mtd: nand: mtk: remove unneeded mtk_ecc_hw_init from mtk_ecc_resume
  mtd: nand: mtk: add ->setup_data_interface() hook

 drivers/mtd/nand/mtk_ecc.c  | 26 ++++++-------
 drivers/mtd/nand/mtk_nand.c | 92 ++++++++++++++++++++++++++++++++++++---------
 2 files changed, 88 insertions(+), 30 deletions(-)

--
1.9.1

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

end of thread, other threads:[~2017-06-24 20:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-23  7:12 [PATCH 0/5] Improve MTK NAND driver Xiaolei Li
2017-06-23  7:12 ` [PATCH 1/5] mtd: nand: mtk: fix incorrect register setting order about ecc irq Xiaolei Li
2017-06-23  7:12 ` [PATCH 2/5] mtd: nand: mtk: disable ecc irq when writing page with hwecc Xiaolei Li
2017-06-23  7:12 ` [PATCH 3/5] mtd: nand: mtk: remove unneeded mtk_nfc_hw_init from mtk_nfc_resume Xiaolei Li
2017-06-23  7:12 ` [PATCH 4/5] mtd: nand: mtk: remove unneeded mtk_ecc_hw_init from mtk_ecc_resume Xiaolei Li
2017-06-23  7:12 ` [PATCH 5/5] mtd: nand: mtk: add ->setup_data_interface() hook Xiaolei Li
2017-06-24 20:11 ` [PATCH 0/5] Improve MTK NAND driver Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox