Fix FID for FFA_SECONDARY_EP_REGISTER_64
PATCH 1/1 Fix FID for FFA_SECONDARY_EP_REGISTER_64
Commit ef30482b4ad6 ("plat-vexpress: FF-A: update secondary core init") updated secondary core init for the vexpress platform. In the process, it used FFA_SECONDARY_EP_REGISTER with FID 0xC4000084 based on the ALP0 ABI of the spec and the TF-A upstream implementation at the time with a note that the function ID needs to updated to the one finalied in the spec and the TF-A implementation.
Assuming it is all finalised now, let us update the same with correct/ updated FID 0xC4000087.
--- core/arch/arm/include/ffa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
core/arch/arm/include/ffa.h +1 -1
@@ -69,7 +69,7 @@#define FFA_MEM_RECLAIM U(0x84000077)#define FFA_MEM_FRAG_RX U(0x8400007A)#define FFA_MEM_FRAG_TX U(0x8400007B) -#define FFA_SECONDARY_EP_REGISTER_64 U(0xC4000084) +#define FFA_SECONDARY_EP_REGISTER_64 U(0xC4000087)/* Special value for traffic targeted to the Hypervisor or SPM */ #define FFA_TARGET_INFO_MBZ U(0x0)
Signature · 1 line
2.25.1
Hi Sudeep,
Quoted 24 lines · Sudeep Holla
Commit
ef30482b4ad6("plat-vexpress: FF-A: update secondary core init") updated secondary core init for the vexpress platform. In the process, it usedFFA_SECONDARY_EP_REGISTERwith FID0xC4000084based on the ALP0 ABI of the spec and the TF-A upstream implementation at the time with a note that the function ID needs to updated to the one finalied in the spec and the TF-A implementation.Assuming it is all finalised now, let us update the same with correct/ updated FID
0xC4000087.Cc Jens Wiklander <[email protected]>Cc Olivier Deprez <[email protected]>Cc Balint Dobszay <[email protected]>Signed-off-by Sudeep Holla <[email protected]>--- core/arch/arm/include/ffa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)core/arch/arm/include/ffa.h +0
-0
core/arch/arm/include/ffa.h line 75
Quoted 8 lines
core/arch/arm/include/ffa.h +1
-1@@ -69,7 +69,7 @@#define FFA_MEM_RECLAIM U(0x84000077)#define FFA_MEM_FRAG_RX U(0x8400007A)#define FFA_MEM_FRAG_TX U(0x8400007B) -#define FFA_SECONDARY_EP_REGISTER_64 U(0xC4000084) +#define FFA_SECONDARY_EP_REGISTER_64 U(0xC4000087)/* Special value for traffic targeted to the Hypervisor or SPM */ #define FFA_TARGET_INFO_MBZ U(0x0)
Thanks for the patch. We normally don't take patches on the mailing list but via GitHub Pull Requests instead. Nevertheless, I have created PR 4886 [1] with this patch which is trivial enough that I can handle it myself I suppose (i.e., apply review/ack tags and merge if acceptable).
[1] https://github.com/OP-TEE/optee_os/pull/4886
Signature · 1 line
Jerome
Hi Jerome,
Quoted 9 lines · Jerome Forissier
Hi Sudeep,
Thanks for the patch. We normally don't take patches on the mailing list but via GitHub Pull Requests instead. Nevertheless, I have created PR 4886 [1] with this patch which is trivial enough that I can handle it myself I suppose (i.e., apply review/ack tags and merge if acceptable).
Thanks! I realised that just after sending the patch. I waited to get confirmation but you made it easy for me by creating the pull request. I will make sure to remember and do that myself next time.
Thanks again.
Signature · 2 lines
Regards, Sudeep