kernel - work around ipmi serial port bug
authorMatthew Dillon <dillon@backplane.com>
Tue, 15 Oct 2013 01:27:17 +0000 (18:27 -0700)
committerMatthew Dillon <dillon@backplane.com>
Tue, 15 Oct 2013 01:27:17 +0000 (18:27 -0700)
commit32a1602cb6629944188c894406dbfd736f1282c2
tree64d8db8acde4bfe0f7c0402f0560326116e13e81
parent92f61d6d0df7f813d5c234110ec55537ddeeb0cc
kernel - work around ipmi serial port bug

* On our supermicro blade server the ipmi can get confused when the
  host initializes the 16550A and may fail to clear the RXRDY interrupt
  status, resulting in an endless loop.

  This appears to only occur when interrupts are enabled early to support
  kern.alt_break_to_debugger on a serial console.

* Issuing a dummy read of the RXDATA register appears to unstick the ipmi.
  Go figure.
sys/dev/serial/sio/sio.c