On Tue, Oct 14, 2014 at 04:37:51PM -0600, Daniel Drake wrote:
Hi,
Thanks a lot for working on this!
On Wed, Sep 17, 2014 at 10:10 AM, Daniel Thompson daniel.thompson@linaro.org wrote:
Changes *before* v1:
- This patchset is a hugely cut-down successor to "[PATCH v11 00/19] arm: KGDB NMI/FIQ support". Thanks to Thomas Gleixner for suggesting the new structure. For historic details see: https://lkml.org/lkml/2014/9/2/227
What's the right way to extend your work in order to get a NMI-like watchdog hard lockup detector similar to the one on x86?
I'm testing your patches on Exynos4412 and I guess in their current state they don't go quite this deep, as the only callers of trigger_all_cpu_backtrace() are sysrq, hung_task and spinlock debug code - none of which seem as fail-safe as a trigger like a pre-programmed watchdog NMI interrupt would be.
Do I need to find a way to get CONFIG_FIQ available on this platform first? and/or CONFIG_HARDLOCKUP_DETECTOR?
The blocker on this work right now is the annoying Versatile Express platform, which pretty much means that we currently can't push the code into the GIC to support FIQs. As long as adding FIQ support to the GIC results in the Versatile Express becoming non-bootable, the idea of using FIQs is a total non-starter.
Or we decide that we dump the platform completely (which will upset a number of developers.)
I have patches I'm using for trigger_all_cpu_backtrace() which I'm maintaining privately in my tree until we can get the FIQ situation sorted.