diff options
| author | John Ogness <[email protected]> | 2022-05-06 23:39:24 +0206 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-05-19 18:29:44 +0200 |
| commit | aabdbb1b7a5819e18c403334a31fb0cc2c06ad41 (patch) | |
| tree | 481caa57c402ed117340d1e5db71ae930721776c /tools/perf/scripts/python | |
| parent | 589f892ac8ef244e47c5a00ffd8605daa1eaef8e (diff) | |
serial: msm_serial: disable interrupts in __msm_console_write()
__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 <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: John Ogness <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions