Hi experts,
I'm using the Juno r1 board with Linaro OPTEE released normal OS + secure OS.
After some tests, I find that every time when the Client Application (CA) calls the function of a Trusted Application (TA), the secure OS is just running on the same core as the CA.
So it's like when CA is on core 0 and it's calling secure function via smc, then the TA would run core 0 too.
I'm wondering is there anyway to set CPU affinity of the secure OS so no matter on which core the smc is generated, the secure OS could always be fixed on the core I need like core 2?
I think this issue should be related to the trusted firmware design such as the function opteed_smc_handler. However, after reading some documents and code, I cannot find the place the set this affinity.
Thank you in advance.
Simon