1. 03 10月, 2018 2 次提交
  2. 05 9月, 2018 3 次提交
  3. 01 8月, 2018 1 次提交
  4. 31 7月, 2018 7 次提交
  5. 20 7月, 2018 1 次提交
  6. 18 7月, 2018 4 次提交
  7. 02 7月, 2018 4 次提交
  8. 22 6月, 2018 1 次提交
  9. 16 5月, 2018 1 次提交
    • B
      mtd: rawnand: Do not check FAIL bit when executing a SET_FEATURES op · 782d1967
      Boris Brezillon 提交于
      The ONFI spec clearly says that FAIL bit is only valid for PROGRAM,
      ERASE and READ-with-on-die-ECC operations, and should be ignored
      otherwise.
      
      It seems that checking it after sending a SET_FEATURES is a bad idea
      because a previous READ, PROGRAM or ERASE op may have failed, and
      depending on the implementation, the FAIL bit is not cleared until a
      new READ, PROGRAM or ERASE is started.
      
      This leads to ->set_features() returning -EIO while it actually worked,
      which can sometimes stop a batch of READ/PROGRAM ops.
      
      Note that we only fix the ->exec_op() path here, because some drivers
      are abusing the NAND_STATUS_FAIL flag in their ->waitfunc()
      implementation to propagate other kind of errors, like
      wait-ready-timeout or controller-related errors. Let's not try to fix
      those drivers since they worked fine so far.
      
      Fixes: 8878b126 ("mtd: nand: add ->exec_op() implementation")
      Cc: stable@vger.kernel.org
      Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
      Acked-by: NMiquel Raynal <miquel.raynal@bootlin.com>
      782d1967
  10. 13 5月, 2018 1 次提交
  11. 10 5月, 2018 1 次提交
  12. 29 4月, 2018 1 次提交
  13. 20 3月, 2018 12 次提交
  14. 16 2月, 2018 1 次提交