habanalabs: update firmware definitions
PATCH 1/1 habanalabs: update firmware definitions
Add comments for the various errors and states of the firmware during boot. Add a mapping of a new register that will tell the driver whether the firmware executed the request from the driver or if it has encountered an error.
Add a new enum for the possible values of this register.
Signed-off-by Oded Gabbay <[email protected]>
--- .../habanalabs/include/goya/goya_reg_map.h | 1 + drivers/misc/habanalabs/include/hl_boot_if.h | 51 +++++++++++++++++-- 2 files changed, 49 insertions(+), 3 deletions(-)
drivers/misc/habanalabs/include/goya/goya_reg_map.h +1 -0
@@ -22,6 +22,7 @@#define mmCPU_CQ_BASE_ADDR_LOW mmPSOC_GLOBAL_CONF_SCRATCHPAD_8#define mmCPU_CQ_BASE_ADDR_HIGH mmPSOC_GLOBAL_CONF_SCRATCHPAD_9#define mmCPU_CQ_LENGTH mmPSOC_GLOBAL_CONF_SCRATCHPAD_10 +#define mmCPU_CMD_STATUS_TO_HOST mmPSOC_GLOBAL_CONF_SCRATCHPAD_23#define mmCPU_BOOT_ERR0 mmPSOC_GLOBAL_CONF_SCRATCHPAD_24#define mmCPU_BOOT_ERR1 mmPSOC_GLOBAL_CONF_SCRATCHPAD_25#define mmUPD_STS mmPSOC_GLOBAL_CONF_SCRATCHPAD_26
drivers/misc/habanalabs/include/hl_boot_if.h +48 -3
80 lines not on this page · raw message
Signature · 1 line
2.17.1
Quoted 6 lines · Oded Gabbay
Add comments for the various errors and states of the firmware during boot. Add a mapping of a new register that will tell the driver whether the firmware executed the request from the driver or if it has encountered an error. Add a new enum for the possible values of this register.
Signed-off-by Oded Gabbay <[email protected]>
Reviewed-by Omer Shpigelman <[email protected]>