selftests: x86: mov_ss_trap_64 numbering_64 amx_64 lam_64 failed

From: Naresh Kamboju
Date: Mon May 15 2023 - 06:55:38 EST


Following selftests x86 test cases failing
Unsupported feature can be marked as skipped instead of fail ?

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

- x86_mov_ss_trap_64 fail
- x86_syscall_numbering_64 fail
- x86_amx_64 fail
- x86_lam_64 fail

# selftests: x86: mov_ss_trap_64
# SS = 0x2b, &SS = 0x0x404188
# Set up a watchpoint
# DR0 = 404188, DR1 = 401368, DR7 = 7000a
# Segmentation fault
not ok 10 selftests: x86: mov_ss_trap_64 # exit=139

# selftests: x86: syscall_numbering_64
...
not ok 16 selftests: x86: syscall_numbering_64 # TIMEOUT 45 seconds

## The default timeout after 45 seconds occurred due to slow qemu-x86_64
## pass on x86 device and other fast qemu_x86_64.

# selftests: x86: amx_64
# amx_64: [FAIL] cpuid: no CPU xsave support: Success
not ok 18 selftests: x86: amx_64 # exit=1

# selftests: x86: lam_64
# # Unsupported LAM feature!
not ok 19 selftests: x86: lam_64 # exit=255


links,
- https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.4-rc2/testrun/16949493/suite/kselftest-x86/tests/
- https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.4-rc2/testrun/16949493/suite/kselftest-x86/test/x86_syscall_numbering_64/history/?page=2


Steps to reproduce:
------------
# To install tuxrun on your system globally:
# sudo pip3 install -U tuxrun==0.42.0
#
# See https://tuxrun.org/ for complete documentation.

tuxrun \
--runtime podman \
--device qemu-x86_64 \
--boot-args rw \
--kernel https://storage.tuxsuite.com/public/linaro/lkft/builds/2PnaPptGlD8AJHQHUvVnCbca522/bzImage
\
--modules https://storage.tuxsuite.com/public/linaro/lkft/builds/2PnaPptGlD8AJHQHUvVnCbca522/modules.tar.xz
\
--rootfs https://storage.tuxboot.com/debian/bookworm/amd64/rootfs.ext4.xz \
--parameters SKIPFILE=skipfile-lkft.yaml \
--parameters KSELFTEST=https://storage.tuxsuite.com/public/linaro/lkft/builds/2PnaPptGlD8AJHQHUvVnCbca522/kselftest.tar.xz
\
--image docker.io/lavasoftware/lava-dispatcher:2023.01.0020.gc1598238f \
--tests kselftest-x86 \
--timeouts boot=15


--
Linaro LKFT
https://lkft.linaro.org