[PATCH v4 21/21] selftests/vfio: Allow building on RISC-V

Andrew Jones andrew.jones at oss.qualcomm.com
Thu Aug 20 14:41:50 PDT 2026


The generic VFIO selftests, including iommufd coverage, require no
RISC-V-specific source changes. Include riscv64 in their build list.

Signed-off-by: Andrew Jones <andrew.jones at oss.qualcomm.com>
---
 tools/testing/selftests/vfio/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/vfio/Makefile b/tools/testing/selftests/vfio/Makefile
index 2c32c48db509..c6c5764185ba 100644
--- a/tools/testing/selftests/vfio/Makefile
+++ b/tools/testing/selftests/vfio/Makefile
@@ -1,6 +1,6 @@
 ARCH ?= $(shell uname -m)
 
-ifeq (,$(filter $(ARCH),aarch64 arm64 x86 x86_64))
+ifeq (,$(filter $(ARCH),aarch64 arm64 x86 x86_64 riscv64))
 # Do nothing on unsupported architectures
 include ../lib.mk
 else
-- 
2.43.0




More information about the linux-riscv mailing list