Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vfio-mdev/samples: change RDI interrupt condition
When FIFO mode is enabled, the receive data available interrupt (UART_IIR_RDI in code) should be triggered when the number of data in FIFO is equal or larger than interrupt trigger level. This patch changes the trigger level check to ensure multiple bytes received from upper layer can trigger RDI interrupt correctly. Cc: Joey Zheng <[email protected]> Signed-off-by: Shunyong Yang <[email protected]> Reviewed by: Kirti Wankhede <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
- Loading branch information