[PATCH v2 0/1] braille: nbcon: Fix Braille console for NBCON API

From: Petr Mladek

Date: Fri Sep 25 2026 - 10:18:02 EST


Hi,

this is v2 patch which tries to fix Braille console driver to work
with uart 8250 serial console driver after is has been converted into
NBCON API.

Changes against v1:

+ Merged into one patch. It is hard to explain nbcon_braille*()
API without the user.

+ Reworked the locking, see the commit message for more details.

+ Fixed the check of CON_NBCON_ATOMIC_UNSAFE [Sashiko]

IMPORTANT: The solution is not safe in PREEMPT_RT. But it is better
then nothing. We could either solve it in v3. Or we could
fix it later.

[v1] https://lore.kernel.org/r/20260922072558.98854-1-pmladek@xxxxxxxx

Petr Mladek (1):
braille: nbcon: Allow to use a serial console with NBCON API as
Braille console

.../accessibility/braille/braille_console.c | 43 ++++++++++++-
drivers/tty/serial/8250/8250_port.c | 5 +-
include/linux/console.h | 8 +++
kernel/printk/nbcon.c | 64 +++++++++++++++++++
4 files changed, 117 insertions(+), 3 deletions(-)

--
2.55.0