[PATCH 1/2] lkdtm/bugs: Add cases for BUG and PANIC occurring in hardirq context
Catalin Marinas
catalin.marinas at arm.com
Wed Nov 19 09:54:14 PST 2025
On Wed, Nov 12, 2025 at 06:53:18PM +0100, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb at kernel.org>
>
> Add lkdtm cases to trigger a BUG() or panic() from hardirq context. This
> is useful for testing pstore behavior being invoked from such contexts.
>
> Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
> ---
> drivers/misc/lkdtm/bugs.c | 53 ++++++++++++++++++++
> 1 file changed, 53 insertions(+)
Kees, are you ok with this patch? Happy to take it through the arm64
tree together with the second one.
Thanks.
--
Catalin
More information about the linux-arm-kernel
mailing list