[PATCH 0/2] Add HARDLOCKUP_DETECTOR_PERF for riscv
Yunhui Cui
cuiyunhui at bytedance.com
Wed Aug 27 03:09:57 PDT 2025
This patchset is mainly based on RISCV_SSE, and the enabling of the
hardlockup perf feature depends on RISCV_PMU_SSE.
Link: https://lore.kernel.org/all/20250808153901.2477005-1-cleger@rivosinc.com/
patch[1]: Move watchdog_hld.c to kernel/ to facilitate reuse by RISC-V.
patch[2]: Add Kconfig selections for RISC-V.
Yunhui Cui (2):
watchdog: refactor watchdog_hld functionality
riscv: add HARDLOCKUP_DETECTOR_PERF support
arch/arm64/kernel/Makefile | 1 -
arch/riscv/Kconfig | 3 +++
drivers/perf/arm_pmu.c | 2 +-
drivers/perf/riscv_pmu_sbi.c | 8 ++++++++
include/linux/nmi.h | 1 +
include/linux/perf/arm_pmu.h | 2 --
kernel/Makefile | 2 +-
{arch/arm64/kernel => kernel}/watchdog_hld.c | 8 ++++++--
8 files changed, 20 insertions(+), 7 deletions(-)
rename {arch/arm64/kernel => kernel}/watchdog_hld.c (97%)
--
2.39.5
More information about the linux-riscv
mailing list