linux_dsm_epyc7002/arch/alpha/kernel
Dmitry Safonov 8c49a90987 alpha: add show_stack_loglvl()
Currently, the log-level of show_stack() depends on a platform
realization.  It creates situations where the headers are printed with
lower log level or higher than the stacktrace (depending on a platform or
user).

Furthermore, it forces the logic decision from user to an architecture
side.  In result, some users as sysrq/kdb/etc are doing tricks with
temporary rising console_loglevel while printing their messages.  And in
result it not only may print unwanted messages from other CPUs, but also
omit printing at all in the unlucky case where the printk() was deferred.

Introducing log-level parameter and KERN_UNSUPPRESSED [1] seems an easier
approach than introducing more printk buffers.  Also, it will consolidate
printings with headers.

Introduce show_stack_loglvl(), that eventually will substitute
show_stack().

[1]: https://lore.kernel.org/lkml/20190528002412.1625-1-dima@arista.com/T/#u

Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Richard Henderson <rth@twiddle.net>
Link: http://lkml.kernel.org/r/20200418201944.482088-3-dima@arista.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-06-09 09:39:10 -07:00
..
syscalls vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
asm-offsets.c
audit.c
binfmt_loader.c exec: Remove recursion from search_binary_handler 2020-05-21 10:16:57 -05:00
bugs.c
console.c
core_apecs.c
core_cia.c
core_irongate.c
core_lca.c
core_marvel.c
core_mcpcia.c
core_polaris.c
core_t2.c
core_titan.c
core_tsunami.c
core_wildfire.c
entry.S
err_common.c
err_ev6.c
err_ev7.c
err_impl.h
err_marvel.c
err_titan.c
es1888.c
gct.c
head.S
io.c
irq_alpha.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
irq_i8259.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
irq_impl.h alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
irq_pyxis.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
irq_srm.c
irq.c
machvec_impl.h
Makefile
module.c
osf_sys.c
pc873xx.c
pc873xx.h
pci_impl.h
pci_iommu.c
pci-noop.c
pci-sysfs.c
pci.c
perf_event.c
process.c
proto.h
ptrace.c
rtc.c
setup.c alpha: constify sysrq_key_op 2020-05-15 14:53:19 +02:00
signal.c
smc37c93x.c
smc37c669.c
smp.c mm: rename flush_icache_user_range to flush_icache_user_page 2020-06-08 11:05:58 -07:00
srm_env.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
srmcons.c
sys_alcor.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
sys_cabriolet.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
sys_dp264.c
sys_eb64p.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
sys_eiger.c
sys_jensen.c
sys_marvel.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
sys_miata.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
sys_mikasa.c
sys_nautilus.c alpha: Fix nautilus PCI setup 2020-03-30 09:52:35 -05:00
sys_noritake.c
sys_rawhide.c
sys_ruffian.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
sys_rx164.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
sys_sable.c
sys_sio.c
sys_sx164.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
sys_takara.c
sys_titan.c
sys_wildfire.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
systbls.S
time.c alpha: Replace setup_irq() by request_irq() 2020-03-29 21:03:41 +02:00
traps.c alpha: add show_stack_loglvl() 2020-06-09 09:39:10 -07:00
vmlinux.lds.S