Re: [PATCH v2] lkdtm/bugs: add test for hung smp_call_function_single()
From: Kees Cook
Date: Mon Jun 17 2024 - 14:40:12 EST
On Wed, 15 May 2024 13:08:28 +0100, Mark Rutland wrote:
> The CONFIG_CSD_LOCK_WAIT_DEBUG option enables debugging of hung
> smp_call_function*() calls (e.g. when the target CPU gets stuck within
> the callback function). Testing this option requires triggering such
> hangs.
>
> This patch adds an lkdtm test with a hung smp_call_function_single()
> callback, which can be used to test CONFIG_CSD_LOCK_WAIT_DEBUG and NMI
> backtraces (as CONFIG_CSD_LOCK_WAIT_DEBUG will attempt an NMI backtrace
> of the hung target CPU).
>
> [...]
Applied to for-next/hardening, thanks!
[1/1] lkdtm/bugs: add test for hung smp_call_function_single()
https://git.kernel.org/kees/c/51005a59bcbe
Take care,
--
Kees Cook