Skip to contentSkip to conversation

linux-next: build failure after merge of the coresight tree

PATCH Stephen Rothwell 4 participants 4 messages Sep 12, 2022

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

Hi all,

After merging the coresight tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/hwtracing/ptt/hisi_ptt.c:13:10: fatal error: linux/dma-iommu.h: No such file or directory
13 | #include <linux/dma-iommu.h>

      |          ^~~~~~~~~~~~~~~~~~~

Caused by commit

ff0de066b463 ("hwtracing: hisi_ptt: Add trace function support for HiSilicon PCIe Tune and Trace device")

interacting with commit

f2042ed21da7 ("iommu/dma: Make header private")

from the iommu tree.

Since the public interfaces in dna-iommu.h were moved to iommu.h, I have applied the following merge fix patch:

From: Stephen Rothwell <[email protected]>
Date: Mon, 12 Sep 2022 15:35:37 +1000
Subject: [PATCH] hwtracing: hihi_ptt: fix up for "iommu/dma: Make header private"

---
 drivers/hwtracing/ptt/hisi_ptt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/hwtracing/ptt/hisi_ptt.c +0 -1
index 666a0f14b6c4..5d5526aa60c4 100644
@@ -10,7 +10,6 @@
 #include <linux/bitops.h>
 #include <linux/cpuhotplug.h>
 #include <linux/delay.h>
-#include <linux/dma-iommu.h>
 #include <linux/dma-mapping.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
Signature · 5 lines
2.35.1

-- 
Cheers,
Stephen Rothwell
Acked-by
#1 lore raw
Quoted 13 lines · Stephen Rothwell

Hi all,

After merging the coresight tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/hwtracing/ptt/hisi_ptt.c:13:10: fatal error: linux/dma-iommu.h: No such file or directory

    13 | #include <linux/dma-iommu.h>
       |          ^~~~~~~~~~~~~~~~~~~

Caused by commit

ff0de066b463 ("hwtracing: hisi_ptt: Add trace function support for HiSilicon PCIe Tune and Trace device")

Quoted 8 lines

interacting with commit

   f2042ed21da7 ("iommu/dma: Make header private")

from the iommu tree.

Since the public interfaces in dna-iommu.h were moved to iommu.h, I have applied the following merge fix patch:

In fact it's not even using those interfaces anyway, so never had any reason to include dma-iommu.h in the first place, and Mathieu can make this fix in the Coresight tree as-is. FWIW,

Quoted 21 lines

From: Stephen Rothwell <[email protected]>
Date: Mon, 12 Sep 2022 15:35:37 +1000
Subject: [PATCH] hwtracing: hihi_ptt: fix up for "iommu/dma: Make header private"

---
  drivers/hwtracing/ptt/hisi_ptt.c | 1 -
  1 file changed, 1 deletion(-)
drivers/hwtracing/ptt/hisi_ptt.c +0 -1
index 666a0f14b6c4..5d5526aa60c4 100644
@@ -10,7 +10,6 @@
  #include <linux/bitops.h>
  #include <linux/cpuhotplug.h>
  #include <linux/delay.h>
-#include <linux/dma-iommu.h>
  #include <linux/dma-mapping.h>
  #include <linux/interrupt.h>
  #include <linux/io.h>
#2 lore raw
In reply to Stephen Rothwell
Quoted 23 lines · Stephen Rothwell

Hi all,

After merging the coresight tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/hwtracing/ptt/hisi_ptt.c:13:10: fatal error: linux/dma-iommu.h: No such file or directory
13 | #include <linux/dma-iommu.h>

      |          ^~~~~~~~~~~~~~~~~~~

Caused by commit

ff0de066b463 ("hwtracing: hisi_ptt: Add trace function support for HiSilicon PCIe Tune and Trace device")

interacting with commit

f2042ed21da7 ("iommu/dma: Make header private")

from the iommu tree.

Since the public interfaces in dna-iommu.h were moved to iommu.h, I have applied the following merge fix patch:

Quoted 8 lines

From: Stephen Rothwell <[email protected]>
Date: Mon, 12 Sep 2022 15:35:37 +1000
Subject: [PATCH] hwtracing: hihi_ptt: fix up for "iommu/dma: Make header private"

---
 drivers/hwtracing/ptt/hisi_ptt.c | 1 -
 1 file changed, 1 deletion(-)

Thanks for the leg work on this. I will apply this patch to the CS tree.

Mathieu

Quoted 20 lines
drivers/hwtracing/ptt/hisi_ptt.c +0 -2
index 666a0f14b6c4..5d5526aa60c4 100644
@@ -10,7 +10,6 @@
 #include <linux/bitops.h>
 #include <linux/cpuhotplug.h>
 #include <linux/delay.h>
-#include <linux/dma-iommu.h>
 #include <linux/dma-mapping.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
--

2.35.1

--
Cheers,
Stephen Rothwell

Acked-by
#3 lore raw
In reply to Stephen Rothwell
Quoted 17 lines · Stephen Rothwell

Hi all,

After merging the coresight tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/hwtracing/ptt/hisi_ptt.c:13:10: fatal error: linux/dma-iommu.h: No such file or directory
13 | #include <linux/dma-iommu.h>

      |          ^~~~~~~~~~~~~~~~~~~

Caused by commit

ff0de066b463 ("hwtracing: hisi_ptt: Add trace function support for HiSilicon PCIe Tune and Trace device")

interacting with commit

f2042ed21da7 ("iommu/dma: Make header private")

Quoted 9 lines

from the iommu tree.

Since the public interfaces in dna-iommu.h were moved to iommu.h, I have applied the following merge fix patch:

From: Stephen Rothwell <[email protected]>
Date: Mon, 12 Sep 2022 15:35:37 +1000
Subject: [PATCH] hwtracing: hihi_ptt: fix up for "iommu/dma: Make header private"

s/hihi_ptt/hisi_ptt

thanks for fixing this!

Quoted 17 lines
---
 drivers/hwtracing/ptt/hisi_ptt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/hwtracing/ptt/hisi_ptt.c +0 -1
index 666a0f14b6c4..5d5526aa60c4 100644
@@ -10,7 +10,6 @@
 #include <linux/bitops.h>
 #include <linux/cpuhotplug.h>
 #include <linux/delay.h>
-#include <linux/dma-iommu.h>
 #include <linux/dma-mapping.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>