diff options
author | Wei Yang <[email protected]> | 2015-03-25 16:23:50 +0800 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2015-03-31 13:02:36 +1100 |
commit | 978d2d68312326b715a5913aaab1eaf24fe99108 (patch) | |
tree | 101dc75d31df4bf5cb714014319d44f87079c70f /lib/test-string_helpers.c | |
parent | 995df527f3990d91fe8f3d7d1917a7adc3938320 (diff) |
PCI: Add pcibios_iov_resource_alignment() interface
Per the SR-IOV spec r1.1, sec 3.3.14, the required alignment of a PF's IOV
BAR is the size of an individual VF BAR, and the size consumed is the
individual VF BAR size times NumVFs.
The PowerNV platform has additional alignment requirements to help support
its Partitionable Endpoint device isolation feature (see
Documentation/powerpc/pci_iov_resource_on_powernv.txt).
Add a pcibios_iov_resource_alignment() interface to allow platforms to
request additional alignment.
[bhelgaas: changelog, adapt to reworked pci_sriov_resource_alignment(),
drop "align" parameter]
Signed-off-by: Wei Yang <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions