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

From: Wolfram Sang
Date: Tue Apr 16 2024 - 08:36:22 EST


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@xxxxxxxxxxxx

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(-)

--
2.43.0