I have a big problem. At present I am accessing a serial port via the following hooks:
fd = open( \"/dev/ttyS1\", O_RDWR | O_NOCTTY )
then
Dark Templer,
Your serial driver should update the icount.frame/overrun errors.
struct uart_port in serial_core.h has member struct uart_icount, which should be updated in platform serial device driver as per interrupts received.