]> www.infradead.org Git - users/hch/misc.git/commitdiff
selftests: Create tools/testing/selftests/vfio
authorDavid Matlack <dmatlack@google.com>
Fri, 22 Aug 2025 21:24:48 +0000 (21:24 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 27 Aug 2025 18:14:01 +0000 (12:14 -0600)
Create the directory tools/testing/selftests/vfio with a stub Makefile
and hook it up to the top-level selftests Makefile.

This directory will be used in subsequent commits to host selftests for
the VFIO subsystem.

Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20250822212518.4156428-2-dmatlack@google.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
MAINTAINERS
tools/testing/selftests/Makefile
tools/testing/selftests/vfio/.gitignore [new file with mode: 0644]
tools/testing/selftests/vfio/Makefile [new file with mode: 0644]

index 482c18d39f620004dcef34c6349a4c27f5a779c4..fba915fcb30e3c7c0ec1943eff73a7cc7252fd06 100644 (file)
@@ -26440,6 +26440,7 @@ F:      drivers/vfio/
 F:     include/linux/vfio.h
 F:     include/linux/vfio_pci_core.h
 F:     include/uapi/linux/vfio.h
+F:     tools/testing/selftests/vfio/
 
 VFIO FSL-MC DRIVER
 L:     kvm@vger.kernel.org
@@ -26504,6 +26505,12 @@ L:     qat-linux@intel.com
 S:     Supported
 F:     drivers/vfio/pci/qat/
 
+VFIO SELFTESTS
+M:     David Matlack <dmatlack@google.com>
+L:     kvm@vger.kernel.org
+S:     Maintained
+F:     tools/testing/selftests/vfio/
+
 VFIO VIRTIO PCI DRIVER
 M:     Yishai Hadas <yishaih@nvidia.com>
 L:     kvm@vger.kernel.org
index 030da61dbff3a7e4a22d61ba3972e248a43d374d..c4e616183aa51b023986c2ada9696f19d0a7a259 100644 (file)
@@ -124,6 +124,7 @@ TARGETS += uevent
 TARGETS += user_events
 TARGETS += vDSO
 TARGETS += mm
+TARGETS += vfio
 TARGETS += x86
 TARGETS += x86/bugs
 TARGETS += zram
diff --git a/tools/testing/selftests/vfio/.gitignore b/tools/testing/selftests/vfio/.gitignore
new file mode 100644 (file)
index 0000000..6d9381d
--- /dev/null
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-only
+*
+!/**/
+!*.c
+!*.h
+!*.S
+!*.sh
diff --git a/tools/testing/selftests/vfio/Makefile b/tools/testing/selftests/vfio/Makefile
new file mode 100644 (file)
index 0000000..2bba39a
--- /dev/null
@@ -0,0 +1,2 @@
+CFLAGS = $(KHDR_INCLUDES)
+include ../lib.mk