mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] rv changes for v6.19 (for-next)
@ 2025-11-11 12:24 Gabriele Monaco
  0 siblings, 0 replies; only message in thread
From: Gabriele Monaco @ 2025-11-11 12:24 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: linux-kernel, Gabriele Monaco, Thomas Weißschuh, Nam Cao

Steve,

The following changes since commit e9a6fb0bcdd7609be6969112f3fbfcce3b1d4a7c:

  Linux 6.18-rc5 (2025-11-09 15:10:19 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/gmonaco/linux.git rv-6.19-next

for you to fetch changes up to 69d8895cb9a9f6450374577af8584c2e21cb5a9f:

  rv: Add explicit lockdep context for reactors (2025-11-11 13:18:56 +0100)

----------------------------------------------------------------
Summary of changes:

* Adapt the ftracetest script to be run from a different folder, this
  uses the already existing OPT_TEST_DIR but extends it further to run
  independent tests, then add an --rv flag to allow using the script for
  testing RV (mostly) independently on ftrace.
* Add basic RV selftests in selftests/verification to validate things
  like available/enabled monitors and reactors. This could have caught
  the bug introducing kernel panic solved above. Tests use ftracetest.
* Convert react() function in reactor to use va_list directly and use a
  central helper to handle the variadic arguments. Clean up macros and
  mark functions as static.
* Add lockdep annotations to reactors to have lockdep complain if they
  are called from improper context. Useful to develop new reactors. This
  highlights a warning in the panic reactor that is related to the
  printk subsystem and not to RV.

----------------------------------------------------------------
Gabriele Monaco (2):
      selftest/ftrace: Generalise ftracetest to use with RV
      selftests/verification: Add initial RV tests

Thomas Weißschuh (3):
      rv: Pass va_list to reactors
      rv: Make rv_reacting_on() static
      rv: Add explicit lockdep context for reactors

 MAINTAINERS                                        |  1 +
 include/linux/rv.h                                 | 11 ++--
 include/rv/da_monitor.h                            | 35 +++-------
 include/rv/ltl_monitor.h                           | 18 ++----
 kernel/trace/rv/reactor_panic.c                    |  6 +-
 kernel/trace/rv/reactor_printk.c                   |  6 +-
 kernel/trace/rv/rv_reactors.c                      | 22 ++++++-
 tools/testing/selftests/ftrace/ftracetest          | 34 +++++++---
 .../ftrace/test.d/00basic/mount_options.tc         |  2 +-
 tools/testing/selftests/ftrace/test.d/functions    |  6 +-
 tools/testing/selftests/verification/.gitignore    |  2 +
 tools/testing/selftests/verification/Makefile      |  8 +++
 tools/testing/selftests/verification/config        |  1 +
 tools/testing/selftests/verification/settings      |  1 +
 .../selftests/verification/test.d/functions        | 39 +++++++++++
 .../test.d/rv_monitor_enable_disable.tc            | 75 ++++++++++++++++++++++
 .../verification/test.d/rv_monitor_reactor.tc      | 68 ++++++++++++++++++++
 .../verification/test.d/rv_monitors_available.tc   | 18 ++++++
 .../verification/test.d/rv_wwnr_printk.tc          | 30 +++++++++
 .../selftests/verification/verificationtest-ktap   |  8 +++
 20 files changed, 322 insertions(+), 69 deletions(-)
 create mode 100644 tools/testing/selftests/verification/.gitignore
 create mode 100644 tools/testing/selftests/verification/Makefile
 create mode 100644 tools/testing/selftests/verification/config
 create mode 100644 tools/testing/selftests/verification/settings
 create mode 100644 tools/testing/selftests/verification/test.d/functions
 create mode 100644 tools/testing/selftests/verification/test.d/rv_monitor_enable_disable.tc
 create mode 100644 tools/testing/selftests/verification/test.d/rv_monitor_reactor.tc
 create mode 100644 tools/testing/selftests/verification/test.d/rv_monitors_available.tc
 create mode 100644 tools/testing/selftests/verification/test.d/rv_wwnr_printk.tc
 create mode 100755 tools/testing/selftests/verification/verificationtest-ktap

Cc: Gabriele Monaco <gmonaco@redhat.com>
Cc: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Cc: Nam Cao <namcao@linutronix.de>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-11-11 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-11 12:24 [GIT PULL] rv changes for v6.19 (for-next) Gabriele Monaco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®