summary refs log tree commit diff stats
path: root/net/netmap.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2013-12-06 11:16:23 -0700
committerAlex Williamson <alex.williamson@redhat.com>2013-12-06 11:16:23 -0700
commit96eeeba0db38b856eb2cae0e4a2a620d8d65771a (patch)
treec4e9f3db14104dd10a3a9f9342c4b55dbbbc9bd2 /net/netmap.c
parent5b49ab188ff0339aa3097ce7f5309f1306092f9e (diff)
downloadfocaccia-qemu-96eeeba0db38b856eb2cae0e4a2a620d8d65771a.tar.gz
focaccia-qemu-96eeeba0db38b856eb2cae0e4a2a620d8d65771a.zip
vfio-pci: Fix Nvidia MSI ACK through 0x88000 quirk
When MSI is enabled on Nvidia GeForce cards the driver seems to
acknowledge the interrupt by writing a 0xff byte to the MSI capability
ID register using the PCI config space mirror at offset 0x88000 from
BAR0.  Without this, the device will only fire a single interrupt.
VFIO handles the PCI capability ID/next registers as virtual w/o write
support, so any write through config space is currently dropped.  Add
a check for this and allow the write through the BAR window.  The
registers are read-only anyway.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'net/netmap.c')
0 files changed, 0 insertions, 0 deletions