[PATCH 3/4] drivers/vfio/pci: Fix wrong MSI interrupt count

2014-05-18 Thread Gavin Shan
According PCI local bus specification, the register of Message Control for MSI (offset: 2, length: 2) has bit#0 to enable or disable MSI logic and it shouldn't be part contributing to the calculation of MSI interrupt count. The patch fixes the issue. Signed-off-by: Gavin Shan

[PATCH 3/4] drivers/vfio/pci: Fix wrong MSI interrupt count

2014-05-12 Thread Gavin Shan
According PCI local bus specification, the register of Message Control for MSI (offset: 2, length: 2) has bit#0 to enable or disable MSI logic and it shouldn't be part contributing to the calculation of MSI interrupt count. The patch fixes the issue. Signed-off-by: Gavin Shan