* [PATCH 6/6] iommu: make inclusion of iommufd directory conditional
2025-03-20 9:01 [PATCHv2 " Rolf Eike Beer
@ 2025-03-20 9:22 ` Rolf Eike Beer
2025-03-21 2:14 ` Baolu Lu
0 siblings, 1 reply; 12+ messages in thread
From: Rolf Eike Beer @ 2025-03-20 9:22 UTC (permalink / raw)
To: Joerg Roedel, Will Deacon
Cc: iommu, linux-kernel, Robin Murphy, Jason Gunthorpe, Kevin Tian
Nothing in there is active if CONFIG_IOMMUFD is not enabled, so the whole
directory can depend on that switch as well.
Fixes: 2ff4bed7fee7 ("iommufd: File descriptor, context, kconfig and makefiles")
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
---
drivers/iommu/Makefile | 3 ++-
drivers/iommu/iommufd/Makefile | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/iommu/Makefile b/drivers/iommu/Makefile
index 17133876f777..38ee96607acf 100644
--- a/drivers/iommu/Makefile
+++ b/drivers/iommu/Makefile
@@ -1,8 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
-obj-y += arm/ iommufd/
+obj-y += arm/
obj-$(CONFIG_AMD_IOMMU) += amd/
obj-$(CONFIG_INTEL_IOMMU) += intel/
obj-$(CONFIG_RISCV_IOMMU) += riscv/
+obj-$(CONFIG_IOMMUFD) += iommufd/
obj-$(CONFIG_IOMMU_API) += iommu.o
obj-$(CONFIG_IOMMU_API) += iommu-traces.o
obj-$(CONFIG_IOMMU_API) += iommu-sysfs.o
diff --git a/drivers/iommu/iommufd/Makefile b/drivers/iommu/iommufd/Makefile
index cb784da6cddc..071f2a504167 100644
--- a/drivers/iommu/iommufd/Makefile
+++ b/drivers/iommu/iommufd/Makefile
@@ -12,7 +12,7 @@ iommufd-y := \
iommufd-$(CONFIG_IOMMUFD_TEST) += selftest.o
-obj-$(CONFIG_IOMMUFD) += iommufd.o
+obj-y += iommufd.o
obj-$(CONFIG_IOMMUFD_DRIVER) += iova_bitmap.o
iommufd_driver-y := driver.o
--
2.49.0
--
Rolf Eike Beer
emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail info@emlix.com
District Court of Göttingen, Registry Number HR B 3160
Managing Directors: Heike Jordan, Dr. Uwe Kracke
VAT ID No. DE 205 198 055
Office Berlin: Panoramastr. 1, 10178 Berlin, Germany
Office Bonn: Bachstr. 6, 53115 Bonn, Germany
http://www.emlix.com
emlix - your embedded Linux partner
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 6/6] iommu: make inclusion of iommufd directory conditional
2025-03-20 9:22 ` [PATCH 6/6] iommu: make inclusion of iommufd directory conditional Rolf Eike Beer
@ 2025-03-21 2:14 ` Baolu Lu
0 siblings, 0 replies; 12+ messages in thread
From: Baolu Lu @ 2025-03-21 2:14 UTC (permalink / raw)
To: Rolf Eike Beer, Joerg Roedel, Will Deacon
Cc: iommu, linux-kernel, Robin Murphy, Jason Gunthorpe, Kevin Tian
On 3/20/25 17:22, Rolf Eike Beer wrote:
> Nothing in there is active if CONFIG_IOMMUFD is not enabled, so the whole
> directory can depend on that switch as well.
>
> Fixes: 2ff4bed7fee7 ("iommufd: File descriptor, context, kconfig and makefiles")
> Signed-off-by: Rolf Eike Beer<eb@emlix.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCHv3 0/6] make vendor specific subdirectory inclusion conditional
@ 2025-05-12 13:07 Rolf Eike Beer
2025-05-12 13:10 ` [PATCH 1/6] iommu: remove duplicate selection of DMAR_TABLE Rolf Eike Beer
` (5 more replies)
0 siblings, 6 replies; 12+ messages in thread
From: Rolf Eike Beer @ 2025-05-12 13:07 UTC (permalink / raw)
To: Joerg Roedel, Will Deacon
Cc: iommu, linux-kernel, Bert Karwatzki, Lu Baolu, Jerry Snitselaar,
Suravee Suthikulpanit, Tomasz Jeznach, Nick Kossifidis,
Sebastien Boeuf, Palmer Dabbelt, Paul Walmsley, Albert Ou,
Alexandre Ghiti, Robin Murphy, linux-arm-kernel, Jason Gunthorpe,
Kevin Tian
[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]
I found it strange that the vendor specific subdirectories were unconditionally
added. Everything in these directories obviously depends on the specific Kconfig
option. This series cleans this up by making the directory itself depend on
the respective option which looks more natural to me.
I must confess that I am too lazy to find a good solution for the "arm/"
directory, so I left it as is.
Regards,
Eike
---
Changes in v3:
- added Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
- rebased on top of 2e9b2ee2ba403cbe270a8256b8794ef5ad19b38d
Changes in v2:
- clean up subdirectory Makefiles to use obj-y now
- add arm/arm-smmu-v3 and iommufd patches
--
Rolf Eike Beer
emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail info@emlix.com
District Court of Göttingen, Registry Number HR B 3160
Managing Directors: Heike Jordan, Dr. Uwe Kracke
VAT ID No. DE 205 198 055
Office Berlin: Panoramastr. 1, 10178 Berlin, Germany
Office Bonn: Bachstr. 6, 53115 Bonn, Germany
http://www.emlix.com
emlix - your embedded Linux partner
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 313 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/6] iommu: remove duplicate selection of DMAR_TABLE
2025-05-12 13:07 [PATCHv3 0/6] make vendor specific subdirectory inclusion conditional Rolf Eike Beer
@ 2025-05-12 13:10 ` Rolf Eike Beer
2025-05-12 13:11 ` [PATCH 2/6] iommu: make inclusion of intel directory conditional Rolf Eike Beer
` (4 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Rolf Eike Beer @ 2025-05-12 13:10 UTC (permalink / raw)
To: Joerg Roedel, Will Deacon; +Cc: iommu, linux-kernel, Bert Karwatzki, Lu Baolu
This is already done in intel/Kconfig.
Fixes: 70bad345e622 ("iommu: Fix compilation without CONFIG_IOMMU_INTEL")
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
---
drivers/iommu/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 9c3c210c82a2d..0a33d995d15dd 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -200,7 +200,6 @@ source "drivers/iommu/riscv/Kconfig"
config IRQ_REMAP
bool "Support for Interrupt Remapping"
depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI
- select DMAR_TABLE if INTEL_IOMMU
help
Supports Interrupt remapping for IO-APIC and MSI devices.
To use x2apic mode in the CPU's which support x2APIC enhancements or
--
2.49.0
--
Rolf Eike Beer
emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail info@emlix.com
District Court of Göttingen, Registry Number HR B 3160
Managing Directors: Heike Jordan, Dr. Uwe Kracke
VAT ID No. DE 205 198 055
Office Berlin: Panoramastr. 1, 10178 Berlin, Germany
Office Bonn: Bachstr. 6, 53115 Bonn, Germany
http://www.emlix.com
emlix - your embedded Linux partner
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/6] iommu: make inclusion of intel directory conditional
2025-05-12 13:07 [PATCHv3 0/6] make vendor specific subdirectory inclusion conditional Rolf Eike Beer
2025-05-12 13:10 ` [PATCH 1/6] iommu: remove duplicate selection of DMAR_TABLE Rolf Eike Beer
@ 2025-05-12 13:11 ` Rolf Eike Beer
2025-05-12 13:12 ` [PATCH 3/6] iommu: make inclusion of amd " Rolf Eike Beer
` (3 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Rolf Eike Beer @ 2025-05-12 13:11 UTC (permalink / raw)
To: Joerg Roedel, Will Deacon, Lu Baolu; +Cc: iommu, linux-kernel, Jerry Snitselaar
Nothing in there is active if CONFIG_INTEL_IOMMU is not enabled, so the whole
directory can depend on that switch as well.
Fixes: ab65ba57e3ac ("iommu/vt-d: Move Kconfig and Makefile bits down into intel directory")
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
---
drivers/iommu/Makefile | 3 ++-
drivers/iommu/intel/Makefile | 7 ++-----
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/iommu/Makefile b/drivers/iommu/Makefile
index fe91d770abe16..53f8000753985 100644
--- a/drivers/iommu/Makefile
+++ b/drivers/iommu/Makefile
@@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-obj-y += amd/ intel/ arm/ iommufd/ riscv/
+obj-y += amd/ arm/ iommufd/ riscv/
+obj-$(CONFIG_INTEL_IOMMU) += intel/
obj-$(CONFIG_IOMMU_API) += iommu.o
obj-$(CONFIG_IOMMU_SUPPORT) += iommu-pages.o
obj-$(CONFIG_IOMMU_API) += iommu-traces.o
diff --git a/drivers/iommu/intel/Makefile b/drivers/iommu/intel/Makefile
index 6c7528130cf9d..ada651c4a01b2 100644
--- a/drivers/iommu/intel/Makefile
+++ b/drivers/iommu/intel/Makefile
@@ -1,11 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_DMAR_TABLE) += dmar.o
-obj-$(CONFIG_INTEL_IOMMU) += iommu.o pasid.o nested.o cache.o prq.o
-obj-$(CONFIG_DMAR_TABLE) += trace.o
+obj-y += iommu.o pasid.o nested.o cache.o prq.o
+obj-$(CONFIG_DMAR_TABLE) += dmar.o trace.o
obj-$(CONFIG_DMAR_PERF) += perf.o
obj-$(CONFIG_INTEL_IOMMU_DEBUGFS) += debugfs.o
obj-$(CONFIG_INTEL_IOMMU_SVM) += svm.o
-ifdef CONFIG_INTEL_IOMMU
obj-$(CONFIG_IRQ_REMAP) += irq_remapping.o
-endif
obj-$(CONFIG_INTEL_IOMMU_PERF_EVENTS) += perfmon.o
--
2.49.0
--
Rolf Eike Beer
emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail info@emlix.com
District Court of Göttingen, Registry Number HR B 3160
Managing Directors: Heike Jordan, Dr. Uwe Kracke
VAT ID No. DE 205 198 055
Office Berlin: Panoramastr. 1, 10178 Berlin, Germany
Office Bonn: Bachstr. 6, 53115 Bonn, Germany
http://www.emlix.com
emlix - your embedded Linux partner
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 3/6] iommu: make inclusion of amd directory conditional
2025-05-12 13:07 [PATCHv3 0/6] make vendor specific subdirectory inclusion conditional Rolf Eike Beer
2025-05-12 13:10 ` [PATCH 1/6] iommu: remove duplicate selection of DMAR_TABLE Rolf Eike Beer
2025-05-12 13:11 ` [PATCH 2/6] iommu: make inclusion of intel directory conditional Rolf Eike Beer
@ 2025-05-12 13:12 ` Rolf Eike Beer
2025-05-12 13:13 ` [PATCH 4/6] iommu: make inclusion of riscv " Rolf Eike Beer
` (2 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Rolf Eike Beer @ 2025-05-12 13:12 UTC (permalink / raw)
To: Joerg Roedel, Will Deacon, Jerry Snitselaar
Cc: iommu, linux-kernel, Suravee Suthikulpanit
Nothing in there is active if CONFIG_AMD_IOMMU is not enabled, so the whole
directory can depend on that switch as well.
Fixes: cbe94c6e1a7d ("iommu/amd: Move Kconfig and Makefile bits down into amd directory")
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
---
drivers/iommu/Makefile | 3 ++-
drivers/iommu/amd/Makefile | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/iommu/Makefile b/drivers/iommu/Makefile
index 53f8000753985..a486032d3e079 100644
--- a/drivers/iommu/Makefile
+++ b/drivers/iommu/Makefile
@@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-obj-y += amd/ arm/ iommufd/ riscv/
+obj-y += arm/ iommufd/ riscv/
+obj-$(CONFIG_AMD_IOMMU) += amd/
obj-$(CONFIG_INTEL_IOMMU) += intel/
obj-$(CONFIG_IOMMU_API) += iommu.o
obj-$(CONFIG_IOMMU_SUPPORT) += iommu-pages.o
diff --git a/drivers/iommu/amd/Makefile b/drivers/iommu/amd/Makefile
index 9de33b2d42f52..59c04a67f3982 100644
--- a/drivers/iommu/amd/Makefile
+++ b/drivers/iommu/amd/Makefile
@@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_AMD_IOMMU) += iommu.o init.o quirks.o io_pgtable.o io_pgtable_v2.o ppr.o pasid.o
+obj-y += iommu.o init.o quirks.o io_pgtable.o io_pgtable_v2.o ppr.o pasid.o
obj-$(CONFIG_AMD_IOMMU_DEBUGFS) += debugfs.o
--
2.49.0
--
Rolf Eike Beer
emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail info@emlix.com
District Court of Göttingen, Registry Number HR B 3160
Managing Directors: Heike Jordan, Dr. Uwe Kracke
VAT ID No. DE 205 198 055
Office Berlin: Panoramastr. 1, 10178 Berlin, Germany
Office Bonn: Bachstr. 6, 53115 Bonn, Germany
http://www.emlix.com
emlix - your embedded Linux partner
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 4/6] iommu: make inclusion of riscv directory conditional
2025-05-12 13:07 [PATCHv3 0/6] make vendor specific subdirectory inclusion conditional Rolf Eike Beer
` (2 preceding siblings ...)
2025-05-12 13:12 ` [PATCH 3/6] iommu: make inclusion of amd " Rolf Eike Beer
@ 2025-05-12 13:13 ` Rolf Eike Beer
2025-05-12 13:15 ` [PATCH 6/6] iommu: make inclusion of iommufd " Rolf Eike Beer
2025-05-16 6:47 ` [PATCHv3 0/6] make vendor specific subdirectory inclusion conditional Joerg Roedel
5 siblings, 0 replies; 12+ messages in thread
From: Rolf Eike Beer @ 2025-05-12 13:13 UTC (permalink / raw)
To: Joerg Roedel, Will Deacon; +Cc: iommu, linux-kernel, Bert Karwatzki, Lu Baolu
Nothing in there is active if CONFIG_RISCV_IOMMU is not enabled, so the whole
directory can depend on that switch as well.
Fixes: 5c0ebbd3c6c6 ("iommu/riscv: Add RISC-V IOMMU platform device driver")
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
---
drivers/iommu/Makefile | 3 ++-
drivers/iommu/riscv/Makefile | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/iommu/Makefile b/drivers/iommu/Makefile
index a486032d3e079..355294fa9033f 100644
--- a/drivers/iommu/Makefile
+++ b/drivers/iommu/Makefile
@@ -1,7 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
-obj-y += arm/ iommufd/ riscv/
+obj-y += arm/ iommufd/
obj-$(CONFIG_AMD_IOMMU) += amd/
obj-$(CONFIG_INTEL_IOMMU) += intel/
+obj-$(CONFIG_RISCV_IOMMU) += riscv/
obj-$(CONFIG_IOMMU_API) += iommu.o
obj-$(CONFIG_IOMMU_SUPPORT) += iommu-pages.o
obj-$(CONFIG_IOMMU_API) += iommu-traces.o
diff --git a/drivers/iommu/riscv/Makefile b/drivers/iommu/riscv/Makefile
index f54c9ed17d41d..b5929f9f23e64 100644
--- a/drivers/iommu/riscv/Makefile
+++ b/drivers/iommu/riscv/Makefile
@@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_RISCV_IOMMU) += iommu.o iommu-platform.o
+obj-y += iommu.o iommu-platform.o
obj-$(CONFIG_RISCV_IOMMU_PCI) += iommu-pci.o
--
2.49.0
--
Rolf Eike Beer
emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail info@emlix.com
District Court of Göttingen, Registry Number HR B 3160
Managing Directors: Heike Jordan, Dr. Uwe Kracke
VAT ID No. DE 205 198 055
Office Berlin: Panoramastr. 1, 10178 Berlin, Germany
Office Bonn: Bachstr. 6, 53115 Bonn, Germany
http://www.emlix.com
emlix - your embedded Linux partner
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 6/6] iommu: make inclusion of iommufd directory conditional
2025-05-12 13:07 [PATCHv3 0/6] make vendor specific subdirectory inclusion conditional Rolf Eike Beer
` (3 preceding siblings ...)
2025-05-12 13:13 ` [PATCH 4/6] iommu: make inclusion of riscv " Rolf Eike Beer
@ 2025-05-12 13:15 ` Rolf Eike Beer
2025-05-16 12:52 ` Joerg Roedel
2025-05-16 6:47 ` [PATCHv3 0/6] make vendor specific subdirectory inclusion conditional Joerg Roedel
5 siblings, 1 reply; 12+ messages in thread
From: Rolf Eike Beer @ 2025-05-12 13:15 UTC (permalink / raw)
To: Joerg Roedel, Will Deacon
Cc: iommu, linux-kernel, Robin Murphy, Jason Gunthorpe
Nothing in there is active if CONFIG_IOMMUFD is not enabled, so the whole
directory can depend on that switch as well.
Fixes: 2ff4bed7fee7 ("iommufd: File descriptor, context, kconfig and makefiles")
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
---
drivers/iommu/Makefile | 3 ++-
drivers/iommu/iommufd/Makefile | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/iommu/Makefile b/drivers/iommu/Makefile
index 355294fa9033f..d0a42da2dfa5b 100644
--- a/drivers/iommu/Makefile
+++ b/drivers/iommu/Makefile
@@ -1,8 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
-obj-y += arm/ iommufd/
+obj-y += arm/
obj-$(CONFIG_AMD_IOMMU) += amd/
obj-$(CONFIG_INTEL_IOMMU) += intel/
obj-$(CONFIG_RISCV_IOMMU) += riscv/
+obj-$(CONFIG_IOMMUFD) += iommufd/
obj-$(CONFIG_IOMMU_API) += iommu.o
obj-$(CONFIG_IOMMU_SUPPORT) += iommu-pages.o
obj-$(CONFIG_IOMMU_API) += iommu-traces.o
diff --git a/drivers/iommu/iommufd/Makefile b/drivers/iommu/iommufd/Makefile
index 71d692c9a8f49..21fa1775eae3f 100644
--- a/drivers/iommu/iommufd/Makefile
+++ b/drivers/iommu/iommufd/Makefile
@@ -12,7 +12,7 @@ iommufd-y := \
iommufd-$(CONFIG_IOMMUFD_TEST) += selftest.o
-obj-$(CONFIG_IOMMUFD) += iommufd.o
+obj-y += iommufd.o
obj-$(CONFIG_IOMMUFD_DRIVER) += iova_bitmap.o
iommufd_driver-y := driver.o
--
2.49.0
--
Rolf Eike Beer
emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail info@emlix.com
District Court of Göttingen, Registry Number HR B 3160
Managing Directors: Heike Jordan, Dr. Uwe Kracke
VAT ID No. DE 205 198 055
Office Berlin: Panoramastr. 1, 10178 Berlin, Germany
Office Bonn: Bachstr. 6, 53115 Bonn, Germany
http://www.emlix.com
emlix - your embedded Linux partner
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCHv3 0/6] make vendor specific subdirectory inclusion conditional
2025-05-12 13:07 [PATCHv3 0/6] make vendor specific subdirectory inclusion conditional Rolf Eike Beer
` (4 preceding siblings ...)
2025-05-12 13:15 ` [PATCH 6/6] iommu: make inclusion of iommufd " Rolf Eike Beer
@ 2025-05-16 6:47 ` Joerg Roedel
5 siblings, 0 replies; 12+ messages in thread
From: Joerg Roedel @ 2025-05-16 6:47 UTC (permalink / raw)
To: Rolf Eike Beer
Cc: Will Deacon, iommu, linux-kernel, Bert Karwatzki, Lu Baolu,
Jerry Snitselaar, Suravee Suthikulpanit, Tomasz Jeznach,
Nick Kossifidis, Sebastien Boeuf, Palmer Dabbelt, Paul Walmsley,
Albert Ou, Alexandre Ghiti, Robin Murphy, linux-arm-kernel,
Jason Gunthorpe, Kevin Tian
On Mon, May 12, 2025 at 03:07:27PM +0200, Rolf Eike Beer wrote:
> I found it strange that the vendor specific subdirectories were unconditionally
> added. Everything in these directories obviously depends on the specific Kconfig
> option. This series cleans this up by making the directory itself depend on
> the respective option which looks more natural to me.
>
> I must confess that I am too lazy to find a good solution for the "arm/"
> directory, so I left it as is.
Applied, thanks.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 6/6] iommu: make inclusion of iommufd directory conditional
2025-05-12 13:15 ` [PATCH 6/6] iommu: make inclusion of iommufd " Rolf Eike Beer
@ 2025-05-16 12:52 ` Joerg Roedel
2025-05-19 6:16 ` Rolf Eike Beer
2025-05-26 5:59 ` Rolf Eike Beer
0 siblings, 2 replies; 12+ messages in thread
From: Joerg Roedel @ 2025-05-16 12:52 UTC (permalink / raw)
To: Rolf Eike Beer
Cc: Will Deacon, iommu, linux-kernel, Robin Murphy, Jason Gunthorpe
On Mon, May 12, 2025 at 03:15:52PM +0200, Rolf Eike Beer wrote:
> Nothing in there is active if CONFIG_IOMMUFD is not enabled, so the whole
> directory can depend on that switch as well.
>
> Fixes: 2ff4bed7fee7 ("iommufd: File descriptor, context, kconfig and makefiles")
> Signed-off-by: Rolf Eike Beer <eb@emlix.com>
> Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Had to remove this patch from the branch as it caused compile breakage
with allmodconfig builds.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 6/6] iommu: make inclusion of iommufd directory conditional
2025-05-16 12:52 ` Joerg Roedel
@ 2025-05-19 6:16 ` Rolf Eike Beer
2025-05-26 5:59 ` Rolf Eike Beer
1 sibling, 0 replies; 12+ messages in thread
From: Rolf Eike Beer @ 2025-05-19 6:16 UTC (permalink / raw)
To: Joerg Roedel
Cc: Will Deacon, iommu, linux-kernel, Robin Murphy, Jason Gunthorpe
[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]
On Freitag, 16. Mai 2025 14:52:08 Mitteleuropäische Sommerzeit Joerg Roedel
wrote:
> On Mon, May 12, 2025 at 03:15:52PM +0200, Rolf Eike Beer wrote:
> > Nothing in there is active if CONFIG_IOMMUFD is not enabled, so the whole
> > directory can depend on that switch as well.
> >
> > Fixes: 2ff4bed7fee7 ("iommufd: File descriptor, context, kconfig and
> > makefiles") Signed-off-by: Rolf Eike Beer <eb@emlix.com>
> > Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
>
> Had to remove this patch from the branch as it caused compile breakage
> with allmodconfig builds.
I did not catch that this is a tristate, not a bool. The same happens for
patch 5, which is what the 0-day bot has reported.
Regards,
Eike
--
Rolf Eike Beer
emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail info@emlix.com
District Court of Göttingen, Registry Number HR B 3160
Managing Directors: Heike Jordan, Dr. Uwe Kracke
VAT ID No. DE 205 198 055
Office Berlin: Panoramastr. 1, 10178 Berlin, Germany
Office Bonn: Bachstr. 6, 53115 Bonn, Germany
http://www.emlix.com
emlix - your embedded Linux partner
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 313 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 6/6] iommu: make inclusion of iommufd directory conditional
2025-05-16 12:52 ` Joerg Roedel
2025-05-19 6:16 ` Rolf Eike Beer
@ 2025-05-26 5:59 ` Rolf Eike Beer
1 sibling, 0 replies; 12+ messages in thread
From: Rolf Eike Beer @ 2025-05-26 5:59 UTC (permalink / raw)
To: Joerg Roedel
Cc: Will Deacon, iommu, linux-kernel, Robin Murphy, Jason Gunthorpe,
Arnd Bergmann
[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]
On Freitag, 16. Mai 2025 14:52:08 Mitteleuropäische Sommerzeit Joerg Roedel
wrote:
> On Mon, May 12, 2025 at 03:15:52PM +0200, Rolf Eike Beer wrote:
> > Nothing in there is active if CONFIG_IOMMUFD is not enabled, so the whole
> > directory can depend on that switch as well.
> >
> > Fixes: 2ff4bed7fee7 ("iommufd: File descriptor, context, kconfig and
> > makefiles") Signed-off-by: Rolf Eike Beer <eb@emlix.com>
> > Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
>
> Had to remove this patch from the branch as it caused compile breakage
> with allmodconfig builds.
Given Arnds fix for smmuv3 this patch may work when the last part in iommufd/
Makefile is omitted.
Regards,
Eike
--
Rolf Eike Beer
emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail info@emlix.com
District Court of Göttingen, Registry Number HR B 3160
Managing Directors: Heike Jordan, Dr. Uwe Kracke
VAT ID No. DE 205 198 055
Office Berlin: Panoramastr. 1, 10178 Berlin, Germany
Office Bonn: Bachstr. 6, 53115 Bonn, Germany
http://www.emlix.com
emlix - your embedded Linux partner
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 313 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2025-05-26 5:59 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-12 13:07 [PATCHv3 0/6] make vendor specific subdirectory inclusion conditional Rolf Eike Beer
2025-05-12 13:10 ` [PATCH 1/6] iommu: remove duplicate selection of DMAR_TABLE Rolf Eike Beer
2025-05-12 13:11 ` [PATCH 2/6] iommu: make inclusion of intel directory conditional Rolf Eike Beer
2025-05-12 13:12 ` [PATCH 3/6] iommu: make inclusion of amd " Rolf Eike Beer
2025-05-12 13:13 ` [PATCH 4/6] iommu: make inclusion of riscv " Rolf Eike Beer
2025-05-12 13:15 ` [PATCH 6/6] iommu: make inclusion of iommufd " Rolf Eike Beer
2025-05-16 12:52 ` Joerg Roedel
2025-05-19 6:16 ` Rolf Eike Beer
2025-05-26 5:59 ` Rolf Eike Beer
2025-05-16 6:47 ` [PATCHv3 0/6] make vendor specific subdirectory inclusion conditional Joerg Roedel
-- strict thread matches above, loose matches on Subject: below --
2025-03-20 9:01 [PATCHv2 " Rolf Eike Beer
2025-03-20 9:22 ` [PATCH 6/6] iommu: make inclusion of iommufd directory conditional Rolf Eike Beer
2025-03-21 2:14 ` Baolu Lu
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).