aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2015-10-22 09:22:15 +0800
committerMichael Ellerman <[email protected]>2016-02-10 12:04:55 +1100
commit7fbe7a9374f8bb18db653f4693861c8625d01db1 (patch)
treebff65b0d27d03f93ac5f371b056515b4b4b6d2f8 /tools/perf/scripts/python/syscall-counts.py
parentb0331854190e70b9d96d39257230def45f832877 (diff)
powerpc/powernv: simplify the calculation of iov resource alignment
The alignment of IOV BAR on PowerNV platform is the total size of the IOV BAR. No matter whether the IOV BAR is extended with number of roundup_pow_of_two(total_vfs) or number of max PE number (256), the total size could be calculated by (vfs_expanded * VF_BAR_size). This patch simplifies the pnv_pci_iov_resource_alignment() by removing the first case. Signed-off-by: Wei Yang <[email protected]> Reviewed-by: Gavin Shan <[email protected]> Acked-by: Alexey Kardashevskiy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions