[PATCH 2/2] staging: vc04_services: Replace dmac_map_area with dmac_map_sg

2016-10-24 Thread mzoran
From: Michael Zoran The original arm implementation uses dmac_map_area which is not portable. Replace it with an architecture neutral version which uses dma_map_sg. As you can see that for larger page sizes, the dma_map_sg implementation is faster then the original unportable dma_map_area imple

[PATCH 0/2] Fix remaining arm64 build issues in vchiq

2016-10-23 Thread mzoran
From: Michael Zoran Hi, I implemented an alternative implementation of vchiq that uses dma_map_sg instead of dma_map_page. I've included some benchmarks. As you can see that for larger page sizes, the dma_map_sg implementation is faster then the original unportable dma_map_area implementation.

[PATCH 1/2] staging: vc04_services: Fix unportable cast in vchiq_copy_from_user

2016-10-23 Thread mzoran
From: Michael Zoran Signed-off-by: Michael Zoran --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c b/drivers/staging/vc04_services/interfa