]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
vfio: selftests: Build tests on aarch64
authorTed Logan <tedlogan@fb.com>
Thu, 19 Mar 2026 22:58:47 +0000 (15:58 -0700)
committerAlex Williamson <alex@shazbot.org>
Fri, 20 Mar 2026 19:52:16 +0000 (13:52 -0600)
Fix vfio selftests on aarch64, allowing native builds on aarch64 hosts.

Reported-by: Matt Evans <mattev@meta.com>
Closes: https://lore.kernel.org/all/e51b4ff2-13c4-47d4-b781-3dcbd740d274@meta.com/
Fixes: a55d4bbbe644 ("vfio: selftests: only build tests on arm64 and x86_64")
Signed-off-by: Ted Logan <tedlogan@fb.com>
Reviewed-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20260319-vfio-selftests-aarch64-v2-1-bb2621c24dc4@fb.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
tools/testing/selftests/vfio/Makefile

index 8e90e409e91d8de1d900c7a092be16e844d31578..0684932d91bfcb2d116a0752cc93461030f86326 100644 (file)
@@ -1,6 +1,6 @@
 ARCH ?= $(shell uname -m)
 
-ifeq (,$(filter $(ARCH),arm64 x86_64))
+ifeq (,$(filter $(ARCH),aarch64 arm64 x86_64))
 # Do nothing on unsupported architectures
 include ../lib.mk
 else