In order for engine cores to raise interrupts towards FW, They need to know which register the event data should be written to. Hence, we forward the relevant scratchpad register received during dynamic regs handshake with FW.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -885,6 +885,8 @@ enum hl_server_type { · 884 unmodified lines | ||
| 885 | 885 | * application to use. Relevant for Gaudi2 and later. |
| 886 | 886 | * @device_mem_alloc_default_page_size: default page size used in device memory allocation. |
| 887 | 887 | * @revision_id: PCI revision ID of the ASIC. |
| 888 | + * @engine_core_interrupt_reg_addr: interrupt register address for engine core to use | |
| 889 | + * in order to raise events toward FW. | |
| 888 | 890 | */ |
| 889 | 891 | struct hl_info_hw_ip_info { |
| 890 | 892 | __u64 sram_base_address; |
| @@ -921,6 +923,9 @@ struct hl_info_hw_ip_info { · 30 unmodified lines | ||
| 921 | 923 | __u8 reserved8; |
| 922 | 924 | __u8 revision_id; |
| 923 | 925 | __u8 pad[2]; |
| 926 | + __u32 reserved9; | |
| 927 | + __u8 pad3[4]; | |
| 928 | + __u64 engine_core_interrupt_reg_addr; | |
| 924 | 929 | }; |
| 925 | 930 | |
| 926 | 931 | struct hl_info_dram_usage { |