2023-06-25 16:30:14

by Shuah Khan

[permalink] [raw]
Subject: [GIT PULL] Kselftest update for Linux 6.5-rc1

Hi Linus,

Please pull the following Kselftest update for Linux 6.5-rc1.

This kselftest update for Linux 6.5-rc1 consists of:

- change to allow runners to override the timeout
This change is made to avoid future increases of long
timeouts
- several other spelling and cleanups
- a new subtest to video_device_test
- enhancements to test coverage in clone3 test
- other fixes to ftrace and cpufreq tests

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 858fd168a95c5b9669aac8db6c14a9aeab446375:

Linux 6.4-rc6 (2023-06-11 14:35:30 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-next-6.5-rc1

for you to fetch changes up to 8cd0d8633e2de4e6dd9ddae7980432e726220fdb:

selftests/ftace: Fix KTAP output ordering (2023-06-12 16:40:22 -0600)

----------------------------------------------------------------
linux-kselftest-next-6.5-rc1

This kselftest update for Linux 6.5-rc1 consists of:

- change to allow runners to override the timeout
This change is made to avoid future increases of long
timeouts
- several other spelling and cleanups
- a new subtest to video_device_test
- enhancements to test coverage in clone3 test
- other fixes to ftrace and cpufreq tests

----------------------------------------------------------------
Akanksha J N (1):
selftests/ftrace: Add new test case which checks for optimized probes

Colin Ian King (2):
selftests: prctl: Fix spelling mistake "anonynous" -> "anonymous"
kselftest: vDSO: Fix accumulation of uninitialized ret when CLOCK_REALTIME is undefined

Ivan Orlov (1):
selftests: media_tests: Add new subtest to video_device_test

Luis Chamberlain (1):
selftests: allow runners to override the timeout

Mark Brown (2):
selftests/cpufreq: Don't enable generic lock debugging options
selftests/ftace: Fix KTAP output ordering

Rishabh Bhatnagar (1):
kselftests: Sort the collections list to avoid duplicate tests

Tobias Klauser (1):
selftests/clone3: test clone3 with exit signal in flags

Ziqi Zhao (1):
selftest: pidfd: Omit long and repeating outputs

Documentation/dev-tools/kselftest.rst | 22 ++++
tools/testing/selftests/clone3/clone3.c | 5 +-
tools/testing/selftests/cpufreq/config | 8 --
tools/testing/selftests/ftrace/ftracetest | 2 +-
.../ftrace/test.d/kprobe/kprobe_opt_types.tc | 34 +++++++
tools/testing/selftests/kselftest/runner.sh | 11 +-
.../selftests/media_tests/video_device_test.c | 111 +++++++++++++++------
tools/testing/selftests/pidfd/pidfd.h | 1 -
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c | 1 +
tools/testing/selftests/pidfd/pidfd_test.c | 3 +-
.../selftests/prctl/set-anon-vma-name-test.c | 2 +-
tools/testing/selftests/run_kselftest.sh | 7 +-
.../selftests/vDSO/vdso_test_clock_getres.c | 4 +-
13 files changed, 166 insertions(+), 45 deletions(-)
create mode 100644 tools/testing/selftests/ftrace/test.d/kprobe/kprobe_opt_types.tc

----------------------------------------------------------------


Attachments:
linux-kselftest-next-6.5-rc1.diff (12.69 kB)

2023-06-27 18:26:46

by Linus Torvalds

[permalink] [raw]
Subject: Re: [GIT PULL] Kselftest update for Linux 6.5-rc1

On Sun, 25 Jun 2023 at 08:42, Shuah Khan <[email protected]> wrote:
>
> Please pull the following Kselftest update for Linux 6.5-rc1.

Hmm. I pulled this, but it causes multiple objtool warnings.

The cause seems to be __kunit_abort() being no-return and objtool
having not being told about it, and I'm double-checking the fix for
that.

But I'm unhappy with how clearly nobody seems to have looked at
non-fatal warning output again.

This was why we made the kernel use -Werror, because people would
ignore build warnings that weren't fatal. Now objtool warnings seem to
be triggering the same laissez-faire behavior.

Linus

2023-06-27 18:48:56

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] Kselftest update for Linux 6.5-rc1

The pull request you sent on Sun, 25 Jun 2023 09:42:33 -0600:

> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-next-6.5-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/dedbf31ac8a57eaa29b6e4f9745dadffa83dd947

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

2023-06-27 18:49:20

by Linus Torvalds

[permalink] [raw]
Subject: Re: [GIT PULL] Kselftest update for Linux 6.5-rc1

On Tue, 27 Jun 2023 at 11:15, Linus Torvalds
<[email protected]> wrote:
>
> On Sun, 25 Jun 2023 at 08:42, Shuah Khan <[email protected]> wrote:
> >
> > Please pull the following Kselftest update for Linux 6.5-rc1.
>
> Hmm. I pulled this, but it causes multiple objtool warnings.

Sorry, repliedt op the wrong email. It's the KUnit pull that causes
problems, not the Kselftest one (which is next in my queue)

Linus

2023-06-27 21:35:45

by David Gow

[permalink] [raw]
Subject: Re: [GIT PULL] Kselftest update for Linux 6.5-rc1

On Wed, 28 Jun 2023 at 02:17, Linus Torvalds
<[email protected]> wrote:
>
> On Sun, 25 Jun 2023 at 08:42, Shuah Khan <[email protected]> wrote:
> >
> > Please pull the following Kselftest update for Linux 6.5-rc1.
>
> Hmm. I pulled this, but it causes multiple objtool warnings.
>
> The cause seems to be __kunit_abort() being no-return and objtool
> having not being told about it, and I'm double-checking the fix for
> that.
>

Sorry about that: the fix for this was put in the objtool tree to
avoid some merge conflicts (the noreturn list was moved):
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=objtool/core&id=ff9a6459bbec06df7da2545020d7383aba13b3fb

-- David


Attachments:
smime.p7s (3.91 kB)
S/MIME Cryptographic Signature