summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2017-03-24 12:44:00 -0700
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-04-04 14:25:11 +0200
commit7cfa3211be32063f41fc49573c6047f96d47c841 (patch)
tree2fd6b2eaa8d406c73dc7a86ee53c7a58f3af06ed /crypto
parent00babbc33b652489b2fecdeb9415dd865fa0e66a (diff)
tty: serial: fsl_lpuart: lock port on console writeColibri-VF_LXDE-Image_2.7b2-20170410
The console write code is not entirely race free (e.g. the operations to disabling the UART interrupts are not atomic) hence locking is required. This has been become apparent with the PREEMPT RT patchset applied: With the fully preemptible kernel configuration the system often ended up in a freeze already at startup. Disable interrupts and lock using read_lock_irqsave. Try to lock in the sysrq/oops case, but don't bother if locking fails. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions