Thread (5 messages) 5 messages, 2 authors, 2024-10-21

Re: [PATCH] powerpc/crash: Allow direct printing on kexec

From: Ryo Takakura <hidden>
Date: 2024-10-21 14:44:09
Also in: lkml

On 2024-10-21, John Ogness [off-list ref] wrote:
On 2024-10-21, Ryo Takakura [off-list ref] wrote:
quoted
quoted
Rather than removing the deferring, it would be better to convert the
console you are using to the new NBCON API. Then it would be able to
print direct and safe during panic. (printk_deferred does not affect
NBCON consoles.) What console driver are you using that you want to
see the messages on?
I was working on qemu ppc64 this time but I am usually working on 
Raspberry Pi 4 (mostly for fun and study) which uses either of 
bcm2835-aux-uart or amba-pl011. It would be really nice to see them 
working as nbcon!
I am thinking of taking a look at [0] but If there were any other 
references, I would really like to look into as well.

[0] https://lore.kernel.org/lkml/87wn3zsz5x.fsf@jogness.linutronix.de/ (local)
The lastest version of the series is here [1]. The series is still
undergoing revisions, however the changes are 8250-specific. The API for
nbcon consoles is already available since 6.12-rc1. You are certainly
welcome to try to convert one of those Raspi 4 drivers to the nbcon
interface. I would be happy to review it.
Thanks for sharing!
I will take a look at it and definitley give a try!
John Ogness
Sincerely,
Ryo Takakura
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help