summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@kernel.org>2021-02-16 22:49:27 +0200
committerOded Gabbay <ogabbay@kernel.org>2021-04-09 14:09:22 +0300
commitd3ee681afd7dcf62b592d343d8091c0361efc07a (patch)
tree034b7b3d68c5d52b59a76a2e2dd6482c157fb23d
parent23c3efd1fb0eb19b9e39eeb07515b167f6d4517a (diff)
habanalabs: reset_upon_device_release is for bring-up
Move the field to correct location in structure and remove comment. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
-rw-r--r--drivers/misc/habanalabs/common/habanalabs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/misc/habanalabs/common/habanalabs.h b/drivers/misc/habanalabs/common/habanalabs.h
index 4fdb4fa5728d..51a6b911bb2e 100644
--- a/drivers/misc/habanalabs/common/habanalabs.h
+++ b/drivers/misc/habanalabs/common/habanalabs.h
@@ -1920,7 +1920,6 @@ struct hl_mmu_funcs {
* @device_fini_pending: true if device_fini was called and might be
* waiting for the reset thread to finish
* @supports_staged_submission: true if staged submissions are supported
- * @reset_upon_device_release: true if reset is required upon device release
*/
struct hl_device {
struct pci_dev *pdev;
@@ -2027,7 +2026,6 @@ struct hl_device {
u8 process_kill_trial_cnt;
u8 device_fini_pending;
u8 supports_staged_submission;
- u8 reset_upon_device_release;
/* Parameters for bring-up */
u64 nic_ports_mask;
@@ -2045,6 +2043,7 @@ struct hl_device {
u8 bmc_enable;
u8 rl_enable;
u8 reset_on_preboot_fail;
+ u8 reset_upon_device_release;
};