All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Fix dma mapping when the cache is coherent
@ 2015-09-29 16:50 Gregory CLEMENT
  2015-09-29 16:50   ` Gregory CLEMENT
  2015-09-29 16:50 ` [PATCH v4 2/2] ARM: dma-mapping: Fix the coherent case when iommu is used Gregory CLEMENT
  0 siblings, 2 replies; 14+ messages in thread
From: Gregory CLEMENT @ 2015-09-29 16:50 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

These two patches fixes the dma mapping functions when the system is
cache coherent. The first one allows to fix an issue we have on Armada
375/38x with the PL310 that's why it is tagged for stable too.

I was about ti submit it to Russell King's patch system but when I
rebased it on v4.3-rc1 I got a merge conflict due too the commit
21caf3a765b0 "ARM: 8398/1: arm DMA: Fix allocation from CMA for
coherent DMA". The resolution would be OK so unless I missed something
I will submit it to the patch system in a few days.

Thanks,

Gregory

Changelog

v3 -> v4:
 - Rebased on v4.3-rc1
 - Fix conflict with commit "21caf3a765b0 ARM: 8398/1: arm DMA: Fix
   allocation from CMA for coherent DMA"

v2 -> v3:

 - Fix comments in patch 1 as suggested by Catalin.
 - Fix build issues in patch 2 (by using the multi_v7_defconfig +
   CONFIG_ROCKCHIP_IOMMU).
 - Add the arm_coherent_iommu_mmap_attrs function.

Gregory CLEMENT (2):
  ARM: dma-mapping: Don't use outer_flush_range when the L2C is coherent
  ARM: dma-mapping: Fix the coherent case when iommu is used

 arch/arm/mm/dma-mapping.c | 140 +++++++++++++++++++++++++++++++++-------------
 1 file changed, 101 insertions(+), 39 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-09-30  9:28 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-29 16:50 [PATCH v4 0/2] Fix dma mapping when the cache is coherent Gregory CLEMENT
2015-09-29 16:50 ` [PATCH v4 1/2] ARM: dma-mapping: Don't use outer_flush_range when the L2C " Gregory CLEMENT
2015-09-29 16:50   ` Gregory CLEMENT
2015-09-29 17:10   ` Russell King - ARM Linux
2015-09-29 17:10     ` Russell King - ARM Linux
2015-09-29 17:30     ` Thomas Petazzoni
2015-09-29 17:30       ` Thomas Petazzoni
2015-09-29 17:48       ` Russell King - ARM Linux
2015-09-29 17:48         ` Russell King - ARM Linux
2015-09-29 17:55         ` Thomas Petazzoni
2015-09-29 17:55           ` Thomas Petazzoni
2015-09-30  9:28     ` Gregory CLEMENT
2015-09-30  9:28       ` Gregory CLEMENT
2015-09-29 16:50 ` [PATCH v4 2/2] ARM: dma-mapping: Fix the coherent case when iommu is used Gregory CLEMENT

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.