Files
linux/drivers/tty
John Ogness cd295032da serial: msm_serial: disable interrupts in __msm_console_write()
[ Upstream commit aabdbb1b7a ]

__msm_console_write() assumes that interrupts are disabled, but
with threaded console printers it is possible that the write()
callback of the console is called with interrupts enabled.

Explicitly disable interrupts using local_irq_save() to preserve
the assumed context.

Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Link: https://lore.kernel.org/r/20220506213324.470461-1-john.ogness@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-29 09:26:24 +09:00
..
2023-06-29 09:26:13 +09:00
2023-05-15 17:23:37 +09:00
2023-05-15 17:01:29 +09:00
2016-03-07 16:11:14 -08:00
2016-02-14 14:36:04 -08:00
2023-05-15 16:33:34 +09:00