linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add HARDLOCKUP_DETECTOR_PERF support for RISC-V
@ 2025-10-09  3:28 Yunhui Cui
  2025-10-09  3:28 ` [PATCH v3 1/2] watchdog: move arm64 watchdog_hld into common code Yunhui Cui
  2025-10-09  3:28 ` [PATCH v3 2/2] riscv: add HARDLOCKUP_DETECTOR_PERF support Yunhui Cui
  0 siblings, 2 replies; 6+ messages in thread
From: Yunhui Cui @ 2025-10-09  3:28 UTC (permalink / raw)
  To: akpm, alex, anup, aou, atish.patra, catalin.marinas, cuiyunhui,
	dianders, johannes, lihuafei1, mark.rutland, masahiroy, maz,
	mingo, nicolas.schier, palmer, paul.walmsley, suzuki.poulose,
	thorsten.blum, wangjinchao600, will, yangyicong, zhanjie9,
	linux-arm-kernel, linux-kernel, linux-perf-users, linux-riscv

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.


v2->v3:
Add CONFIG_WATCHDOG_PERF_ADJUST_PERIOD to enclose the period update logic,
select it by default on arm64 and riscv, without affecting other arches
like x86 and PPC.

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

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

 arch/arm64/Kconfig               |  2 +
 arch/arm64/kernel/Makefile       |  1 -
 arch/arm64/kernel/watchdog_hld.c | 94 --------------------------------
 arch/riscv/Kconfig               |  4 ++
 drivers/perf/arm_pmu.c           | 10 +++-
 drivers/perf/riscv_pmu_sbi.c     | 10 ++++
 include/linux/perf/arm_pmu.h     |  2 -
 kernel/watchdog_perf.c           | 83 ++++++++++++++++++++++++++++
 lib/Kconfig.debug                |  8 +++
 9 files changed, 116 insertions(+), 98 deletions(-)
 delete mode 100644 arch/arm64/kernel/watchdog_hld.c

-- 
2.39.5


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-10-13 23:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-09  3:28 [PATCH v3 0/2] Add HARDLOCKUP_DETECTOR_PERF support for RISC-V Yunhui Cui
2025-10-09  3:28 ` [PATCH v3 1/2] watchdog: move arm64 watchdog_hld into common code Yunhui Cui
2025-10-13 22:34   ` Doug Anderson
2025-10-09  3:28 ` [PATCH v3 2/2] riscv: add HARDLOCKUP_DETECTOR_PERF support Yunhui Cui
2025-10-13 22:35   ` Doug Anderson
2025-10-13 23:09   ` Paul Walmsley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).