* [merged mm-hotfixes-stable] iommu-sva-include-mmu_notifierh-header.patch removed from -mm tree
@ 2026-01-13 5:09 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-01-13 5:09 UTC (permalink / raw)
To: mm-commits, will, vasant.hegde, robin.murphy, kevin.tian, joro,
jgg, baolu.lu, cmllamas, akpm
The quilt patch titled
Subject: iommu/sva: include mmu_notifier.h header
has been removed from the -mm tree. Its filename was
iommu-sva-include-mmu_notifierh-header.patch
This patch was dropped because it was merged into the mm-hotfixes-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Carlos Llamas <cmllamas@google.com>
Subject: iommu/sva: include mmu_notifier.h header
Date: Mon, 5 Jan 2026 19:07:46 +0000
A call to mmu_notifier_arch_invalidate_secondary_tlbs() was introduced in
commit e37d5a2d60a3 ("iommu/sva: invalidate stale IOTLB entries for kernel
address space") but without explicitly adding its corresponding header
file <linux/mmu_notifier.h>. This was evidenced while trying to enable
compile testing support for IOMMU_SVA:
config IOMMU_SVA
select IOMMU_MM_DATA
- bool
+ bool "Shared Virtual Addressing" if COMPILE_TEST
The thing is for certain architectures this header file is indirectly
included via <asm/tlbflush.h>. However, for others such as 32-bit arm the
header is missing and it results in a build failure:
$ make ARCH=arm allmodconfig
[...]
drivers/iommu/iommu-sva.c:340:3: error: call to undeclared function 'mmu_notifier_arch_invalidate_secondary_tlbs' [...]
340 | mmu_notifier_arch_invalidate_secondary_tlbs(iommu_mm->mm, start, end);
| ^
Fix this by including the appropriate header file.
Link: https://lkml.kernel.org/r/20260105190747.625082-1-cmllamas@google.com
Fixes: e37d5a2d60a3 ("iommu/sva: invalidate stale IOTLB entries for kernel address space")
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Cc: Baolu Lu <baolu.lu@linux.intel.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Kevin Tian <kevin.tian@intel.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Vasant Hegde <vasant.hegde@amd.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/iommu/iommu-sva.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/iommu/iommu-sva.c~iommu-sva-include-mmu_notifierh-header
+++ a/drivers/iommu/iommu-sva.c
@@ -3,6 +3,7 @@
* Helpers for IOMMU drivers implementing SVA
*/
#include <linux/mmu_context.h>
+#include <linux/mmu_notifier.h>
#include <linux/mutex.h>
#include <linux/sched/mm.h>
#include <linux/iommu.h>
_
Patches currently in -mm which might be from cmllamas@google.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-01-13 5:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-13 5:09 [merged mm-hotfixes-stable] iommu-sva-include-mmu_notifierh-header.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.