diff options
author | Minghuan Lian <Minghuan.Lian@freescale.com> | 2013-10-17 07:15:17 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-03-17 19:37:23 (GMT) |
commit | 28dc7598ca17f87ade7cb525be245153284af66d (patch) | |
tree | 2e9a27ff1f8a0cf332089f3a60cd6e338b96ec58 /arch/powerpc/sysdev/ppc4xx_msi.c | |
parent | be8ff354c6bad34c73512ed9f60fea6529b848d7 (diff) | |
download | linux-fsl-qoriq-28dc7598ca17f87ade7cb525be245153284af66d.tar.xz |
fsl_pci_ep: add VF ATMU access support
All VFs of a PF share the common inbound/outbound windows
except translation registers of outbound windows. A VF can
only change translation registers of outbound windows. A PF
can change all ATMU of VF.
The patch provides VF ATMU register definition and provides
interfaces to access inbound/outbound windows. It also adds
PCI_EP_REGION_MEM type to return PF's memory resource. The
application can get and reassign the memory resource to VF.
Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Change-Id: Iec877a8054ac47b64d9d94abb9bc32dc0450211e
Reviewed-on: http://git.am.freescale.net:8181/9604
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 'arch/powerpc/sysdev/ppc4xx_msi.c')
0 files changed, 0 insertions, 0 deletions