diff options
author | Shunyong Yang <shunyong.yang@hxt-semitech.com> | 2018-03-21 12:46:23 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2018-03-22 13:18:18 -0600 |
commit | c9f89c3f87cfc026d88c08054710902dd52a7772 (patch) | |
tree | aea02512b416b7d4495a14515cad8c42dd077498 /drivers/vfio | |
parent | 6bd06f5a486c06023a618a86e8153b91d26f75f4 (diff) | |
download | linux-c9f89c3f87cfc026d88c08054710902dd52a7772.tar.bz2 |
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 <yu.zheng@hxt-semitech.com>
Signed-off-by: Shunyong Yang <shunyong.yang@hxt-semitech.com>
Reviewed by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions