[PATCH v4 00/31] ARM: Switch to generic entry

Linus Walleij linus.walleij at linaro.org
Thu Feb 20 06:04:22 PST 2025


On Fri, Feb 14, 2025 at 12:05 PM Dmitry V. Levin <ldv at strace.io> wrote:

> > Sure, where can I find this test suite?
>
> It's a part of strace, you can find it e.g. at
> https://github.com/strace/strace
>
> To build and run it one can roughly do
> ./bootstrap && ./configure && make -j`nproc` && make -j`nproc check

make check produces some test failures on v6.14-rc1 on ARM
even before I apply the generic entry:

FAIL: filtering_syscall-syntax.test
FAIL: qual_fault-syscall.test
FAIL: qual_fault.test
FAIL: strace--tips-full.test
FAIL: strace-r.test
============================================================================
Testsuite summary for strace 6.13.0.27.bbda4
============================================================================
# TOTAL: 1409
# PASS:  1106
# SKIP:  298
# XFAIL: 0
# FAIL:  5
# XPASS: 0
# ERROR: 0
============================================================================

But I create more fails after my patch set ...
Some have to do with fast syscall restart (I need to look into this).

Then there is the fact that I had to add the  PTRACE_SYSEMU and
PTRACE_SYSEMU_SINGLESTEP as stubs returning -EIO
(modeled after UM) to use generic entry. Do you think this affects
the results?

Is there a way to run a single test? I tried to check the docs but
nothing obvious to me ... I guess I'm not used to this unit-tester.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list