Re: [PATCH 2/2] watchdog: pretimeout: Convert dump pretimeout governor to tristate
From: Tzung-Bi Shih
Date: Sat Aug 01 2026 - 08:39:07 EST
On Thu, Jul 30, 2026 at 03:00:22PM -0700, Mayank Rungta via B4 Relay wrote:
> From: Mayank Rungta <mrungta@xxxxxxxxxx>
>
> Commit 645ad41da8b2 ("watchdog: pretimeout: Add "dump" pretimeout
FWIW: The hash might have changed due to a rebase.
> governor") added the "dump" watchdog pretimeout governor, but restricted
> it to built-in code because trigger_all_cpu_backtrace() was not exported
> to loadable modules.
>
> Now that CPU backtrace APIs are supported for loadable kernel modules
> via cpumask_backtrace(), convert WATCHDOG_PRETIMEOUT_GOV_DUMP to
> tristate. This allows kernels to deliver the pretimeout governor as a
> loadable kernel module.
>
> Signed-off-by: Mayank Rungta <mrungta@xxxxxxxxxx>
Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>