mlxbf_tmfifo driver does not always schedule work for VIRTIO CONSOLE nottification. The result is with rshim console, the dmesg output would be cut off or simply cat a big text file to stdout.
[Fix]
* Make sure TM_TX_LWM_IRQ bit is set when there is a notification of virtio console event.
[Test Case]
* Compare the output of dmesg from rshim console and ssh session. Make sure both are the same.
* Issue is reproduced w/o fix and compare the same dmesg output from the same as above.
[Regression Potential]
The changes affect only virtio console event handling only and been tested fully.
SRU Justification:
[Impact]
mlxbf_tmfifo driver does not always schedule work for VIRTIO CONSOLE nottification. The result is with rshim console, the dmesg output would be cut off or simply cat a big text file to stdout.
[Fix]
* Make sure TM_TX_LWM_IRQ bit is set when there is a notification of virtio console event.
[Test Case]
* Compare the output of dmesg from rshim console and ssh session. Make sure both are the same.
* Issue is reproduced w/o fix and compare the same dmesg output from the same as above.
[Regression Potential]
The changes affect only virtio console event handling only and been tested fully.