OpenCloudOS-Kernel/arch/ia64
Dmitry Safonov ffdac29e40 ia64: 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: Fenghua Yu <fenghua.yu@intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/20200418201944.482088-17-dima@arista.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-06-09 09:39:11 -07:00
..
configs Char/Misc driver patches for 5.7-rc1 2020-04-03 13:22:40 -07:00
hp/common dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
include ia64: pass log level as arg into ia64_do_show_stack() 2020-06-09 09:39:11 -07:00
kernel ia64: add show_stack_loglvl() 2020-06-09 09:39:11 -07:00
lib fix a braino in ia64 uaccess csum changes 2020-06-03 16:18:09 -04:00
mm ia64: add support for folded p4d page tables 2020-06-04 19:06:21 -07:00
oprofile
pci ia64: remove support for machvecs 2019-08-16 14:32:26 -07:00
scripts
uv ia64: remove support for machvecs 2019-08-16 14:32:26 -07:00
Kconfig mm: remove CONFIG_HAVE_MEMBLOCK_NODE_MAP option 2020-06-03 20:09:43 -07:00
Kconfig.debug ia64: remove support for machvecs 2019-08-16 14:32:26 -07:00
Makefile kbuild: add variables for compression tools 2020-06-06 23:42:01 +09:00
install.sh
module.lds