Christophe Leroy
97d73f7237
powerpc/xmon: Change printk() to pr_cont()
commit 7c6c86b36a36dd4a13d30bba07718e767aa2e7a1 upstream.
Since some time now, printk() adds carriage return, leading to
unusable xmon output if there is no udbg backend available:
[ 54.288722] sysrq: Entering xmon
[ 54.292209] Vector: 0 at [cace3d2c]
[ 54.292274] pc:
[ 54.292331] c0023650
[ 54.292468] : xmon+0x28/0x58
[ 54.292519]
[ 54.292574] lr:
[ 54.292630] c0023724
[ 54.292749] : sysrq_handle_xmon+0xa4/0xfc
[ 54.292801]
[ 54.292867] sp: cace3de8
[ 54.292931] msr: 9032
[ 54.292999] current = 0xc28d0000
[ 54.293072] pid = 377, comm = sh
[ 54.293157] Linux version 5.10.0-rc6-s3k-dev-01364-gedf13f0ccd76-dirty (root@po17688vm.idsi0.si.c-s.fr) (powerpc64-linux-gcc (GCC) 10.1.0, GNU ld (GNU Binutils) 2.34) #4211 PREEMPT Fri Dec 4 09:32:11 UTC 2020
[ 54.293287] enter ? for help
[ 54.293470] [cace3de8]
[ 54.293532] c0023724
[ 54.293654] sysrq_handle_xmon+0xa4/0xfc
[ 54.293711] (unreliable)
...
[ 54.296002]
[ 54.296159] --- Exception: c01 (System Call) at
[ 54.296217] 0fd4e784
[ 54.296303]
[ 54.296375] SP (7fca6ff0) is in userspace
[ 54.296431] mon>
[ 54.296484] <no input ...>
Use pr_cont() instead.
Fixes: 4bcc595ccd ("printk: reinstate KERN_CONT for printing continuation lines")
Cc: stable@vger.kernel.org # v4.9+
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[mpe: Mention that it only happens when udbg is not available]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c8a6ec704416ecd5ff2bd26213c9bc026bdd19de.1607077340.git.christophe.leroy@csgroup.eu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
2020-12-29 13:45:05 +01:00 |
| .. |
|
alpha
|
alpha: fix annotation of io{read,write}{16,32}be()
|
2020-08-26 10:29:05 +02:00 |
|
arc
|
ARC: stack unwinding: don't assume non-current task is sleeping
|
2020-12-29 13:44:47 +01:00 |
|
arm
|
ARM: dts: at91: at91sam9rl: fix ADC triggers
|
2020-12-29 13:44:57 +01:00 |
|
arm64
|
KVM: arm64: Introduce handling of AArch32 TTBCR2 traps
|
2020-12-29 13:45:05 +01:00 |
|
avr32
|
|
|
|
blackfin
|
pinctrl: adi2: Fix Kconfig build problem
|
2017-12-20 10:07:32 +01:00 |
|
c6x
|
c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
|
2017-03-31 10:31:46 +02:00 |
|
cris
|
|
|
|
frv
|
futex: Remove duplicated code and fix undefined behaviour
|
2018-05-19 10:27:00 +02:00 |
|
h8300
|
h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux-
|
2019-04-05 22:29:05 +02:00 |
|
hexagon
|
hexagon: work around compiler crash
|
2020-01-23 08:19:38 +01:00 |
|
ia64
|
ia64: fix build error with !COREDUMP
|
2020-11-10 10:23:59 +01:00 |
|
m32r
|
|
|
|
m68k
|
m68k: q40: Fix info-leak in rtc_ioctl
|
2020-10-01 20:40:01 +02:00 |
|
metag
|
metag/uaccess: Check access_ok in strncpy_from_user
|
2017-05-25 15:44:46 +02:00 |
|
microblaze
|
microblaze: Prevent the overflow of the start
|
2020-02-28 15:42:42 +01:00 |
|
mips
|
MIPS: BCM47XX: fix kconfig dependency bug for BCM47XX_BCMA
|
2020-12-29 13:44:54 +01:00 |
|
mn10300
|
mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy
|
2018-02-17 13:21:20 +01:00 |
|
nios2
|
nios2: ksyms: Add missing symbol exports
|
2020-01-29 10:24:18 +01:00 |
|
openrisc
|
openrisc: Fix issue with argument clobbering for clone/fork
|
2020-06-30 15:38:28 -04:00 |
|
parisc
|
parisc: add support for cmpxchg on u8 pointers
|
2020-08-21 11:01:51 +02:00 |
|
powerpc
|
powerpc/xmon: Change printk() to pr_cont()
|
2020-12-29 13:45:05 +01:00 |
|
s390
|
s390/cpum_sf.c: fix file permission for cpum_sfb_size
|
2020-11-24 13:03:10 +01:00 |
|
score
|
|
|
|
sh
|
sh: landisk: Add missing initialization of sh_io_port_base
|
2020-08-21 11:02:11 +02:00 |
|
sparc
|
sparc64: remove mm_cpumask clearing to fix kthread_use_mm race
|
2020-11-10 10:23:52 +01:00 |
|
tile
|
locking/x86: Remove the unused atomic_inc_short() methd
|
2020-01-12 11:24:19 +01:00 |
|
um
|
um: chan_xterm: Fix fd leak
|
2020-12-29 13:45:00 +01:00 |
|
unicore32
|
|
|
|
x86
|
x86/kprobes: Restore BTF if the single-stepping is cancelled
|
2020-12-29 13:45:00 +01:00 |
|
xtensa
|
xtensa: disable preemption around cache alias management calls
|
2020-11-24 13:03:08 +01:00 |
|
.gitignore
|
|
|
|
Kconfig
|
cpu/hotplug: Provide knobs to control SMT
|
2018-08-15 18:14:46 +02:00 |