Skip to contentSkip to conversation

linux-next: manual merge of the iommu tree with the dma-mapping tree

PATCH Stephen Rothwell 1 participant 2 messages Jul 30, 2020 – Aug 9, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the iommu tree got a conflict in:

drivers/iommu/Kconfig

between commit:

2f9237d4f6df ("dma-mapping: make support for dma ops optional")

from the dma-mapping tree and commit:

ab65ba57e3ac ("iommu/vt-d: Move Kconfig and Makefile bits down into intel directory")

from the iommu tree.

I fixed it up (I used the ;atter and applied the folowing merge fix patch as well) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

From: Stephen Rothwell <[email protected]>
Date: Thu, 30 Jul 2020 15:14:18 +1000
Subject: [PATCH] merge fix for "dma-mapping: make support for dma ops optional"

---
 drivers/iommu/intel/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iommu/intel/Kconfig +1 -0
index 877beec9d987..5337ee1584b0 100644
@@ -6,6 +6,7 @@ config DMAR_TABLE
 config INTEL_IOMMU
 	bool "Support for Intel IOMMU using DMA Remapping Devices"
 	depends on PCI_MSI && ACPI && (X86 || IA64)
+	select DMA_OPS
 	select IOMMU_API
 	select IOMMU_IOVA
 	select NEED_DMA_MAP_STATE
Signature · 5 lines
2.27.0

-- 
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 46 lines · On Thu, 30 Jul 2020 15:20:06 +1000 Stephen Rothwell <[email protected]>…

Today's linux-next merge of the iommu tree got a conflict in:

drivers/iommu/Kconfig

between commit:

2f9237d4f6df ("dma-mapping: make support for dma ops optional")

from the dma-mapping tree and commit:

ab65ba57e3ac ("iommu/vt-d: Move Kconfig and Makefile bits down into intel directory")

from the iommu tree.

I fixed it up (I used the ;atter and applied the folowing merge fix patch as well) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

From: Stephen Rothwell <[email protected]>
Date: Thu, 30 Jul 2020 15:14:18 +1000
Subject: [PATCH] merge fix for "dma-mapping: make support for dma ops optional"

---
 drivers/iommu/intel/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iommu/intel/Kconfig +1 -0
index 877beec9d987..5337ee1584b0 100644
@@ -6,6 +6,7 @@ config DMAR_TABLE
 config INTEL_IOMMU
 	bool "Support for Intel IOMMU using DMA Remapping Devices"
 	depends on PCI_MSI && ACPI && (X86 || IA64)
+	select DMA_OPS
 	select IOMMU_API
 	select IOMMU_IOVA
 	select NEED_DMA_MAP_STATE
Signature · 1 line
2.27.0

This is now a conflict between the iommu tree and Linus' tree.

Signature · 2 lines
Cheers,
Stephen Rothwell