selftests: harness: remove unneeded __constructor_order_last()__constructor_order_last() is unneeded.If __constructor_order_last() is not called on backward-order systems,__constructor_order wil
selftests: harness: remove unneeded __constructor_order_last()__constructor_order_last() is unneeded.If __constructor_order_last() is not called on backward-order systems,__constructor_order will remain 0 instead of being set to_CONSTRUCTOR_ORDER_BACKWARD (= -1).__LIST_APPEND() will still take the 'else' branch, so there is nodifference in the behavior.Signed-off-by: Masahiro Yamada <[email protected]>Signed-off-by: Shuah Khan <[email protected]>
show more ...
selftests: drivers: Fix incorrect kernel headers search pathUse $(KHDR_INCLUDES) as lookup path for kernel headers. This preventsbuilding against kernel headers from the build environment in scena
selftests: drivers: Fix incorrect kernel headers search pathUse $(KHDR_INCLUDES) as lookup path for kernel headers. This preventsbuilding against kernel headers from the build environment in scenarioswhere kernel headers are installed into a specific output directory(O=...).Signed-off-by: Mathieu Desnoyers <[email protected]>Cc: Shuah Khan <[email protected]>Cc: [email protected]Cc: Ingo Molnar <[email protected]>Cc: <[email protected]> # 5.18+Signed-off-by: Shuah Khan <[email protected]>
selftests: stop using KSFT_KHDR_INSTALLStop using the KSFT_KHDR_INSTALL flag as installing the kernel headersfrom the kselftest Makefile is causing some issues. Instead, rely onthe headers to be
selftests: stop using KSFT_KHDR_INSTALLStop using the KSFT_KHDR_INSTALL flag as installing the kernel headersfrom the kselftest Makefile is causing some issues. Instead, rely onthe headers to be installed directly by the top-level Makefile"headers_install" make target prior to building kselftest.Signed-off-by: Guillaume Tucker <[email protected]>Tested-by: Anders Roxell <[email protected]>Signed-off-by: Shuah Khan <[email protected]>
selftests: drivers/s390x: Add uvdevice testsAdds some selftests to test ioctl error paths of the uv-uapi.The Kconfig S390_UV_UAPI must be selected and the Ultravisor facilitymust be available. Th
selftests: drivers/s390x: Add uvdevice testsAdds some selftests to test ioctl error paths of the uv-uapi.The Kconfig S390_UV_UAPI must be selected and the Ultravisor facilitymust be available. The test can be executed by non-root, however, theuvdevice special file /dev/uv must be accessible for reading andwriting which may imply root privileges. ./test-uv-device TAP version 13 1..6 # Starting 6 tests from 3 test cases. # RUN uvio_fixture.att.fault_ioctl_arg ... # OK uvio_fixture.att.fault_ioctl_arg ok 1 uvio_fixture.att.fault_ioctl_arg # RUN uvio_fixture.att.fault_uvio_arg ... # OK uvio_fixture.att.fault_uvio_arg ok 2 uvio_fixture.att.fault_uvio_arg # RUN uvio_fixture.att.inval_ioctl_cb ... # OK uvio_fixture.att.inval_ioctl_cb ok 3 uvio_fixture.att.inval_ioctl_cb # RUN uvio_fixture.att.inval_ioctl_cmd ... # OK uvio_fixture.att.inval_ioctl_cmd ok 4 uvio_fixture.att.inval_ioctl_cmd # RUN attest_fixture.att_inval_request ... # OK attest_fixture.att_inval_request ok 5 attest_fixture.att_inval_request # RUN attest_fixture.att_inval_addr ... # OK attest_fixture.att_inval_addr ok 6 attest_fixture.att_inval_addr # PASSED: 6 / 6 tests passed. # Totals: pass:6 fail:0 xfail:0 xpass:0 skip:0 error:0Signed-off-by: Steffen Eiden <[email protected]>Acked-by: Janosch Frank <[email protected]>Message-Id: <[email protected]>Link: https://lore.kernel.org/kvm/[email protected]/Signed-off-by: Janosch Frank <[email protected]>