summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorfarah kassabri <fkassabri@habana.ai>2022-08-23 14:32:42 +0300
committerOded Gabbay <ogabbay@kernel.org>2022-09-19 15:08:38 +0300
commit62adba0a55a7dc522f179b8ff8e0b3b7250c440f (patch)
tree9a0a136c239b6890b359ffe914bf776a470125fa /tools/perf/scripts/python/exported-sql-viewer.py
parentf5ec364c9ecd1113492e15ceaafd4447f5836528 (diff)
habanalabs: fix possible hole in device va
cb_map_mem() uses gen_pool_alloc() to get virtual address for mapping a CB. The mapping is done in chunks of page size, so if the CB size is larger, it is possible that the allocated virtual addresses won't be consecutive. User retrieves this device VA which returns the virtual address in the first va_block. If there is a "hole" in the virtual addresses, user can configure a HW block with a bad device VA. Signed-off-by: farah kassabri <fkassabri@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions