diff options
author | Dafna Hirschfeld <dhirschfeld@habana.ai> | 2022-03-13 15:33:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-22 20:57:36 +0200 |
commit | c3712c1d7d3dc313527a7ff7c29726e091bc8f43 (patch) | |
tree | e2ee06a05685293f51b6b9021cd1766f63881f59 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | acbabe63efa78012eb3702486e1cfe7b485f70a0 (diff) |
habanalabs/gaudi: Use correct sram size macro for debugfs
We currently allow accessing the whole SRAM bar size with
the macro SRAM_BAR_SIZE, but the actual size of the sram
region is the macro SRAM_SIZE which is only a portion of
the whole bar size. So when accessing the sram through
debugfs, use the macro SRAM_SIZE for the sram size
which is the correct macro.
Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions