Hey Brendan, Thanks for the report.
This issue is caused by my change that centralized the kselftest.h include path in lib.mk, while the x86 selftests Makefile overwrites CFLAGS with :=, so shared include path unable to find kselftest.h. The fix is to explicity add the selftests include directory to CFLAGS in tools/testing/selftests/x86/Makefile. I have already submitted this: [PATCH] selftests/x86: Add selftests include path for kselftest.h after centralization Link: https://lore.kernel.org/lkml/[email protected]/ it has been tested and confirmed working. Tested-by: Anders Roxell <[email protected]> Once that patch is merged, the x86 selftests build issue should be resolved. Thanks Bala Vignesh

