1. 27 Apr, 2015 1 commit
    • Marek Szyprowski's avatar
      arm64: dma-mapping: always clear allocated buffers · 6829e274
      Marek Szyprowski authored
      
      
      Buffers allocated by dma_alloc_coherent() are always zeroed on Alpha,
      ARM (32bit), MIPS, PowerPC, x86/x86_64 and probably other architectures.
      It turned out that some drivers rely on this 'feature'. Allocated buffer
      might be also exposed to userspace with dma_mmap() call, so clearing it
      is desired from security point of view to avoid exposing random memory
      to userspace. This patch unifies dma_alloc_coherent() behavior on ARM64
      architecture with other implementations by unconditionally zeroing
      allocated buffer.
      
      Cc: <stable@vger.kernel.org> # v3.14+
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      6829e274
  2. 20 Mar, 2015 1 commit
  3. 27 Feb, 2015 1 commit
  4. 23 Jan, 2015 1 commit
  5. 09 Oct, 2014 1 commit
  6. 02 Oct, 2014 1 commit
  7. 22 Sep, 2014 1 commit
  8. 09 May, 2014 1 commit
    • Catalin Marinas's avatar
      arm64: Clean up the default pgprot setting · a501e324
      Catalin Marinas authored
      
      
      The primary aim of this patchset is to remove the pgprot_default and
      prot_sect_default global variables and rely strictly on predefined
      values. The original goal was to be able to run SMP kernels on UP
      hardware by not setting the Shareability bit. However, it is unlikely to
      see UP ARMv8 hardware and even if we do, the Shareability bit is no
      longer assumed to disable cacheable accesses.
      
      A side effect is that the device mappings now have the Shareability
      attribute set. The hardware, however, should ignore it since Device
      accesses are always Outer Shareable.
      
      Following the removal of the two global variables, there is some PROT_*
      macro reshuffling and cleanup, including the __PAGE_* macros (replaced
      by PAGE_*).
      Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      Acked-by: default avatarWill Deacon <will.deacon@arm.com>
      a501e324
  9. 03 May, 2014 2 commits
  10. 24 Mar, 2014 3 commits
  11. 27 Feb, 2014 3 commits
  12. 26 Feb, 2014 1 commit
  13. 05 Feb, 2014 1 commit
  14. 19 Dec, 2013 2 commits
  15. 08 Oct, 2012 1 commit
  16. 17 Sep, 2012 1 commit