+cc x86, riscv as they're also affected.
On Thu, Feb 02, 2023 at 09:01:36PM +0000, Mark Brown wrote:
The page_fault_test KVM selftest requires userfaultfd but the config fragment for the KVM selftests does not enable it, meaning that those tests are skipped in CI systems that rely on appropriate settings in the config fragments except on S/390 which happens to have it in defconfig. Enable the option in the config fragment so that the tests get run.
Thanks for catching this.
I believe we also need UFFD for demand_paging_test, which is used by all the KVM selftests arches. I plan on picking this up, but if anyone has objections please shout :)
-- Thanks, Oliver
Signed-off-by: Mark Brown broonie@kernel.org
tools/testing/selftests/kvm/config | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/kvm/config b/tools/testing/selftests/kvm/config index 63ed533f73d6..d011b38e259e 100644 --- a/tools/testing/selftests/kvm/config +++ b/tools/testing/selftests/kvm/config @@ -1,3 +1,4 @@ CONFIG_KVM=y CONFIG_KVM_INTEL=y CONFIG_KVM_AMD=y +CONFIG_USERFAULTFD=y
base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2 change-id: 20230202-kvm-selftest-userfaultfd-ea85a8b5f873
Best regards,
Mark Brown broonie@kernel.org