[PATCH v5 5/7] ARM: NOMMU: Introduce dma operations for noMMU

2017-05-24 Thread Vladimir Murzin
R/M classes of cpus can have memory covered by MPU which in turn might configure RAM as Normal i.e. bufferable and cacheable. It breaks dma_alloc_coherent() and friends, since data can stuck in caches now or be buffered. This patch factors out DMA support for NOMMU configuration into separate

[PATCH v5 5/7] ARM: NOMMU: Introduce dma operations for noMMU

2017-05-24 Thread Vladimir Murzin
R/M classes of cpus can have memory covered by MPU which in turn might configure RAM as Normal i.e. bufferable and cacheable. It breaks dma_alloc_coherent() and friends, since data can stuck in caches now or be buffered. This patch factors out DMA support for NOMMU configuration into separate