[PATCH v2 0/2] Add HARDLOCKUP_DETECTOR_PERF support for RISC-V

From: Yunhui Cui
Date: Thu Sep 25 2025 - 04:48:33 EST


After discussion [1],[2], hardlockup_perf cannot be completely replaced by
the hardlockup_buddy approach, so this patch is still being submitted.

v1->v2:
The contents of arch/arm64/watchdog_hld.c are directly consolidated into
kernel/watchdog_perf.c.

Link: https://lore.kernel.org/all/CAD=FV=UEhVCD6JehQi1wor2sSmtTLDyf=37xfo-DOTK1=u1xzA@xxxxxxxxxxxxxx/ [1]
Link: https://lore.kernel.org/all/20250916145122.416128-1-wangjinchao600@xxxxxxxxx/ [2]

Yunhui Cui (2):
watchdog: move arm64 watchdog_hld into common code
riscv: add HARDLOCKUP_DETECTOR_PERF support

arch/arm64/kernel/Makefile | 1 -
arch/arm64/kernel/watchdog_hld.c | 94 --------------------------------
arch/riscv/Kconfig | 3 +
drivers/perf/arm_pmu.c | 5 +-
drivers/perf/riscv_pmu_sbi.c | 10 ++++
include/linux/perf/arm_pmu.h | 2 -
kernel/watchdog_perf.c | 81 +++++++++++++++++++++++++++
7 files changed, 98 insertions(+), 98 deletions(-)
delete mode 100644 arch/arm64/kernel/watchdog_hld.c

--
2.39.5