linux_dsm_epyc7002/arch/frv/kernel
Chris Metcalf 6727ad9e20 nmi_backtrace: generate one-line reports for idle cpus
When doing an nmi backtrace of many cores, most of which are idle, the
output is a little overwhelming and very uninformative.  Suppress
messages for cpus that are idling when they are interrupted and just
emit one line, "NMI backtrace for N skipped: idling at pc 0xNNN".

We do this by grouping all the cpuidle code together into a new
.cpuidle.text section, and then checking the address of the interrupted
PC to see if it lies within that section.

This commit suitably tags x86 and tile idle routines, and only adds in
the minimal framework for other architectures.

Link: http://lkml.kernel.org/r/1472487169-14923-5-git-send-email-cmetcalf@mellanox.com
Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Daniel Thompson <daniel.thompson@linaro.org> [arm]
Tested-by: Petr Mladek <pmladek@suse.com>
Cc: Aaron Tomlin <atomlin@redhat.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-10-07 18:46:30 -07:00
..
asm-offsets.c frv: Remove signal translation and exec_domain 2015-04-12 20:58:24 +02:00
break.S
cmode.S
debug-stub.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
dma.c frv: Rewrite atomic implementation 2015-07-27 14:06:23 +02:00
entry-table.S Fix common misspellings 2011-03-31 11:26:23 -03:00
entry.S frv: fix the broken preempt 2012-11-02 12:08:25 -04:00
frv_ksyms.c frv: Rewrite atomic implementation 2015-07-27 14:06:23 +02:00
futex.c futex: Sanitize futex ops argument types 2011-03-11 12:23:31 +01:00
gdb-io.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
gdb-io.h
gdb-stub.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
head-mmu-fr451.S
head-uc-fr401.S
head-uc-fr451.S
head-uc-fr555.S
head.inc
head.S frv: head.S - Remove commented-out initialization code 2013-06-16 13:47:47 +02:00
irq-mb93091.c frv: remove deprecated IRQF_DISABLED 2014-10-09 22:26:03 -04:00
irq-mb93093.c frv: remove deprecated IRQF_DISABLED 2014-10-09 22:26:03 -04:00
irq-mb93493.c frv: remove deprecated IRQF_DISABLED 2014-10-09 22:26:03 -04:00
irq.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
local64.h
local.h
Makefile frv: switch to generic kernel_execve 2012-10-01 00:53:11 -04:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
pm-mb93093.c
pm.c frv: Convert use of typedef ctl_table to struct ctl_table 2013-06-14 11:56:07 +02:00
process.c frv: Use generic idle loop 2013-04-08 17:39:25 +02:00
ptrace.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
setup.c frv: remove unused cpuinfo_frv and friends to fix future build error 2014-10-09 22:26:03 -04:00
signal.c Merge branch 'exec_domain_rip_v2' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/misc 2015-04-15 13:53:55 -07:00
sleep.S
switch_to.S
sys_frv.c
sysctl.c frv: Convert use of typedef ctl_table to struct ctl_table 2013-06-14 11:56:07 +02:00
time.c frv: remove deprecated IRQF_DISABLED 2014-10-09 22:26:03 -04:00
traps.c arch/frv/kernel/traps.c: using vsnprintf() instead of vsprintf() 2013-07-03 16:07:41 -07:00
uaccess.c
vmlinux.lds.S nmi_backtrace: generate one-line reports for idle cpus 2016-10-07 18:46:30 -07:00