summaryrefslogtreecommitdiff
path: root/drivers/platform/mellanox/mlxbf-bootctl.h
diff options
context:
space:
mode:
authorKhalil Blaiech <kblaiech@nvidia.com>2023-04-05 16:16:29 +0300
committerHans de Goede <hdegoede@redhat.com>2023-04-06 15:26:03 +0300
commit7bef7eea539dac6182e25e2e8d4a33063d458878 (patch)
tree8f28eb58eec6daf378f5d5d2240280935a450bec /drivers/platform/mellanox/mlxbf-bootctl.h
parentfb131c472df92b2885262e747906c0a4038c82e5 (diff)
downloadlinux-7bef7eea539dac6182e25e2e8d4a33063d458878.tar.xz
platform/mellanox: add firmware reset support
Add a new sysfs to initiate firmware reset in isolation mode. Reviewed-by: David Thompson <davthompson@nvidia.com> Signed-off-by: Khalil Blaiech <kblaiech@nvidia.com> Link: https://lore.kernel.org/r/10da04fa43e8acce5d4ec173e225c28b9e979e4b.1675790783.git.kblaiech@nvidia.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/mellanox/mlxbf-bootctl.h')
-rw-r--r--drivers/platform/mellanox/mlxbf-bootctl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/platform/mellanox/mlxbf-bootctl.h b/drivers/platform/mellanox/mlxbf-bootctl.h
index 148fdb43b435..b48243f60a59 100644
--- a/drivers/platform/mellanox/mlxbf-bootctl.h
+++ b/drivers/platform/mellanox/mlxbf-bootctl.h
@@ -75,6 +75,12 @@
#define MLXBF_BOOTCTL_GET_DIMM_INFO 0x82000008
+/*
+ * Initiate Firmware Reset via TYU. This might be invoked during the reset
+ * flow in isolation mode.
+ */
+#define MLXBF_BOOTCTL_FW_RESET 0x8200000D
+
/* SMC function IDs for SiP Service queries */
#define MLXBF_BOOTCTL_SIP_SVC_CALL_COUNT 0x8200ff00
#define MLXBF_BOOTCTL_SIP_SVC_UID 0x8200ff01