lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <fc9ccbf3-6b7d-46d3-a8da-54d5dc78a81c@linuxfoundation.org>
Date: Wed, 6 Mar 2024 16:54:43 -0700
From: Shuah Khan <skhan@...uxfoundation.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: shuah <shuah@...nel.org>, Shuah Khan <skhan@...uxfoundation.org>,
 linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [GIT PULL] Kselftest next update for Linux 6.9-rc1

Hi Linus,

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

This kselftest next update for Linux 6.9-rc1 consists of:
     
     -- livepatch restructuring to move the module out of lib to be
        built as a out-of-tree modules during kselftest build. This
        change makes it easier change, debug and rebuild the tests by
        running make on the selftests/livepatch directory, which is not
        currently possible since the modules on lib/livepatch are build
        and installed using the main makefile modules target.
     
     -- livepatch restructuring fixes for problems found by kernel test
        robot. The change skips the test if kernel-devel isn't installed
        (default value of KDIR), or if KDIR variable passed doesn't exists.
     
     -- resctrl test restructuring and new non-contiguous CBMs CAT test
     
     -- new ktap_helpers to print diagnostic messages, pass/fail tests
        based on exit code, abort test, and finish the test.
     
     -- a new test verify power supply properties.
     
     -- a new ftrace to exercise function tracer across cpu hotplug.
     
     -- timeout increase for mqueue test to allow the test to run on
        i3.metal AWS instances.
     
     -- minor spelling corrections in several tests.
     
     -- missing gitignore files and changes to existing gitignore files.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

   Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 5d94da7ff00ef45737a64d947e7ff45aca972782:

   kselftest: Add basic test for probing the rust sample modules (2024-03-04 13:13:04 -0700)

----------------------------------------------------------------
linux_kselftest-next-6.9-rc1

This kselftest next update for Linux 6.9-rc1 consists of:

-- livepatch restructuring to move the module out of lib to be
    built as a out-of-tree modules during kselftest build. This
    change makes it easier change, debug and rebuild the tests by
    running make on the selftests/livepatch directory, which is not
    currently possible since the modules on lib/livepatch are build
    and installed using the main makefile modules target.

-- livepatch restructuring fixes for problems found by kernel test
    robot. The change skips the test if kernel-devel isn't installed
    (default value of KDIR), or if KDIR variable passed doesn't exists.

-- resctrl test restructuring and new non-contiguous CBMs CAT test

-- new ktap_helpers to print diagnostic messages, pass/fail tests
    based on exit code, abort test, and finish the test.

-- a new test verify power supply properties.

-- a new ftrace to exercise function tracer across cpu hotplug.

-- timeout increase for mqueue test to allow the test to run on
    i3.metal AWS instances.

-- minor spelling corrections in several tests.

-- missing gitignore files and changes to existing gitignore files.

----------------------------------------------------------------
Ali Zahraee (1):
       selftests: ftrace: fix typo in test description

Colin Ian King (1):
       selftests: sched: Fix spelling mistake "hiearchy" -> "hierarchy"

Ilpo Järvinen (30):
       selftests/resctrl: Convert perror() to ksft_perror() or ksft_print_msg()
       selftests/resctrl: Return -1 instead of errno on error
       selftests/resctrl: Don't use ctrlc_handler() outside signal handling
       selftests/resctrl: Change function comments to say < 0 on error
       selftests/resctrl: Split fill_buf to allow tests finer-grained control
       selftests/resctrl: Refactor fill_buf functions
       selftests/resctrl: Refactor get_cbm_mask() and rename to get_full_cbm()
       selftests/resctrl: Mark get_cache_size() cache_type const
       selftests/resctrl: Create cache_portion_size() helper
       selftests/resctrl: Exclude shareable bits from schemata in CAT test
       selftests/resctrl: Split measure_cache_vals()
       selftests/resctrl: Split show_cache_info() to test specific and generic parts
       selftests/resctrl: Remove unnecessary __u64 -> unsigned long conversion
       selftests/resctrl: Remove nested calls in perf event handling
       selftests/resctrl: Consolidate naming of perf event related things
       selftests/resctrl: Improve perf init
       selftests/resctrl: Convert perf related globals to locals
       selftests/resctrl: Move cat_val() to cat_test.c and rename to cat_test()
       selftests/resctrl: Open perf fd before start & add error handling
       selftests/resctrl: Replace file write with volatile variable
       selftests/resctrl: Read in less obvious order to defeat prefetch optimizations
       selftests/resctrl: Rewrite Cache Allocation Technology (CAT) test
       selftests/resctrl: Restore the CPU affinity after CAT test
       selftests/resctrl: Create struct for input parameters
       selftests/resctrl: Introduce generalized test framework
       selftests/resctrl: Pass write_schemata() resource instead of test name
       selftests/resctrl: Add helper to convert L2/3 to integer
       selftests/resctrl: Rename resource ID to domain ID
       selftests/resctrl: Get domain id from cache id
       selftests/resctrl: Add test groups and name L3 CAT test L3_CAT

