diff options
author | 2015-03-25 16:23:58 +0800 | |
---|---|---|
committer | 2015-03-31 13:02:38 +1100 | |
commit | 5b88ec228498b7d41de6599eca12cc0032056e3f (patch) | |
tree | 9ef87bc8413673daf8a074c8baf0f052eb03950c /scripts/gdb/linux/modules.py | |
parent | powerpc/powernv: Shift VF resource with an offset (diff) | |
download | wireguard-linux-5b88ec228498b7d41de6599eca12cc0032056e3f.tar.xz wireguard-linux-5b88ec228498b7d41de6599eca12cc0032056e3f.zip |
powerpc/powernv: Reserve additional space for IOV BAR, with m64_per_iov supported
M64 aperture size is limited on PHB3. When the IOV BAR is too big, this
will exceed the limitation and failed to be assigned.
Introduce a different mechanism based on the IOV BAR size:
- if IOV BAR size is smaller than 64MB, expand to total_pe
- if IOV BAR size is bigger than 64MB, roundup power2
[bhelgaas: make dev_printk() output more consistent, use PCI_SRIOV_NUM_BARS]
Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions