diff options
author | Tomer Tayar <ttayar@habana.ai> | 2019-06-04 11:35:30 +0000 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2019-06-04 15:13:09 +0300 |
commit | 1f65105ffc472624b45aff8bedb819c10a85944d (patch) | |
tree | efd85947c007776a581cf6330e33a81d21ffc38d /lib/string_helpers.c | |
parent | e4c814aa7105a6a8320f64ecc48f13bc089eea88 (diff) | |
download | linux-1f65105ffc472624b45aff8bedb819c10a85944d.tar.gz linux-1f65105ffc472624b45aff8bedb819c10a85944d.tar.bz2 linux-1f65105ffc472624b45aff8bedb819c10a85944d.zip |
habanalabs: Read upper bits of trace buffer from RWPHI
The trace buffer address is 40 bits wide.
The end of the buffer is set in the RWP register (lower 32 bits), and in
the RWPHI register (upper 8 bits).
Currently only the lower 32 bits are read, and this patch fixes it and
concatenates the upper 8 bits to the output address.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions