summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_pci_legacy.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-05-29 11:52:21 +0930
committerRusty Russell <rusty@rustcorp.com.au>2015-01-21 16:28:49 +1030
commit8cfc99b58366ea9f391fe0da7d16940ca6a1d9c0 (patch)
tree8e9941de0e82da7d4f49856c6134d50173a05bab /drivers/virtio/virtio_pci_legacy.c
parenteb29d8d2aad70636ea23810b4868693673d630d5 (diff)
downloadlinux-stable-8cfc99b58366ea9f391fe0da7d16940ca6a1d9c0.tar.gz
linux-stable-8cfc99b58366ea9f391fe0da7d16940ca6a1d9c0.tar.bz2
linux-stable-8cfc99b58366ea9f391fe0da7d16940ca6a1d9c0.zip
s390: add pci_iomap_range
Virtio drivers should map the part of the range they need, not necessarily all of it. To this end, support mapping ranges within BAR on s390. Since multiple ranges can now be mapped within a BAR, we keep track of the number of mappings created, and only clear out the mapping for a BAR when this number reaches 0. Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: linux-pci@vger.kernel.org Tested-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio/virtio_pci_legacy.c')
0 files changed, 0 insertions, 0 deletions