[PATCH v6 16/16] selftests/vfio: Allow building on RISC-V
Nutty.Liu
nutty.liu at hotmail.com
Sun Sep 27 20:16:46 PDT 2026
On 9/25/2026 11:16 PM, Andrew Jones wrote:
> The generic VFIO selftests, including iommufd coverage, require no
> RISC-V-specific source changes. Top-level kselftest builds normalize
> riscv64 to riscv, while direct builds may use riscv64. Include both
> names in the architecture filter.
>
> Signed-off-by: Andrew Jones <andrew.jones at oss.qualcomm.com>
> Tested-by: Fangyu Yu <fangyu.yu at linux.alibaba.com>
Reviewed-by: Nutty Liu <nutty.liu at hotmail.com>
Thanks,
Nutty
> ---
> 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..2c7d8ea81b61 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 riscv riscv64))
> # Do nothing on unsupported architectures
> include ../lib.mk
> else
More information about the linux-riscv
mailing list