* [PATCH] arm:swiotlb:keep disabled in default configuration
@ 2016-06-23 12:27 Manjeet Pawar
[not found] ` <CAPbh3ruZa4jA14emroSJAxdxP+56A4kW3ZDOxO7AJrzpMgDBwA@mail.gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Manjeet Pawar @ 2016-06-23 12:27 UTC (permalink / raw)
To: linux, linux-kernel, linux-arm-kernel, r.thapliyal, ajeet.y; +Cc: pankaj.m
From: Rohit Thapliyal <r.thapliyal@samsung.com>
swiotlb implementation not required to be enabled in arm and
disabling it reduces uImage size by 16KB.
Signed-off-by: Rohit Thapliyal <r.thapliyal@samsung.com>
Signed-off-by: Ajeet Kumar Yadav <ajeet.y@samsung.com>
---
arch/arm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 90542db..ae65f29 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm:swiotlb:keep disabled in default configuration
[not found] ` <CAHA9rcjcAbkoHyonqKzNv7a1v=08Fy1weEnsyG1C+6hdib9bwQ@mail.gmail.com>
@ 2016-06-23 16:00 ` Stefano Stabellini
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Stabellini @ 2016-06-23 16:00 UTC (permalink / raw)
To: konrad
Cc: manjeet.p, pankaj.m, ajeet.y, r.thapliyal, linux-arm-kernel,
linux-kernel, linux, sstabellini
On Thu, 23 Jun 2016, Stefano Stabellini wrote:
> On Jun 23, 2016 8:27 AM, "Manjeet Pawar" <manjeet.p@samsung.com> wrote:
> >
> > From: Rohit Thapliyal <r.thapliyal@samsung.com>
> >
> > 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
> > Signed-off-by: Rohit Thapliyal <r.thapliyal@samsung.com>
> > Signed-off-by: Ajeet Kumar Yadav <ajeet.y@samsung.com>
> > ---
> > arch/arm/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> > index 90542db..ae65f29 100644
> > --- a/arch/arm/Kconfig
> > +++ b/arch/arm/Kconfig
> > @@ -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
> >
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-23 16:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-23 12:27 [PATCH] arm:swiotlb:keep disabled in default configuration Manjeet Pawar
[not found] ` <CAPbh3ruZa4jA14emroSJAxdxP+56A4kW3ZDOxO7AJrzpMgDBwA@mail.gmail.com>
[not found] ` <CAHA9rcjcAbkoHyonqKzNv7a1v=08Fy1weEnsyG1C+6hdib9bwQ@mail.gmail.com>
2016-06-23 16:00 ` Stefano Stabellini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).