From: Michael S. Tsirkin Date: Wed, 29 May 2013 02:22:21 +0000 (+0930) Subject: s390: add pci_iomap_range X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~45^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cfc99b58366ea9f391fe0da7d16940ca6a1d9c0;p=pandora-kernel.git 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 Cc: linux-pci@vger.kernel.org Tested-by: Sebastian Ott Signed-off-by: Michael S. Tsirkin Signed-off-by: Rusty Russell --- Reading git-diff-tree failed