summaryrefslogtreecommitdiff
path: root/include/linux/firmware/intel/stratix10-svc-client.h
diff options
context:
space:
mode:
authorRichard Gong <richard.gong@intel.com>2020-06-15 17:29:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-02 15:48:48 +0300
commitbf0e5bf68a207b14727caf13da576339590a9504 (patch)
treec5307cd371720eb8e82314a6803aabec8b3c10ea /include/linux/firmware/intel/stratix10-svc-client.h
parent36847f9e3e56c192ef95e7669df38189443530a0 (diff)
downloadlinux-bf0e5bf68a207b14727caf13da576339590a9504.tar.xz
firmware: stratix10-svc: extend svc to support new RSU features
Extend Intel Stratix10 service layer driver to support new RSU DCMF versions and max retry parameter. DCMF = Decision Configuration Management Firmware. The max retry parameter is the maximum times the images is allowed to reload itself before giving up and starting RSU failover flow. Signed-off-by: Richard Gong <richard.gong@intel.com> Link: https://lore.kernel.org/r/1592231348-31334-3-git-send-email-richard.gong@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/firmware/intel/stratix10-svc-client.h')
-rw-r--r--include/linux/firmware/intel/stratix10-svc-client.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/firmware/intel/stratix10-svc-client.h b/include/linux/firmware/intel/stratix10-svc-client.h
index 040bc3f3bedd..a93d85932eb9 100644
--- a/include/linux/firmware/intel/stratix10-svc-client.h
+++ b/include/linux/firmware/intel/stratix10-svc-client.h
@@ -98,6 +98,12 @@ struct stratix10_svc_chan;
*
* @COMMAND_RSU_RETRY: query firmware for the current image's retry counter,
* return status is SVC_STATUS_OK or SVC_STATUS_ERROR
+ *
+ * @COMMAND_RSU_MAX_RETRY: query firmware for the max retry value,
+ * return status is SVC_STATUS_OK or SVC_STATUS_ERROR
+ *
+ * @COMMAND_RSU_DCMF_VERSION: query firmware for the DCMF version, return status
+ * is SVC_STATUS_OK or SVC_STATUS_ERROR
*/
enum stratix10_svc_command_code {
COMMAND_NOOP = 0,
@@ -109,6 +115,8 @@ enum stratix10_svc_command_code {
COMMAND_RSU_UPDATE,
COMMAND_RSU_NOTIFY,
COMMAND_RSU_RETRY,
+ COMMAND_RSU_MAX_RETRY,
+ COMMAND_RSU_DCMF_VERSION,
};
/**