Hi,
Am I correct in thinking that the Morello FVP supports PSCI function calls eg. CPU_ON?
As a follow up, I am attempting to call such a function (PSCI_VERSION). As per the SMC calling convention, I first load 0x8400 0000 into register 0, then call
smc #0
At this point the execution does not continue - in the FVP trace I can see that the last instruction executed is the smc instruction. Any ideas as to what I'm doing wrong?
I am running bare metal a custom kernel which initialises the cpu etc.
My issue was that I was loading my kernel as a bare metal post SCP firmware payload at EL3, thus replacing the TF-A firmware including the functions I was attempting to call with the SVC instruction. The solution is to use the second method of running as a TF-A payload at EL2 which is described here: git.morello-project.org/.../standalone-baremetal-readme.rst
Thank you for coming back to share the solution you discovered with us.