aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/misc
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-04-21 09:20:46 -0400
committerOded Gabbay <oded.gabbay@gmail.com>2019-04-21 09:20:46 -0400
commitd691171d61b635fa36860ca65c4f8fde718abd09 (patch)
tree8ae775b8d77d3070e246ae093d3ff4acbdd9b633 /include/uapi/misc
parent883c2459a57d93efbcb974bea1d2d506db3ae9ab (diff)
uapi/habanalabs: add missing fields in bmon params
This patch adds missing fields of start address 0 and 1 in the bmon parameter structure that is received from the user in the debug IOCTL. Without these fields, the functionality of the bmon trace is broken, because there is no configuration of the base address of the filter of the bus monitor. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'include/uapi/misc')
-rw-r--r--include/uapi/misc/habanalabs.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/uapi/misc/habanalabs.h b/include/uapi/misc/habanalabs.h
index 613d431da783..8ac292cf4d00 100644
--- a/include/uapi/misc/habanalabs.h
+++ b/include/uapi/misc/habanalabs.h
@@ -374,9 +374,12 @@ struct hl_debug_params_stm {
374}; 374};
375 375
376struct hl_debug_params_bmon { 376struct hl_debug_params_bmon {
377 /* Transaction address filter */ 377 /* Two address ranges that the user can request to filter */
378 __u64 addr_range0; 378 __u64 start_addr0;
379 __u64 addr_range1; 379 __u64 addr_mask0;
380
381 __u64 start_addr1;
382 __u64 addr_mask1;
380 383
381 /* Capture window configuration */ 384 /* Capture window configuration */
382 __u32 bw_win; 385 __u32 bw_win;