docs: irqflags-tracing: Fix the lockdep Kconfig option names
PATCH 1/1 docs: irqflags-tracing: Fix the lockdep Kconfig option names
CONFIG_PROVE_SPIN_LOCKING, CONFIG_PROVE_RW_LOCKING, CONFIG_PROVE_MUTEX_LOCKING and CONFIG_PROVE_RWSEM_LOCKING have never existed in mainline. Lock proving was merged as the single CONFIG_PROVE_LOCKING, which has depended on CONFIG_TRACE_IRQFLAGS_SUPPORT from the start, so there is no reduced set of options without it.
--- Documentation/core-api/irq/irqflags-tracing.rst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
Documentation/core-api/irq/irqflags-tracing.rst +2 -6
@@ -9,12 +9,8 @@ that it gives interested subsystems an opportunity to be notified of every hardirqs-off/hardirqs-on, softirqs-off/softirqs-on event that happens in the kernel. -CONFIG_TRACE_IRQFLAGS_SUPPORT is needed for CONFIG_PROVE_SPIN_LOCKING -and CONFIG_PROVE_RW_LOCKING to be offered by the generic lock debugging -code. Otherwise only CONFIG_PROVE_MUTEX_LOCKING and -CONFIG_PROVE_RWSEM_LOCKING will be offered on an architecture - these -are locking APIs that are not used in IRQ context. (the one exception -for rwsems is worked around) +CONFIG_TRACE_IRQFLAGS_SUPPORT is needed for CONFIG_PROVE_LOCKING to be +offered by the generic lock debugging code. Architecture support for this is certainly not in the "trivial" category, because lots of lowlevel assembly code deal with irq-flags
Signature · 1 line
2.53.0
Quoted 19 lines · Karl Mehltretter
CONFIG_PROVE_SPIN_LOCKING,CONFIG_PROVE_RW_LOCKING,CONFIG_PROVE_MUTEX_LOCKINGandCONFIG_PROVE_RWSEM_LOCKINGhave never existed in mainline. Lock proving was merged as the singleCONFIG_PROVE_LOCKING, which has depended onCONFIG_TRACE_IRQFLAGS_SUPPORTfrom the start, so there is no reduced set of options without it.Fixes 55df314fbdb4 ("[PATCH] lockdep: irqtrace subsystem, docs")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>--- Documentation/core-api/irq/irqflags-tracing.rst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)Documentation/core-api/irq/irqflags-tracing.rst +0
-0@@ -9,12 +9,8 @@ that it gives interested subsystems an opportunity to be notified of every hardirqs-off/hardirqs-on, softirqs-off/softirqs-on event that
Documentation/core-api/irq/irqflags-tracing.rst that it gives interested subsystems an opportunity to be notified of · line 13
Quoted 10 lines
Documentation/core-api/irq/irqflags-tracing.rst +2
-6happens in the kernel. -CONFIG_TRACE_IRQFLAGS_SUPPORT is needed for CONFIG_PROVE_SPIN_LOCKING -and CONFIG_PROVE_RW_LOCKING to be offered by the generic lock debugging -code. Otherwise only CONFIG_PROVE_MUTEX_LOCKING and -CONFIG_PROVE_RWSEM_LOCKING will be offered on an architecture - these -are locking APIs that are not used in IRQ context. (the one exception -for rwsems is worked around) +CONFIG_TRACE_IRQFLAGS_SUPPORT is needed for CONFIG_PROVE_LOCKING to be +offered by the generic lock debugging code.
Applied, thanks.
jon