OP-TEE / build

Makefiles to use OP-TEE on various platforms
106 stars 209 forks source link

Hafnium support #750

Closed sudeep-holla closed 3 days ago

sudeep-holla commented 1 month ago

This add support to run FVP with SPMC_AT_EL={n,1,2} very similar to QEMU support. Most of the work is based on the QEMU changes. PAUTH and MEMTAG in OPTEE is not add and also other features like SME and SVE yet.

jenswi-linaro commented 1 month ago

Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

sudeep-holla commented 1 month ago

Ah right then I will have to make the changes for fvp-psa-sp.mk in this set itself. I miss read the TF_A_FLAGS assignment before includingfvp.mk in fvp-psa-sp.mk, assumed it won't override what fvp.mk does. I will fix it as per your suggestions.

sudeep-holla commented 1 month ago

Note the below 3 commits can be squashed into one if bisectablility is important. i.e. After first 2 commits, fvp-psa-sp.mk would not build for the issue @balint-dobszay-arm mentioned.

6800dcda4515 fvp: ts: Update TS/PSA makefile to use introduced SPMC_AT_EL flag a72725c971e8 fvp: Rename and update manifest for S-EL1 SPMC bbed154f43e2 fvp: Introducing SPMC_AT_EL

sudeep-holla commented 1 week ago

Any updates on this ? I (mostly work done by Olivier) have patches to upgrade TF-A an Hafnium to v2.11. I just don't want to expand the scope of this MR to include that too. I will post them separate once this is merged.

jforissier commented 1 week ago

For "fvp: ts: Update TS/PSA makefile to use introduced SPMC_AT_EL flag": LGTM, please apply:

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>

Then this will be ready to merge. Thanks!