Re: [PATCH] iommu/sva: include mmu_notifier.h header
From: Joerg Roedel
Date: Sat Jan 10 2026 - 04:40:04 EST
On Mon, Jan 05, 2026 at 07:07:46PM +0000, Carlos Llamas wrote:
> 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
This patch should be part of a patch-set which does the above. As-is, this does
not qualify as a fix or a standalone change.
-Joerg