[PATCH v4 0/4] Modify die() for MIPS

From: Tiezhu Yang
Date: Sat Aug 19 2023 - 04:36:35 EST


v4:
-- Add BUG() at the end of nmi_exception_handler()
-- Return earlier in die() if notify_die() returns NOTIFY_STOP
-- Update the patch titles and commit messages

v3:
-- Make each patch can be built without errors and warnings.

v2:
-- Update the commit message to give more detailed info, split into
three individual patches, suggested by Maciej, thank you.

Tiezhu Yang (4):
MIPS: Add BUG() at the end of nmi_exception_handler()
MIPS: Do not kill the task in die() if notify_die() returns
NOTIFY_STOP
MIPS: Return earlier in die() if notify_die() returns NOTIFY_STOP
MIPS: Add identifier names to arguments of die() declaration

arch/mips/include/asm/ptrace.h | 2 +-
arch/mips/kernel/traps.c | 15 +++++++++------
2 files changed, 10 insertions(+), 7 deletions(-)

--
2.1.0