ENUM STRATIX10_SVC_COMMAND_CODE(9)
π enum stratix10_svc_command_code(9) β the Kernel API Manual, bestie edition π
okay so real talk, this is the page for enum stratix10_svc_command_code from the Kernel API Manual, and it's literally the master list of all the service commands Stratix10 can send. it's giving "menu of things the firmware can do for you" β¨ keep reading, it's not as scary as it looks.
β¨ NAME β¨
enum stratix10_svc_command_code β supported service commands π«Ά
πΈ SYNOPSIS πΈ
enum stratix10_svc_command_code {
COMMAND_NOOP ,
COMMAND_RECONFIG ,
COMMAND_RECONFIG_DATA_SUBMIT ,
COMMAND_RECONFIG_DATA_CLAIM ,
COMMAND_RECONFIG_STATUS ,
COMMAND_RSU_STATUS ,
COMMAND_RSU_UPDATE ,
COMMAND_RSU_NOTIFY ,
COMMAND_RSU_RETRY ,
COMMAND_RSU_MAX_RETRY ,
COMMAND_RSU_DCMF_VERSION ,
COMMAND_RSU_DCMF_STATUS ,
COMMAND_RSU_GET_DEVICE_INFO ,
COMMAND_FIRMWARE_VERSION ,
COMMAND_RSU_GET_SPT_TABLE ,
COMMAND_FCS_REQUEST_SERVICE ,
COMMAND_FCS_SEND_CERTIFICATE ,
COMMAND_FCS_GET_PROVISION_DATA ,
COMMAND_FCS_DATA_ENCRYPTION ,
COMMAND_FCS_DATA_DECRYPTION ,
COMMAND_FCS_RANDOM_NUMBER_GEN ,
COMMAND_POLL_SERVICE_STATUS ,
COMMAND_MBOX_SEND_CMD ,
COMMAND_SMC_SVC_VERSION ,
COMMAND_HWMON_READTEMP ,
COMMAND_HWMON_READVOLT ,
COMMAND_SMC_ATF_BUILD_VER
};
π DESCRIPTION π
so this enum is basically the group chat of every command the service layer knows about π¬ each one does a specific little job, and each one tells you what status it hands back. here's every single one, no skips, no "you'll figure it out" energy. π
π Constants π
COMMAND_NOOPβ does a lil 'dummy' request, purely for integration, debug and trouble-shooting. it's the vibe-check command, no real work involved πCOMMAND_RECONFIGβ asks for FPGA configuration preparation; the status it returns isSVC_STATUS_OKβCOMMAND_RECONFIG_DATA_SUBMITβ submits buffer(s) of bit-stream data for the FPGA configuration; the status it returns isSVC_STATUS_SUBMITTEDorSVC_STATUS_ERRORπ¦COMMAND_RECONFIG_DATA_CLAIMβ checks the status of the configuration; the status it returns isSVC_STATUS_COMPLETED, orSVC_STATUS_BUSY, orSVC_STATUS_ERRORπCOMMAND_RECONFIG_STATUSβ checks the status of the configuration; the status it returns isSVC_STATUS_COMPLETED, orSVC_STATUS_BUSY, orSVC_STATUS_ERROR(yes it's the same status-check energy as the one above, the enum said what it said) πCOMMAND_RSU_STATUSβ requests the remote system update boot log; the status it returns is log data orSVC_STATUS_RSU_ERRORπCOMMAND_RSU_UPDATEβ sets the offset of the bitstream to boot after reboot; the status it returns isSVC_STATUS_OKorSVC_STATUS_ERRORπCOMMAND_RSU_NOTIFYβ reports the status of the hard processor system software to firmware; the status it returns isSVC_STATUS_OKorSVC_STATUS_ERRORπ£COMMAND_RSU_RETRYβ queries firmware for the current image's retry counter; the status it returns isSVC_STATUS_OKorSVC_STATUS_ERRORπCOMMAND_RSU_MAX_RETRYβ queries firmware for the max retry value; the status it returns isSVC_STATUS_OKorSVC_STATUS_ERRORπ’COMMAND_RSU_DCMF_VERSIONβ queries firmware for the DCMF version; the status it returns isSVC_STATUS_OKorSVC_STATUS_ERRORπ·οΈCOMMAND_RSU_DCMF_STATUSβ queries firmware for the DCMF status; the status it returns isSVC_STATUS_OKorSVC_STATUS_ERRORπCOMMAND_RSU_GET_DEVICE_INFOβ queries firmware for QSPI device info; the status it returns isSVC_STATUS_OK,SVC_STATUS_ERROR, orSVC_STATUS_NO_SUPPORT(that last one is the unsupported command / firmware compatibility path in the service layer π« )COMMAND_FIRMWARE_VERSIONβ queries the running firmware version; the status it returns isSVC_STATUS_OKorSVC_STATUS_ERRORπ§ΎCOMMAND_RSU_GET_SPT_TABLEβ queries firmware for the SPT table; the status it returns isSVC_STATUS_OKorSVC_STATUS_ERRORποΈCOMMAND_FCS_REQUEST_SERVICEβ requests validation of the image from firmware; the status it returns isSVC_STATUS_OK,SVC_STATUS_INVALID_PARAMβCOMMAND_FCS_SEND_CERTIFICATEβ sends a certificate; the status it returns isSVC_STATUS_OK,SVC_STATUS_INVALID_PARAM,SVC_STATUS_ERRORπ¨COMMAND_FCS_GET_PROVISION_DATAβ reads the provisioning data; the status it returns isSVC_STATUS_OK,SVC_STATUS_INVALID_PARAM,SVC_STATUS_ERRORπCOMMAND_FCS_DATA_ENCRYPTIONβ encrypts the data; the status it returns isSVC_STATUS_OK,SVC_STATUS_INVALID_PARAM,SVC_STATUS_ERRORπCOMMAND_FCS_DATA_DECRYPTIONβ decrypts the data; the status it returns isSVC_STATUS_OK,SVC_STATUS_INVALID_PARAM,SVC_STATUS_ERRORπCOMMAND_FCS_RANDOM_NUMBER_GENβ generates a random number; the status it returns isSVC_STATUS_OK,SVC_STATUS_ERRORπ²COMMAND_POLL_SERVICE_STATUSβ polls whether the service request is complete; the status it returns isSVC_STATUS_OK,SVC_STATUS_ERRORorSVC_STATUS_BUSY(and yeah, the original spells it "statis" β we're keeping the lore fr fr π)COMMAND_MBOX_SEND_CMDβ sends a generic mailbox command; the status it returns isSVC_STATUS_OKorSVC_STATUS_ERRORπ¬COMMAND_SMC_SVC_VERSIONβ non-mailbox SMC SVC API Version; the status it returns isSVC_STATUS_OKπ§¬COMMAND_HWMON_READTEMPβ queries the temperature from the hardware monitor; the status it returns isSVC_STATUS_OKorSVC_STATUS_ERRORπ‘οΈCOMMAND_HWMON_READVOLTβ queries the voltage from the hardware monitor; the status it returns isSVC_STATUS_OKorSVC_STATUS_ERRORβ‘COMMAND_SMC_ATF_BUILD_VERβ non-mailbox SMC ATF Build Version; the status it returns isSVC_STATUS_OKποΈ
π¦ SEE ALSO π¦
like, go look at the kernel file ./include/linux/firmware/intel/stratix10-svc-client.h first, and then these besties (all (9) pages, mwah π):
struct stratix10_svc_client_msg(9), struct stratix10_svc_command_config_type(9), struct stratix10_svc_cb_data(9), struct stratix10_svc_client(9), stratix10_svc_request_channel_byname(9), stratix10_svc_free_channel(9), stratix10_svc_allocate_memory(9), stratix10_svc_free_memory(9), stratix10_svc_send(9), stratix10_svc_done(9), async_callback_t(9), stratix10_svc_add_async_client(9), stratix10_svc_remove_async_client(9), stratix10_svc_async_send(9), stratix10_svc_async_poll(9), stratix10_svc_async_done(9)
anyway that's the whole page, you ate that π
this came from ./include/linux/firmware/intel, dated October 2026, and that's the tea bestie πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms