Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1235664 > unrolled thread

[PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT

Started byAshutosh Dixit <ashutosh.dixit@intel.com>
First post2015-09-30 02:50 +0200
Last post2015-10-05 19:50 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT Ashutosh Dixit <ashutosh.dixit@intel.com> - 2015-09-30 02:50 +0200
    Re: [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used  without requiring IOMMU_SUPPORT "Woodhouse, David" <david.woodhouse@intel.com> - 2015-10-05 13:00 +0200
      Re: [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used  without requiring IOMMU_SUPPORT Sudeep Dutt <sudeep.dutt@intel.com> - 2015-10-05 19:50 +0200

#1235664 — [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT

FromAshutosh Dixit <ashutosh.dixit@intel.com>
Date2015-09-30 02:50 +0200
Subject[PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT
Message-ID<qedKN-5VS-9@gated-at.bofh.it>
From: Sudeep Dutt <sudeep.dutt@intel.com>

iova is a library which can be built without IOMMU_SUPPORT

Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>
---
 drivers/iommu/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index d9da766..71d1c46 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -12,6 +12,9 @@ menuconfig IOMMU_SUPPORT
 	  remap DMA requests and/or remap interrupts from other devices on the
 	  system.
 
+config IOMMU_IOVA
+	tristate
+
 if IOMMU_SUPPORT
 
 menu "Generic IOMMU Pagetable Support"
@@ -42,9 +45,6 @@ config IOMMU_IO_PGTABLE_LPAE_SELFTEST
 
 endmenu
 
-config IOMMU_IOVA
-	tristate
-
 config OF_IOMMU
        def_bool y
        depends on OF && IOMMU_API
-- 
2.0.0.rc3.2.g998f840

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1239454 — Re: [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT

From"Woodhouse, David" <david.woodhouse@intel.com>
Date2015-10-05 13:00 +0200
SubjectRe: [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT
Message-ID<qgbES-56q-25@gated-at.bofh.it>
In reply to#1235664

[Multipart message — attachments visible in raw view] — view raw

On Tue, 2015-09-29 at 18:09 -0700, Ashutosh Dixit wrote:
> From: Sudeep Dutt <sudeep.dutt@intel.com>
> 
> iova is a library which can be built without IOMMU_SUPPORT
> 
> Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>

The first three of these patches are in 4.3-rc4 already. Apologies for
the delay in pushing them out.

This one looks sane enough too, but perhaps in that case we should move
the code *out* of drivers/iommu/ and into lib/iova/ ?

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse@intel.com                              Intel Corporation

[toc] | [prev] | [next] | [standalone]


#1239792 — Re: [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT

FromSudeep Dutt <sudeep.dutt@intel.com>
Date2015-10-05 19:50 +0200
SubjectRe: [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT
Message-ID<qgi3E-5Td-9@gated-at.bofh.it>
In reply to#1239454
On Mon, 2015-10-05 at 03:50 -0700, Woodhouse, David wrote:
> On Tue, 2015-09-29 at 18:09 -0700, Ashutosh Dixit wrote:
> > From: Sudeep Dutt <sudeep.dutt@intel.com>
> > 
> > iova is a library which can be built without IOMMU_SUPPORT
> > 
> > Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>
> 
> The first three of these patches are in 4.3-rc4 already. Apologies for
> the delay in pushing them out.
> 
> This one looks sane enough too, but perhaps in that case we should move
> the code *out* of drivers/iommu/ and into lib/iova/ ?
> 

Yes, moving the code into lib/iova is the correct long term solution. I
have sent Greg a patch which reverts this commit since it is no longer
required and will create a merge conflict for him unnecessarily as well
with 4.3-rc4.

Thanks,
Sudeep Dutt

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web