arm:swiotlb:keep disabled in default configuration
Quoted 8 lines
Quoted 8 lines · Manjeet Pawar
Quoted 6 lines
From: Rohit Thapliyal
swiotlb implementation not required to be enabled in arm and disabling it reduces uImage size by 16KB.
Quoted 6 lines
Quoted 1 line
How so? There are no DMA operations on ARM?
Xen actively uses the swiotlb on ARM, see
arch/arm64/include/asm/dma-mapping.h:get_dma_ops
arch/arm/xen/mm.c:xen_swiotlb_dma_ops
If XEN is enabled, it shall eventually enable SWIOTLB through SWIOTLB_XEN. So, there is no need to keep it enabled otherwise.
------- Original Message -------
Sender : Stefano Stabellini<[email protected]>
Date : Jun 24, 2016 01:00 (GMT+09:00)
Title : Re: [PATCH] arm:swiotlb:keep disabled in default configuration
Quoted 9 lines · Stefano Stabellini
Quoted 6 lines · Manjeet Pawar
From: Rohit Thapliyal
swiotlb implementation not required to be enabled in arm and disabling it reduces uImage size by 16KB.
How so? There are no DMA operations on ARM?
Xen actively uses the swiotlb on ARM, see
arch/arm64/include/asm/dma-mapping.h:get_dma_ops
arch/arm/xen/mm.c:xen_swiotlb_dma_ops
Quoted 23 lines
Quoted 22 lines
Signed-off-by Rohit ThapliyalSigned-off-by Ajeet Kumar Yadav--- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/Kconfig +1
-2@@ -1754,7 +1754,7 @@ config SECCOMP defined by each seccomp mode. config SWIOTLB - def_bool y + def_bool n config IOMMU_HELPER def_bool SWIOTLB --1.7.9.5