From: Paul E. McKenney Date: Fri, 4 Sep 2020 18:54:52 +0000 (-0700) Subject: Merge branch 'csd.2020.09.04a' into HEAD X-Git-Tag: v5.15~2632^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6fe208f63a79f4f726f3be2b78ea3dd40487b657;p=platform%2Fkernel%2Flinux-starfive.git Merge branch 'csd.2020.09.04a' into HEAD csd.2020.09.04a: CPU smp_call_function() torture tests. --- 6fe208f63a79f4f726f3be2b78ea3dd40487b657 diff --cc lib/Kconfig.debug index 0c3a6c752ede,86a35fdfe021..4ac6f61b9475 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@@ -1367,16 -1367,17 +1367,27 @@@ config WW_MUTEX_SELFTES Say M if you want these self tests to build as a module. Say N if you are unsure. +config SCF_TORTURE_TEST + tristate "torture tests for smp_call_function*()" + depends on DEBUG_KERNEL + select TORTURE_TEST + help + This option provides a kernel module that runs torture tests + on the smp_call_function() family of primitives. The kernel + module may be built after the fact on the running kernel to + be tested, if desired. + + config CSD_LOCK_WAIT_DEBUG + bool "Debugging for csd_lock_wait(), called from smp_call_function*()" + depends on DEBUG_KERNEL + depends on 64BIT + default n + help + This option enables debug prints when CPUs are slow to respond + to the smp_call_function*() IPI wrappers. These debug prints + include the IPI handler function currently executing (if any) + and relevant stack traces. + endmenu # lock debugging config TRACE_IRQFLAGS