summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/perf/hv-gpci.c
diff options
context:
space:
mode:
authorWei Yang <weiyang@linux.vnet.ibm.com>2015-10-22 03:22:19 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2016-02-10 02:04:58 +0100
commitbe283eeb7f6d9165b3c50f5222123ac25cf0d417 (patch)
treecbdeff6e6f39fed957564c9bfc9cb705efead599 /arch/powerpc/perf/hv-gpci.c
parentpowerpc/powernv: boundary the total VF BAR size instead of the individual one (diff)
downloadlinux-be283eeb7f6d9165b3c50f5222123ac25cf0d417.tar.xz
linux-be283eeb7f6d9165b3c50f5222123ac25cf0d417.zip
powerpc/powernv: allocate sparse PE# when using M64 BAR in Single PE mode
When M64 BAR is set to Single PE mode, the PE# assigned to VF could be sparse. This patch restructures the code to allocate sparse PE# for VFs when M64 BAR is set to Single PE mode. Also it rename the offset to pe_num_map to reflect the content is the PE number. Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com> Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Acked-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/perf/hv-gpci.c')
0 files changed, 0 insertions, 0 deletions