summaryrefslogtreecommitdiffstats
path: root/drivers/misc/habanalabs/gaudi/gaudiP.h
diff options
context:
space:
mode:
authorKoby Elbaz <kelbaz@habana.ai>2021-06-15 17:07:02 +0300
committerOded Gabbay <ogabbay@kernel.org>2021-06-21 10:21:51 +0300
commitb7a71fddc0ddfdd66cdefcf5bf1f59a0f0bdea57 (patch)
tree2c52a2d4bf793d116ff9967fc06f3bd1ca47d6ed /drivers/misc/habanalabs/gaudi/gaudiP.h
parent6c31f494d8a9cf7e6081f94717a46ce789da6bc6 (diff)
downloadlinux-b7a71fddc0ddfdd66cdefcf5bf1f59a0f0bdea57.tar.bz2
habanalabs/gaudi: refactor hard-reset related code
There is code related to hard-reset, which is done in gaudi specific code. However, this code can be used by future ASICs and therefore it is better to move it to the common code section. Signed-off-by: Koby Elbaz <kelbaz@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/gaudi/gaudiP.h')
-rw-r--r--drivers/misc/habanalabs/gaudi/gaudiP.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/misc/habanalabs/gaudi/gaudiP.h b/drivers/misc/habanalabs/gaudi/gaudiP.h
index b23336af191e..957bf3720f70 100644
--- a/drivers/misc/habanalabs/gaudi/gaudiP.h
+++ b/drivers/misc/habanalabs/gaudi/gaudiP.h
@@ -315,10 +315,6 @@ struct gaudi_internal_qman_info {
* Multi MSI is possible only with IOMMU enabled.
* @mmu_cache_inv_pi: PI for MMU cache invalidation flow. The H/W expects an
* 8-bit value so use u8.
- * @device_cpu_is_halted: Flag to indicate whether the device CPU was already
- * halted. We can't halt it again because the COMMS
- * protocol will throw an error. Relevant only for
- * cases where Linux was not loaded to device CPU
*/
struct gaudi_device {
int (*cpucp_info_get)(struct hl_device *hdev);
@@ -340,7 +336,6 @@ struct gaudi_device {
u32 hw_cap_initialized;
u8 multi_msi_mode;
u8 mmu_cache_inv_pi;
- u8 device_cpu_is_halted;
};
void gaudi_init_security(struct hl_device *hdev);