]> git.baikalelectronics.ru Git - kernel.git/commit
serial: fsl_lpuart: don't restore interrupt state in ISR
authorMichael Walle <michael@walle.cc>
Wed, 12 May 2021 14:12:49 +0000 (16:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 14:08:26 +0000 (16:08 +0200)
commit13fb935902a6930d98a0917c3332aa6266f42806
tree298e3bbe7614df11ed3fc783c7a6c2e60f2f4da5
parent2d5d251ed1f878fff3fd99c4d0003f9306d13eb0
serial: fsl_lpuart: don't restore interrupt state in ISR

>From commit 1d2b9dd9cc2e ("serial: do not restore interrupt state in
sysrq helper"):

  Since commit 54472742a192 ("genirq: Disable interrupts for force
  threaded handlers") interrupt handlers that are not explicitly
  requested as threaded are always called with interrupts disabled and
  there is no need to save the interrupt state when taking the port
  lock.

Apply this also to fsl_lpuart in prepartion for sysrq handling with
uart_unlock_and_check_sysrq().

Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20210512141255.18277-4-michael@walle.cc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c