summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/vfio_iommu_spapr_tce.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2016-03-24 13:06:16 -0600
committerAlex Williamson <alex.williamson@redhat.com>2016-04-28 11:12:33 -0600
commitdc928109973336fd4d572d460cf3964d56aa087f (patch)
tree294cf19ae0e5eda1e522b566f1e16fc7ea223ddc /drivers/vfio/vfio_iommu_spapr_tce.c
parent450744051d201c4d72436ebf5b04b9a06ba2cf30 (diff)
downloadop-kernel-dev-dc928109973336fd4d572d460cf3964d56aa087f.zip
op-kernel-dev-dc928109973336fd4d572d460cf3964d56aa087f.tar.gz
vfio/pci: Add test for BAR restore
If a device is reset without the memory or i/o bits enabled in the command register we may not detect it, potentially leaving the device without valid BAR programming. Add an additional test to check the BARs on each write to the command register. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/vfio_iommu_spapr_tce.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud