[PATCH v2 0/4] Fix kernel panic in dma-coherent allocations

2016-02-29 Thread Brian Starkey
Hi, These patches implement a MEMREMAP_WC flag for memremap(), which can be used to obtain writecombine mappings. This is then used for setting up dma_coherent_mem regions which use the DMA_MEMORY_MAP flag. The motivation is to fix an alignment fault on arm64, and the suggestion to implement

[PATCH v2 0/4] Fix kernel panic in dma-coherent allocations

2016-02-29 Thread Brian Starkey
Hi, These patches implement a MEMREMAP_WC flag for memremap(), which can be used to obtain writecombine mappings. This is then used for setting up dma_coherent_mem regions which use the DMA_MEMORY_MAP flag. The motivation is to fix an alignment fault on arm64, and the suggestion to implement