coresight: cpu-debug: PC sampling via PMPCSR (FEAT_PCSRv8p2)?
Igor Velkov
iav at iav.lv
Tue Nov 17 10:50:00 PST 2026
On Tue, Nov 17, 2026 at 06:32:41PM +0000, Leo Yan wrote:
> Could we explore a hook in the CPU hard lockup detector? Seems this
> module is more relevant to hard lockup rather than panic.
Yes, that fits better. The hard lockup detector reports a CPU that
missed its watchdog hrtimer interrupts, so it runs with IRQs masked and
is not in an idle powerdown. The backtrace request then names the CPUs
that did not answer ("these CPUS still haven't responded"). I would
sample PCSR only for those, from a hook at that point, and leave the
panic notifier alone. Does that sound right?
Thanks,
Igor
More information about the linux-arm-kernel
mailing list