rv: Replace tss and sncid monitors with more complete sts
authorGabriele Monaco <gmonaco@redhat.com>
Mon, 28 Jul 2025 13:50:19 +0000 (15:50 +0200)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 28 Jul 2025 20:47:34 +0000 (16:47 -0400)
commitd0096c2f9cfcb4ce385698491604610fcc1a53b3
tree7d816e666ac7d4aff6b968447a715e7218017eeb
parentadcc3bfa8806761ac21aa271f78454113ec6936e
rv: Replace tss and sncid monitors with more complete sts

The tss monitor currently guarantees task switches can happen only while
scheduling, whereas the sncid monitor enforces scheduling occurs with
interrupt disabled.

Replace the monitors with a more comprehensive specification which
implies both but also ensures that:
* each scheduler call disable interrupts to switch
* each task switch happens with interrupts disabled

Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Nam Cao <namcao@linutronix.de>
Cc: Tomas Glozar <tglozar@redhat.com>
Cc: Juri Lelli <jlelli@redhat.com>
Cc: Clark Williams <williams@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/20250728135022.255578-8-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
19 files changed:
Documentation/trace/rv/monitor_sched.rst
kernel/trace/rv/Kconfig
kernel/trace/rv/Makefile
kernel/trace/rv/monitors/sncid/Kconfig [deleted file]
kernel/trace/rv/monitors/sncid/sncid.c [deleted file]
kernel/trace/rv/monitors/sncid/sncid.h [deleted file]
kernel/trace/rv/monitors/sncid/sncid_trace.h [deleted file]
kernel/trace/rv/monitors/sts/Kconfig [new file with mode: 0644]
kernel/trace/rv/monitors/sts/sts.c [new file with mode: 0644]
kernel/trace/rv/monitors/sts/sts.h [new file with mode: 0644]
kernel/trace/rv/monitors/sts/sts_trace.h [new file with mode: 0644]
kernel/trace/rv/monitors/tss/Kconfig [deleted file]
kernel/trace/rv/monitors/tss/tss.c [deleted file]
kernel/trace/rv/monitors/tss/tss.h [deleted file]
kernel/trace/rv/monitors/tss/tss_trace.h [deleted file]
kernel/trace/rv/rv_trace.h
tools/verification/models/sched/sncid.dot [deleted file]
tools/verification/models/sched/sts.dot [new file with mode: 0644]
tools/verification/models/sched/tss.dot [deleted file]