Merge branch 'nmi' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
Pull NMI backtrace update from Russell King: "These changes convert the x86 NMI handling to be a library implementation which other architectures can make use of. Thomas Gleixner has reviewed and tested these changes, and wishes me to send these rather than taking them through the tip tree. The final patch in the set adds an initial implementation using this infrastructure to ARM, even though it doesn't send the IPI at "NMI" level. Patches are in progress to add the ARM equivalent of NMI, but we still need the IRQ-level fallback for systems where the "NMI" isn't available due to secure firmware denying access to it" * 'nmi' of git://ftp.arm.linux.org.uk/~rmk/linux-arm: ARM: add basic support for on-demand backtrace of other CPUs nmi: x86: convert to generic nmi handler nmi: create generic NMI backtrace implementation
This commit is contained in:
@@ -47,6 +47,12 @@ static inline bool trigger_allbutself_cpu_backtrace(void)
|
||||
arch_trigger_all_cpu_backtrace(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
/* generic implementation */
|
||||
void nmi_trigger_all_cpu_backtrace(bool include_self,
|
||||
void (*raise)(cpumask_t *mask));
|
||||
bool nmi_cpu_backtrace(struct pt_regs *regs);
|
||||
|
||||
#else
|
||||
static inline bool trigger_all_cpu_backtrace(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user