diff options
author | Minghuan Lian <Minghuan.Lian@freescale.com> | 2013-10-17 07:04:41 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-03-17 19:34:40 (GMT) |
commit | b9bfcda3e66e7718c2dc2423e40e61ebc0f8a27d (patch) | |
tree | 1c2167ea267905d1253c0cd2e8bac7127d7ee85f /mm/mempolicy.c | |
parent | e0bfc429895c7f0b49dea2f4f5794b8f295edf9a (diff) | |
download | linux-fsl-qoriq-b9bfcda3e66e7718c2dc2423e40e61ebc0f8a27d.tar.xz |
fsl_pci_ep: fix PCI configuration access
PCI controller which supports SR_IOV and works in End Point mode
provides a different method to access configuration. It dose not
use bus number device number and function number, instead, it uses
physical function number and virtual function number. Different PF
may use different offset and stride. It is hard to calculate PF
VF number by bus and device number. The original calculation is
not suitable for all situations. The patch traverse all functions
to find the correct PF VF number.
Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Change-Id: Id4a475114c24775d1098483e727a6f824ecada05
Reviewed-on: http://git.am.freescale.net:8181/9602
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 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions