diff options
author | Matthew Rosato <mjrosato@linux.ibm.com> | 2020-09-10 17:59:55 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-09-21 23:42:11 +0300 |
commit | 12856e7acde4702b7c3238c15fcba86ff6aa507f (patch) | |
tree | f9e0073991158db7fb74b6b0fe05444836722a1e /usr | |
parent | ba4f184e126b751d1bffad5897f263108befc780 (diff) | |
download | linux-12856e7acde4702b7c3238c15fcba86ff6aa507f.tar.xz |
PCI/IOV: Mark VFs as not implementing PCI_COMMAND_MEMORY
For VFs, the Memory Space Enable bit in the Command Register is
hard-wired to 0.
Add a new bit to signify devices where the Command Register Memory
Space Enable bit does not control the device's response to MMIO
accesses.
Fixes: abafbc551fdd ("vfio-pci: Invalidate mmaps and block MMIO access on disabled memory")
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions