summaryrefslogtreecommitdiff
path: root/drivers/vfio/vfio.c
diff options
context:
space:
mode:
authorMinghuan Lian <Minghuan.Lian@freescale.com>2013-10-17 07:35:44 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-03-17 19:35:56 (GMT)
commitbe8ff354c6bad34c73512ed9f60fea6529b848d7 (patch)
tree908283fdf2d3222d3fe12edfc235729013a9c0df /drivers/vfio/vfio.c
parentb9bfcda3e66e7718c2dc2423e40e61ebc0f8a27d (diff)
downloadlinux-fsl-qoriq-be8ff354c6bad34c73512ed9f60fea6529b848d7.tar.xz
fsl_pci_ep: initialize PF and VF ATMU
The first PCI controller of T4 has two physical functions(PF). Each physical functions supports 64 virtual functions(VF). There may be multiple functions to share PCI memory resource. The patch first disables all the inbound/outbound windows then, divides the PCI memory resource equally among all functions and enable a PF/VF outbound window to cover assigned memory. Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com> Change-Id: I84f2211438f1dae32a32d22c4ac60f3f53993159 Reviewed-on: http://git.am.freescale.net:8181/9603 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Tiefei Zang <tie-fei.zang@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/vfio/vfio.c')
0 files changed, 0 insertions, 0 deletions