[PATCH v1 2/3] iommu/riscv: Add Makefile support for RISC-V IOMMU perf driver

Yaxing Guo guoyaxing at bosc.ac.cn
Sun Sep 14 19:09:10 PDT 2025


Add compilation rules for iommu-perf.o to support
the new RISC-V IOMMU perf driver.

Signed-off-by: Yaxing Guo <guoyaxing at bosc.ac.cn>
---
 drivers/iommu/riscv/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/riscv/Makefile b/drivers/iommu/riscv/Makefile
index b5929f9f23e6..5e9c7c1ed928 100644
--- a/drivers/iommu/riscv/Makefile
+++ b/drivers/iommu/riscv/Makefile
@@ -1,3 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
-obj-y += iommu.o iommu-platform.o
+obj-y += iommu.o iommu-platform.o iommu-perf.o
 obj-$(CONFIG_RISCV_IOMMU_PCI) += iommu-pci.o
-- 
2.34.1




More information about the linux-riscv mailing list