Loading drivers/char/adsprpc.c +2 −1 Original line number Diff line number Diff line Loading @@ -670,7 +670,8 @@ static int fastrpc_mmap_create(struct fastrpc_file *fl, int fd, unsigned attr, init_dma_attrs(&attrs); dma_set_attr(DMA_ATTR_EXEC_MAPPING, &attrs); if (map->attr & FASTRPC_ATTR_NON_COHERENT) if ((map->attr & FASTRPC_ATTR_NON_COHERENT) || (sess->smmu.coherent && map->uncached)) dma_set_attr(DMA_ATTR_FORCE_NON_COHERENT, &attrs); else if (map->attr & FASTRPC_ATTR_COHERENT) Loading Loading
drivers/char/adsprpc.c +2 −1 Original line number Diff line number Diff line Loading @@ -670,7 +670,8 @@ static int fastrpc_mmap_create(struct fastrpc_file *fl, int fd, unsigned attr, init_dma_attrs(&attrs); dma_set_attr(DMA_ATTR_EXEC_MAPPING, &attrs); if (map->attr & FASTRPC_ATTR_NON_COHERENT) if ((map->attr & FASTRPC_ATTR_NON_COHERENT) || (sess->smmu.coherent && map->uncached)) dma_set_attr(DMA_ATTR_FORCE_NON_COHERENT, &attrs); else if (map->attr & FASTRPC_ATTR_COHERENT) Loading