firmware: stratix10-svc: fix FCS SMC call kernel-doc
PATCH v3 1/1 firmware: stratix10-svc: fix FCS SMC call kernel-doc
From: Genevieve Chan <[email protected]>
Correct kernel-doc errors for two FCS SMC calls:
INTEL_SIP_SMC_FCS_SEND_CERTIFICATE:
- Describe as async to match STD_CALL_VAL usage
- Replace INTEL_SIP_SMC_FCS_REJECTED with INTEL_SIP_SMC_REJECTED
INTEL_SIP_SMC_FCS_GET_PROVISION_DATA:
- Replace FCS-specific status macros with standard status macros (INTEL_SIP_SMC_STATUS_ERROR and INTEL_SIP_SMC_STATUS_REJECTED)
- Restore return register documentation for a1 (mailbox error), a2 (physical address), and a3 (structure size)
---
Changes in v3:
- Use 12-character commit hashes in Fixes tags
- Remove 7.2+ stable Cc prerequisite line
- Use 6.0+ for stable Cc tag
- No changes in code
--- include/linux/firmware/intel/stratix10-smc.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
include/linux/firmware/intel/stratix10-smc.h +7 -5
@@ -606,7 +606,7 @@ INTEL_SIP_SMC_FAST_CALL_VAL(INTEL_SIP_SMC_FUNCID_FPGA_CONFIG_COMPLETED_WRITE)/** * Request INTEL_SIP_SMC_FUNCID_FCS_SEND_CERTIFICATE -* Sync call to send a signed certificate +* Async call to send a signed certificate * * Call register usage: * a0 INTEL_SIP_SMC_FCS_SEND_CERTIFICATE
@@ -615,7 +615,7 @@ INTEL_SIP_SMC_FAST_CALL_VAL(INTEL_SIP_SMC_FUNCID_FPGA_CONFIG_COMPLETED_WRITE)* a3-a7 not used * * Return status: -* a0 INTEL_SIP_SMC_STATUS_OK or INTEL_SIP_SMC_FCS_REJECTED +* a0 INTEL_SIP_SMC_STATUS_OK or INTEL_SIP_SMC_REJECTED * a1-a3 not used */ #define INTEL_SIP_SMC_FUNCID_FCS_SEND_CERTIFICATE 93
@@ -631,9 +631,11 @@ INTEL_SIP_SMC_FAST_CALL_VAL(INTEL_SIP_SMC_FUNCID_FPGA_CONFIG_COMPLETED_WRITE)* a1-a7 not used * * Return status: -* a0 INTEL_SIP_SMC_STATUS_OK, INTEL_SIP_SMC_FCS_ERROR or -* INTEL_SIP_SMC_FCS_REJECTED -* a1-a3 not used +* a0 INTEL_SIP_SMC_STATUS_OK, INTEL_SIP_SMC_STATUS_ERROR or +* INTEL_SIP_SMC_STATUS_REJECTED +* a1 mailbox error if a0 is INTEL_SIP_SMC_STATUS_ERROR +* a2 physical address for the structure of fuse and key hashes +* a3 the size of structure * */ #define INTEL_SIP_SMC_FUNCID_FCS_GET_PROVISION_DATA 94
Signature · 1 line
2.43.7
Dinh Nguyen
maintainerQuoted 8 lines · On 7/6/26 00:55, [email protected] wrote:
From: Genevieve Chan <[email protected]>
Correct kernel-doc errors for two FCS SMC calls:
INTEL_SIP_SMC_FCS_SEND_CERTIFICATE:
- Describe as async to matchSTD_CALL_VALusage
- ReplaceINTEL_SIP_SMC_FCS_REJECTEDwithINTEL_SIP_SMC_REJECTED
Quoted 8 lines
INTEL_SIP_SMC_FCS_GET_PROVISION_DATA:
- Replace FCS-specific status macros with standard status macros (INTEL_SIP_SMC_STATUS_ERRORandINTEL_SIP_SMC_STATUS_REJECTED)
- Restore return register documentation for a1 (mailbox error), a2 (physical address), and a3 (structure size)Fixes 4a4709d470e6 ("firmware: stratix10-svc: add new FCS commands")Fixes 4b0a32016347 ("firmware: stratix10-svc: change get provision data to async SMC call")
I see how this patch fixes 4a4709d470e6 but I don't see how this patch fixes 4b0a32016347. Can you justify how it fixes the second commit?
Thanks,
Dinh
Quoted 17 lines · Dinh Nguyen
Quoted 14 lines · On 7/6/26 00:55, [email protected] wrote:
From: Genevieve Chan <[email protected]>
Correct kernel-doc errors for two FCS SMC calls:
INTEL_SIP_SMC_FCS_SEND_CERTIFICATE:
- Describe as async to matchSTD_CALL_VALusage
- ReplaceINTEL_SIP_SMC_FCS_REJECTEDwithINTEL_SIP_SMC_REJECTED
INTEL_SIP_SMC_FCS_GET_PROVISION_DATA:
- Replace FCS-specific status macros with standard status macros (INTEL_SIP_SMC_STATUS_ERRORandINTEL_SIP_SMC_STATUS_REJECTED)
- Restore return register documentation for a1 (mailbox error), a2 (physical address), and a3 (structure size)
Quoted 4 lines
Quoted 2 lines
Fixes 4a4709d470e6 ("firmware: stratix10-svc: add new FCS commands")Fixes 4b0a32016347 ("firmware: stratix10-svc: change get provision data to async SMC call")I see how this patch fixes
4a4709d470e6but I don't see how this patch fixes4b0a32016347. Can you justify how it fixes the second commit?
Hi Dinh,
The fixes for 4b0a32016347 includes modifying the original macro definition description section for register a1-a3 as well as the return status description of the INTEL_SIP_SMC_FCS_GET_PROVISION_DATA cmd.
Thanks,
Genevieve Chan
Quoted 3 lines
Thanks,
Dinh
Quoted 18 lines · Genevieve
Quoted 17 lines · Dinh Nguyen
Quoted 14 lines · On 7/6/26 00:55, [email protected] wrote:
From: Genevieve Chan <[email protected]>
Correct kernel-doc errors for two FCS SMC calls:
INTEL_SIP_SMC_FCS_SEND_CERTIFICATE:
- Describe as async to matchSTD_CALL_VALusage
- ReplaceINTEL_SIP_SMC_FCS_REJECTEDwithINTEL_SIP_SMC_REJECTED
INTEL_SIP_SMC_FCS_GET_PROVISION_DATA:
- Replace FCS-specific status macros with standard status macros (INTEL_SIP_SMC_STATUS_ERRORandINTEL_SIP_SMC_STATUS_REJECTED)
- Restore return register documentation for a1 (mailbox error), a2 (physical address), and a3 (structure size)
Quoted 9 lines
Quoted 4 lines
Quoted 2 lines
Fixes 4a4709d470e6 ("firmware: stratix10-svc: add new FCS commands")Fixes 4b0a32016347 ("firmware: stratix10-svc: change get provision data to async SMC call")I see how this patch fixes
4a4709d470e6but I don't see how this patch fixes4b0a32016347. Can you justify how it fixes the second commit?Hi Dinh,
The fixes for
4b0a32016347includes modifying the original macro definition description section for register a1-a3 as well as the return status description of theINTEL_SIP_SMC_FCS_GET_PROVISION_DATAcmd.
Applied!
Thanks,
Dinh