History

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.

Oded Gabbay committed 7 years ago

Commit d6911711 parent 883c2452 files · +18 −7Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/misc/habanalabs.h+6−3
@@ -374,9 +374,12 @@ struct hl_debug_params_stm { · 373 unmodified lines
374374 };
375375
376376 struct hl_debug_params_bmon {
377− /* Transaction address filter */
378− __u64 addr_range0;
379− __u64 addr_range1;
377+ /* Two address ranges that the user can request to filter */
378+ __u64 start_addr0;
379+ __u64 addr_mask0;
380+
381+ __u64 start_addr1;
382+ __u64 addr_mask1;
380383
381384 /* Capture window configuration */
382385 __u32 bw_win;