aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <[email protected]>2018-06-01 18:06:16 +1000
committerMichael Ellerman <[email protected]>2018-07-02 23:54:29 +1000
commitd3d4ffaae439981e1e441ebb125aa3588627c5d8 (patch)
tree246eb16b4fe245bf32384da4e3677b218333dc05 /tools/perf/scripts/python/export-to-sqlite.py
parentaad15ccc4c043280624ebd345d311dc7b6398bba (diff)
powerpc/powernv/ioda2: Reduce upper limit for DMA window size
We use PHB in mode1 which uses bit 59 to select a correct DMA window. However there is mode2 which uses bits 59:55 and allows up to 32 DMA windows per a PE. Even though documentation does not clearly specify that, it seems that the actual hardware does not support bits 59:55 even in mode1, in other words we can create a window as big as 1<<58 but DMA simply won't work. This reduces the upper limit from 59 to 55 bits to let the userspace know about the hardware limits. Fixes: 7aafac11e3 "powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested" Signed-off-by: Alexey Kardashevskiy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions