1. 20 9月, 2018 9 次提交
  2. 19 9月, 2018 17 次提交
  3. 11 9月, 2018 1 次提交
    • M
      mtd: nand: denali: fix unaligned cache operations on ARMv7 SoCs · e8f65763
      Masahiro Yamada 提交于
      If the OOB size is not multiple of the cache line size, the ARMv7
      cache operation still prints "Misaligned operation at range".
      
      => nand info
      
      Device 0: nand0, sector size 256 KiB
        Page size       4096 b
        OOB size         224 b
        Erase size    262144 b
        subpagesize     4096 b
        options     0x00104200
        bbt options 0x00060000
      => nand dump 0
      CACHE: Misaligned operation at range [9fb15280, 9fb16360]
      CACHE: Misaligned operation at range [9fb15280, 9fb16360]
      CACHE: Misaligned operation at range [9fb15280, 9fb16360]
      CACHE: Misaligned operation at range [9fb15280, 9fb16360]
        ...
      
      The cache flushing operations won't happen in this case to cover all of
      the range to fix this by making sure we have things aligned.
      Reported-by: NMarek Vasut <marex@denx.de>
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      [trini: Reword the commit message to be clear this is a direct problem
      rather than just a warning]
      e8f65763
  4. 11 8月, 2018 1 次提交
  5. 31 7月, 2018 2 次提交
  6. 25 7月, 2018 1 次提交
    • M
      mtd: nand: denali: correct buffer alignment for DMA transfer · 4a610fad
      Masahiro Yamada 提交于
      The NAND framework makes sure to pass in the buffer with at least
      chip->buf_align alignment.  Currently, the Denali NAND driver only
      requests 16 byte alignment.  This causes unaligned cache operations
      for the DMA transfer.
      
      [Error Example]
      
      => nand read 81000010 0 1000
      
      NAND read: device 0 offset 0x0, size 0x1000
      CACHE: Misaligned operation at range [81000010, 81001010]
      CACHE: Misaligned operation at range [81000010, 81001010]
      CACHE: Misaligned operation at range [81000010, 81001010]
      CACHE: Misaligned operation at range [81000010, 81001010]
       4096 bytes read: OK
      Reported-by: NMarek Vasut <marex@denx.de>
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      4a610fad
  7. 23 7月, 2018 1 次提交
  8. 22 7月, 2018 3 次提交
  9. 27 6月, 2018 5 次提交