2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/arch/x86/kernel/apic
Aaron Tomlin f3aca3d095 nmi: provide the option to issue an NMI back trace to every cpu but current
Sometimes it is preferred not to use the trigger_all_cpu_backtrace()
routine when one wants to avoid capturing a back trace for current.  For
instance if one was previously captured recently.

This patch provides a new routine namely
trigger_allbutself_cpu_backtrace() which offers the flexibility to issue
an NMI to every cpu but current and capture a back trace accordingly.

Patch x86 and sparc to support new routine.

[dzickus@redhat.com: add stub in #else clause]
[dzickus@redhat.com: don't print message in single processor case, wrap with get/put_cpu based on Oleg's suggestion]
[sfr@canb.auug.org.au: undo C99ism]
Signed-off-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Mateusz Guzik <mguzik@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-06-23 16:47:44 -07:00
..
apic_flat_64.c x86/apic: Switch wait_for_init_deassert() to a bool flag 2014-02-09 15:15:08 +01:00
apic_noop.c x86/apic: Switch wait_for_init_deassert() to a bool flag 2014-02-09 15:15:08 +01:00
apic_numachip.c x86/apic: Switch wait_for_init_deassert() to a bool flag 2014-02-09 15:15:08 +01:00
apic.c Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-04-11 11:58:33 -07:00
bigsmp_32.c x86/apic: Switch wait_for_init_deassert() to a bool flag 2014-02-09 15:15:08 +01:00
hw_nmi.c nmi: provide the option to issue an NMI back trace to every cpu but current 2014-06-23 16:47:44 -07:00
io_apic.c Merge branch 'x86-irq-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-06-12 20:03:47 -07:00
ipi.c x86: Delete non-required instances of include <linux/init.h> 2014-01-06 21:25:18 -08:00
Makefile x86, platforms: Remove NUMAQ 2014-02-27 08:07:39 -08:00
probe_32.c x86/apic: Switch wait_for_init_deassert() to a bool flag 2014-02-09 15:15:08 +01:00
probe_64.c x86/platform: Introduce APIC post-initialization callback 2012-06-06 09:06:19 +02:00
x2apic_cluster.c x86/apic: Switch wait_for_init_deassert() to a bool flag 2014-02-09 15:15:08 +01:00
x2apic_phys.c x86/apic: Switch wait_for_init_deassert() to a bool flag 2014-02-09 15:15:08 +01:00
x2apic_uv_x.c x86/UV: Set n_lshift based on GAM_GR_CONFIG MMR for UV3 2014-04-01 12:10:44 +02:00