Re: [PATCH v3 1/4] selftests: vDSO: vdso_test_abi: Also test ALARM clocks

From: Mark Brown

Date: Fri Dec 04 2026 - 13:19:15 EST


On Tue, Nov 10, 2026 at 01:19:32PM +0000, Thomas Weißschuh wrote:
> Extend the tests to also handle CLOCK_REALTIME_ALARM and
> CLOCK_BOOTTIME_ALARM. These are currently not handled by the vDSO,
> so will fall through to the system call and succeed.
>
> The tests will become useful when the vDSO will start handling these
> clocks in later patches.

FWIW these tests are failing on at least Raspberry Pi 4:

# ok 7 # SKIP __kernel_clock_gettime64 CLOCK_REALTIME_ALARM
# # The syscall resolution is 281474584329421 0
# not ok 8 __kernel_clock_getres CLOCK_REALTIME_ALARM

# ok 15 # SKIP __kernel_clock_gettime64 CLOCK_BOOTTIME_ALARM
# # The syscall resolution is 281474584329421 0
# not ok 16 __kernel_clock_getres CLOCK_BOOTTIME_ALARM

which is causing the top level vDSO ABI test to fail, bisection
identified that it was adding the test so it's a preexisting issue or
some issue with the test that happens to manifest on these clocks.

Full log: https://lava.sirena.org.uk/scheduler/job/320649#L6888

Bisect:

# bad: [29beb21c21ada7207692b2d69fc58dcd15dab6e9] Add linux-next specific files for 20261204
# good: [424d82264d1b3f15766eaa2723d27afbbd7eaeb1] Merge branch 'for-linux-next-fixes' of https://gitlab.freedesktop.org/drm/misc/kernel.git
# good: [31f25184fa85ac925f287e9857914fd9d05deec5] Merge branch 'timers/core' into timers/merge, to aid CI testing
# good: [fd53edfed1fe74298d47a958de6635389c4e79ff] timers/migration: Read jiffies only when the migrator walk needs it
# good: [a877a3089b96ac0f7f8aa65a05ae5a441dbae1a5] vdso/datapage: Correct the vdso_timestamp kernel-doc
# good: [689868cc2af9cae9a4eff90eadf5726bdc20cd82] vdso/gettimeofday: Replace the clock_data array with regular members
git bisect start '29beb21c21ada7207692b2d69fc58dcd15dab6e9' '424d82264d1b3f15766eaa2723d27afbbd7eaeb1' '31f25184fa85ac925f287e9857914fd9d05deec5' 'fd53edfed1fe74298d47a958de6635389c4e79ff' 'a877a3089b96ac0f7f8aa65a05ae5a441dbae1a5' '689868cc2af9cae9a4eff90eadf5726bdc20cd82'
# test job: [31f25184fa85ac925f287e9857914fd9d05deec5] https://lava.sirena.org.uk/scheduler/job/320558
# test job: [fd53edfed1fe74298d47a958de6635389c4e79ff] https://lava.sirena.org.uk/scheduler/job/320482
# test job: [a877a3089b96ac0f7f8aa65a05ae5a441dbae1a5] https://lava.sirena.org.uk/scheduler/job/320825
# test job: [689868cc2af9cae9a4eff90eadf5726bdc20cd82] https://lava.sirena.org.uk/scheduler/job/320757
# test job: [29beb21c21ada7207692b2d69fc58dcd15dab6e9] https://lava.sirena.org.uk/scheduler/job/335765
# bad: [29beb21c21ada7207692b2d69fc58dcd15dab6e9] Add linux-next specific files for 20261204
git bisect bad 29beb21c21ada7207692b2d69fc58dcd15dab6e9
# test job: [f73ba17fefc23f848ce829bd5f1684207bb935b2] https://lava.sirena.org.uk/scheduler/job/320412
# bad: [f73ba17fefc23f848ce829bd5f1684207bb935b2] Merge branch 'timers/vdso' into timers/merge, to resolve conflict
git bisect bad f73ba17fefc23f848ce829bd5f1684207bb935b2
# test job: [befb4225588c93796054be49dc589c20ad848ce5] https://lava.sirena.org.uk/scheduler/job/320649
# bad: [befb4225588c93796054be49dc589c20ad848ce5] selftests: vDSO: vdso_test_abi: Also test ALARM clocks
git bisect bad befb4225588c93796054be49dc589c20ad848ce5
# first bad commit: [befb4225588c93796054be49dc589c20ad848ce5] selftests: vDSO: vdso_test_abi: Also test ALARM clocks
# test job: [308b373c295853b367a42b6f62df0ab2007065e2] https://lava.sirena.org.uk/scheduler/job/323240
# bad: [308b373c295853b367a42b6f62df0ab2007065e2] vdso: Add alarmclock support infrastructure
git bisect bad 308b373c295853b367a42b6f62df0ab2007065e2
# test job: [befb4225588c93796054be49dc589c20ad848ce5] https://lava.sirena.org.uk/scheduler/job/320649
# bad: [befb4225588c93796054be49dc589c20ad848ce5] selftests: vDSO: vdso_test_abi: Also test ALARM clocks
git bisect bad befb4225588c93796054be49dc589c20ad848ce5
# first bad commit: [befb4225588c93796054be49dc589c20ad848ce5] selftests: vDSO: vdso_test_abi: Also test ALARM clocks

Attachment: signature.asc
Description: PGP signature