summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-04-21 16:20:46 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2019-04-21 16:20:46 +0300
commitd691171d61b635fa36860ca65c4f8fde718abd09 (patch)
tree8ae775b8d77d3070e246ae093d3ff4acbdd9b633 /include
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')
-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 {
};
struct hl_debug_params_bmon {
- /* Transaction address filter */
- __u64 addr_range0;
- __u64 addr_range1;
+ /* Two address ranges that the user can request to filter */
+ __u64 start_addr0;
+ __u64 addr_mask0;
+
+ __u64 start_addr1;
+ __u64 addr_mask1;
/* Capture window configuration */
__u32 bw_win;