From: Wei Yang Date: Wed, 25 Mar 2015 08:23:43 +0000 (+0800) Subject: PCI: Print PF SR-IOV resource that contains all VF(n) BAR space X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~7^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e88ae01d2c43be3c3a6f340bfa7bab8b87127f57;p=pandora-kernel.git PCI: Print PF SR-IOV resource that contains all VF(n) BAR space When we size VF BAR0, VF BAR1, etc., from the SR-IOV Capability of a PF, we learn the alignment requirement and amount of space consumed by a single VF. But when VFs are enabled, *each* of the NumVFs consumes that amount of space, so the total size of the PF resource is "VF BAR size * NumVFs". Add a printk of the total space consumed by the VFs corresponding to what we already do for normal non-IOV BARs. No functional change; new message only. [bhelgaas: split out into its own patch] Signed-off-by: Wei Yang Acked-by: Bjorn Helgaas Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed