summaryrefslogtreecommitdiffstats
path: root/arch/tile/mm
diff options
context:
space:
mode:
authorYongji Xie <xyjxie@linux.vnet.ibm.com>2016-09-13 11:00:32 +0200
committerBjorn Helgaas <bhelgaas@google.com>2016-09-29 00:17:20 +0200
commit62d9a78f32d9a1b0f6fdae70751deeae6335e74b (patch)
treec7b533d5ab3933f312b1b0f6f3dada4a25df0fe6 /arch/tile/mm
parentPCI: Ignore requested alignment for PROBE_ONLY and fixed resources (diff)
downloadlinux-62d9a78f32d9a1b0f6fdae70751deeae6335e74b.tar.xz
linux-62d9a78f32d9a1b0f6fdae70751deeae6335e74b.zip
PCI: Ignore requested alignment for VF BARs
Resource allocation for VFs is done via the VF BARx registers in the PF's SR-IOV Capability, and the BARs in the VFs themselves are read-only zeros (see SR-IOV spec r1.1, secs 3.3.14 and 3.4.1.11). Even though the actual VF BARs are read-only zeros, the VF dev->resource[] structs describe the space allocated for the VF (this is a piece of the space described by the VF BARx register in the PF's SR-IOV capability). It's meaningless to request additional alignment for a VF: the VF BAR alignment is completely determined by the alignment of the VF BARx in the PF and the size of the VF BAR. Ignore the user's alignment requests for VF devices. Signed-off-by: Yongji Xie <xyjxie@linux.vnet.ibm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/tile/mm')
0 files changed, 0 insertions, 0 deletions