Javier Carrasco (3):
       selftests: uevent: add missing gitignore
       selftests: thermal: intel: power_floor: add missing gitignore
       selftests: thermal: intel: workload_hint: add missing gitignore

Kousik Sanagavarapu (1):
       selftest/ftrace: fix typo in ftracetest script

Laura Nao (2):
       selftests: Move KTAP bash helpers to selftests common folder
       kselftest: Add basic test for probing the rust sample modules

Maciej Wieczor-Retman (4):
       selftests/resctrl: Add a helper for the non-contiguous test
       selftests/resctrl: Split validate_resctrl_feature_request()
       selftests/resctrl: Add resource_info_file_exists()
       selftests/resctrl: Add non-contiguous CBMs CAT test

Marcos Paulo de Souza (6):
       kselftests: lib.mk: Add TEST_GEN_MODS_DIR variable
       livepatch: Move tests from lib/livepatch to selftests/livepatch
       selftests: livepatch: Test livepatching a heavily called syscall
       selftests: livepatch: Add initial .gitignore
       selftests: livepatch: Avoid running the tests if kernel-devel is missing
       selftests: lib.mk: Do not process TEST_GEN_MODS_DIR

Mark Brown (1):
       selftests: fuxex: Report a unique test name per run of futex_requeue_pi

Naveen N Rao (1):
       selftests/ftrace: Add test to exercize function tracer across cpu hotplug

Nícolas F. R. A. Prado (5):
       selftests: ktap_helpers: Add helper to print diagnostic messages
       selftests: ktap_helpers: Add helper to pass/fail test based on exit code
       selftests: ktap_helpers: Add a helper to abort the test
       selftests: ktap_helpers: Add a helper to finish the test
       selftests: Add test to verify power supply properties

SeongJae Park (1):
       selftests/mqueue: Set timeout to 180 seconds

