lkml.org 
[lkml]   [2022]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/1] tty: serial: samsung: add spin_lock in console_write
Date
When console and printk log are printed at the same time,
they are called through tty driver and console driver concurrently.
In this case, this could lead to potintial issue that
data loss or fifo full.

This issue also occurred with other drivers and has been fixed.
"serial: amba-pl011: lock console writes against interrupts"


Jaewon Kim (1):
tty: serial: samsung: add spin_lock for interrupt and console_write

drivers/tty/serial/samsung_tty.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)

--
2.35.1

\
 
 \ /
  Last update: 2022-09-17 16:19    [W:0.137 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site