Skip to content

RFC serial: sh-sci: SCIF FIFO exploitation

Ulrich Hecht linux-serial linux-sh 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3serial: sh-sci: consider DR (data ready) bit adequatelydrivers/tty/serial/sh-sci.c drivers/tty/serial/sh-sci.h+6 -40 replies
2/3serial: sh-sci: exploit RX FIFOs betterdrivers/tty/serial/sh-sci.c drivers/tty/serial/sh-sci.h include/linux/serial_sci.h+74 -00 replies
3/3serial: sh-sci: make RX FIFO trigger tunable via sysfsdrivers/tty/serial/sh-sci.c+36 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/3] serial: sh-sci: SCIF FIFO exploitation

Hi!

The current sh-sci implementation doesn't exploit the RX FIFOs at all and has the chip issue an interrupt for every byte received. This series implements the necessary changes to improve that.

It includes a sysfs interface for changing the FIFO trigger level; there seem to be few drivers that implement something like that (I only found one), so I'd like to know if this implementation is palatable.

CU
Uli

Ulrich Hecht (3):
serial: sh-sci: consider DR (data ready) bit adequately
serial: sh-sci: exploit RX FIFOs better
serial: sh-sci: make RX FIFO trigger tunable via sysfs

 drivers/tty/serial/sh-sci.c | 113 ++++++++++++++++++++++++++++++++++++++++++--
 drivers/tty/serial/sh-sci.h |   5 ++
 include/linux/serial_sci.h  |   2 +
 3 files changed, 116 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.4.5