[PATCH 0/2] Add HARDLOCKUP_DETECTOR_PERF for riscv

Yunhui Cui posted 2 patches 1 month, 1 week ago
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%)
[PATCH 0/2] Add HARDLOCKUP_DETECTOR_PERF for riscv
Posted by Yunhui Cui 1 month, 1 week ago
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