lkml.org 
[lkml]   [2021]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectlinux-next: build failure after merge of the iommu tree
Hi all,

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

drivers/iommu/apple-dart.c: In function 'apple_dart_get_resv_regions':
drivers/iommu/apple-dart.c:758:2: error: implicit declaration of function 'iommu_dma_get_resv_regions'; did you mean 'iommu_get_resv_regions'? [-Werror=implicit-function-declaration]
758 | iommu_dma_get_resv_regions(dev, head);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| iommu_get_resv_regions
cc1: all warnings being treated as errors

Caused by commit

b2b2781a9755 ("iommu/dart: Clean up IOVA cookie crumbs")

interactig with commit

05dc551614a4 ("iommu/dart: Exclude MSI doorbell from PCIe device IOVA range")

from the pci tree.

I have applied the following merge fix patch.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 12 Oct 2021 14:40:49 +1100
Subject: [PATCH] fix for "iommu/dart: Exclude MSI doorbell from PCIe device
IOVA range"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/iommu/apple-dart.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/iommu/apple-dart.c b/drivers/iommu/apple-dart.c
index 912be9b7669c..280ff8df728d 100644
--- a/drivers/iommu/apple-dart.c
+++ b/drivers/iommu/apple-dart.c
@@ -15,6 +15,7 @@
#include <linux/bitfield.h>
#include <linux/clk.h>
#include <linux/dev_printk.h>
+#include <linux/dma-iommu.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/interrupt.h>
--
2.33.0
--
Cheers,
Stephen Rothwell
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2021-10-12 05:47    [W:0.061 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site