commit | fd49c81f080a997aad4b0e73541cd42772b6a772 | [log] [tgz] |
---|---|---|
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | Fri May 30 11:35:54 2014 -0600 |
committer | Alex Williamson <alex.williamson@redhat.com> | Fri May 30 11:35:54 2014 -0600 |
tree | 280bab4ea61a5a99ec2fcf0199ba7adc41eeacd8 | |
parent | b13460b92093b29347e99d6c3242e350052b62cd [diff] |
drivers/vfio/pci: Fix wrong MSI interrupt count 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 <gwshan@linux.vnet.ibm.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>