Vincenzo Mezzela (1):
       selftest: ftrace: fix minor typo in log

  Documentation/dev-tools/kselftest.rst              |   4 +
  MAINTAINERS                                        |   3 +-
  arch/s390/configs/debug_defconfig                  |   1 -
  arch/s390/configs/defconfig                        |   1 -
  lib/Kconfig.debug                                  |  22 --
  lib/Makefile                                       |   2 -
  lib/livepatch/Makefile                             |  14 -
  tools/testing/selftests/Makefile                   |   3 +
  tools/testing/selftests/dt/Makefile                |   2 +-
  .../testing/selftests/dt/test_unprobed_devices.sh  |   6 +-
  tools/testing/selftests/ftrace/ftracetest          |   2 +-
  .../ftrace/test.d/00basic/test_ownership.tc        |   2 +-
  .../selftests/ftrace/test.d/ftrace/func_hotplug.tc |  42 ++
  .../ftrace/test.d/trigger/trigger-hist-mod.tc      |   2 +-
  .../selftests/futex/functional/futex_requeue_pi.c  |  13 +-
  .../selftests/{dt => kselftest}/ktap_helpers.sh    |  45 ++-
  tools/testing/selftests/lib.mk                     |  23 +-
  tools/testing/selftests/livepatch/.gitignore       |   1 +
  tools/testing/selftests/livepatch/Makefile         |   5 +-
  tools/testing/selftests/livepatch/README           |  25 +-
  tools/testing/selftests/livepatch/config           |   1 -
  tools/testing/selftests/livepatch/functions.sh     |  47 ++-
  .../testing/selftests/livepatch/test-callbacks.sh  |  50 +--
  tools/testing/selftests/livepatch/test-ftrace.sh   |   6 +-
  .../testing/selftests/livepatch/test-livepatch.sh  |  10 +-
  .../selftests/livepatch/test-shadow-vars.sh        |   2 +-
  tools/testing/selftests/livepatch/test-state.sh    |  18 +-
  tools/testing/selftests/livepatch/test-syscall.sh  |  53 +++
  tools/testing/selftests/livepatch/test-sysfs.sh    |   6 +-
  .../selftests/livepatch/test_klp-call_getpid.c     |  44 +++
  .../selftests/livepatch/test_modules/Makefile      |  26 ++
  .../test_modules}/test_klp_atomic_replace.c        |   0
  .../test_modules}/test_klp_callbacks_busy.c        |   0
  .../test_modules}/test_klp_callbacks_demo.c        |   0
  .../test_modules}/test_klp_callbacks_demo2.c       |   0
  .../test_modules}/test_klp_callbacks_mod.c         |   0
  .../livepatch/test_modules}/test_klp_livepatch.c   |   0
  .../livepatch/test_modules}/test_klp_shadow_vars.c |   0
  .../livepatch/test_modules}/test_klp_state.c       |   0
  .../livepatch/test_modules}/test_klp_state2.c      |   0
  .../livepatch/test_modules}/test_klp_state3.c      |   0
  .../livepatch/test_modules/test_klp_syscall.c      | 116 ++++++
  tools/testing/selftests/mqueue/setting             |   1 +
  tools/testing/selftests/power_supply/Makefile      |   4 +
  tools/testing/selftests/power_supply/helpers.sh    | 178 +++++++++
  .../power_supply/test_power_supply_properties.sh   | 114 ++++++
  tools/testing/selftests/resctrl/cache.c            | 287 ++++----------
  tools/testing/selftests/resctrl/cat_test.c         | 421 +++++++++++++++------
  tools/testing/selftests/resctrl/cmt_test.c         |  80 +++-
  tools/testing/selftests/resctrl/fill_buf.c         | 132 +++----
  tools/testing/selftests/resctrl/mba_test.c         |  30 +-
  tools/testing/selftests/resctrl/mbm_test.c         |  34 +-
  tools/testing/selftests/resctrl/resctrl.h          | 145 +++++--
  tools/testing/selftests/resctrl/resctrl_tests.c    | 207 +++++-----
  tools/testing/selftests/resctrl/resctrl_val.c      | 138 ++++---
  tools/testing/selftests/resctrl/resctrlfs.c        | 405 ++++++++++++++------
  tools/testing/selftests/rust/Makefile              |   4 +
  tools/testing/selftests/rust/config                |   5 +
  tools/testing/selftests/rust/test_probe_samples.sh |  41 ++
  tools/testing/selftests/sched/cs_prctl_test.c      |   2 +-
  .../selftests/thermal/intel/power_floor/.gitignore |   1 +
  .../thermal/intel/workload_hint/.gitignore         |   1 +
  tools/testing/selftests/uevent/.gitignore          |   1 +
  63 files changed, 1945 insertions(+), 883 deletions(-)
  delete mode 100644 lib/livepatch/Makefile
  create mode 100644 tools/testing/selftests/ftrace/test.d/ftrace/func_hotplug.tc
  rename tools/testing/selftests/{dt => kselftest}/ktap_helpers.sh (66%)
  create mode 100644 tools/testing/selftests/livepatch/.gitignore
  create mode 100755 tools/testing/selftests/livepatch/test-syscall.sh
  create mode 100644 tools/testing/selftests/livepatch/test_klp-call_getpid.c
  create mode 100644 tools/testing/selftests/livepatch/test_modules/Makefile
  rename {lib/livepatch => tools/testing/selftests/livepatch/test_modules}/test_klp_atomic_replace.c (100%)
  rename {lib/livepatch => tools/testing/selftests/livepatch/test_modules}/test_klp_callbacks_busy.c (100%)
  rename {lib/livepatch => tools/testing/selftests/livepatch/test_modules}/test_klp_callbacks_demo.c (100%)
  rename {lib/livepatch => tools/testing/selftests/livepatch/test_modules}/test_klp_callbacks_demo2.c (100%)
  rename {lib/livepatch => tools/testing/selftests/livepatch/test_modules}/test_klp_callbacks_mod.c (100%)
  rename {lib/livepatch => tools/testing/selftests/livepatch/test_modules}/test_klp_livepatch.c (100%)
  rename {lib/livepatch => tools/testing/selftests/livepatch/test_modules}/test_klp_shadow_vars.c (100%)
  rename {lib/livepatch => tools/testing/selftests/livepatch/test_modules}/test_klp_state.c (100%)
  rename {lib/livepatch => tools/testing/selftests/livepatch/test_modules}/test_klp_state2.c (100%)
  rename {lib/livepatch => tools/testing/selftests/livepatch/test_modules}/test_klp_state3.c (100%)
  create mode 100644 tools/testing/selftests/livepatch/test_modules/test_klp_syscall.c
  create mode 100644 tools/testing/selftests/mqueue/setting
  create mode 100644 tools/testing/selftests/power_supply/Makefile
  create mode 100644 tools/testing/selftests/power_supply/helpers.sh
  create mode 100755 tools/testing/selftests/power_supply/test_power_supply_properties.sh
  create mode 100644 tools/testing/selftests/rust/Makefile
  create mode 100644 tools/testing/selftests/rust/config
  create mode 100755 tools/testing/selftests/rust/test_probe_samples.sh
  create mode 100644 tools/testing/selftests/thermal/intel/power_floor/.gitignore
  create mode 100644 tools/testing/selftests/thermal/intel/workload_hint/.gitignore
  create mode 100644 tools/testing/selftests/uevent/.gitignore
----------------------------------------------------------------
View attachment "linux_kselftest-next-6.9-rc1.diff" of type "text/x-patch" (152179 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