1. 14 7月, 2015 26 次提交
  2. 09 7月, 2015 2 次提交
  3. 06 7月, 2015 4 次提交
  4. 05 7月, 2015 4 次提交
  5. 04 7月, 2015 3 次提交
  6. 03 7月, 2015 1 次提交
    • R
      ARM: io: fix ioremap_wt() implementation · 1e2c727f
      Russell King 提交于
      ioremap_wt() was added by aliasing it to ioremap_nocache(), which is a
      device mapping.  Device mappings do not allow unaligned accesses, but
      it appears that GCC is able to inline its own memcpy() implementation
      which may use such accesses.  The only user of this is pmem, which
      uses memcpy() on the region.
      
      Therefore, this is unsafe.  We must implement ioremap_wt() correctly
      for ARM, or not at all.
      
      This patch adds a more correct implementation by re-using ioremap_wc()
      to provide a normal-memory non-cacheable mapping.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1e2c727f