aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorTomer Tayar <[email protected]>2022-10-24 01:14:18 +0300
committerOded Gabbay <[email protected]>2022-11-23 16:13:45 +0200
commitfc69aa8640f8baf9c1246c17ca858bab9aea98b0 (patch)
tree2ffb2bdc767044076e48229daebbd6bf9699b5e1 /scripts/gdb/linux/lists.py
parent679e968908a4997d02c2a7df294e97b066f9149f (diff)
habanalabs: fix PCIe access to SRAM via debugfs
hl_access_sram_dram_region() uses a region base which is set within the hl_set_dram_bar() function. However, for SRAM access this function is not called, and we end up with a wrong value of region base and with a bad calculated address. Fix it by initializing the region base value independently of whether hl_set_dram_bar() is called or not. Signed-off-by: Tomer Tayar <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions