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
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;