mbox series

[RFC,0/2] serial: sci: fix OOPS because of wrongly running hrtimer

Message ID 20240416123545.7098-4-wsa+renesas@sang-engineering.com (mailing list archive)
Headers show
Series serial: sci: fix OOPS because of wrongly running hrtimer | expand

Message

Wolfram Sang April 16, 2024, 12:35 p.m. UTC
Dirk sent a very interesting bug report[1]. This series is what I found
out by reviewing the driver. It is not tested yet because I couldn't
trigger the code path yet. The console still works normally with these
patches. Still, I am already curious in hearing your opinions, so here
is what I have...

[1] https://lore.kernel.org/r/ee6c9e16-9f29-450e-81da-4a8dceaa8fc7@de.bosch.com

Wolfram Sang (2):
  serial: sh-sci: start hrtimer after setting up DMA
  serial: sh-sci: always cancel hrtimer when DMA RX is invalidated

 drivers/tty/serial/sh-sci.c | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)