]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: read device boot errors after cpucp is up
authorOfir Bitton <obitton@habana.ai>
Sun, 27 Dec 2020 15:09:09 +0000 (17:09 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 27 Jan 2021 19:03:50 +0000 (21:03 +0200)
commit450263d99070b2bd1b12e18f8c542ee4b6cb96eb
treed7033d53d7fbf6b83f7afaf28ccd8d88426decb2
parent4f3dd9a1a05a56030f7ab47fb85ff3b06b3e7aac
habanalabs: read device boot errors after cpucp is up

Boot cpu can report errors in various boot stages.
Current implementaion does not take into consideration errors
reported in late stages, hence we will check for errors at the most
late stage when fetching cpucp information.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/firmware_if.c
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/include/common/hl_boot_if.h