>1. does my above test approves that PPA support smc command from a 32-bit core?
>2. if no, can you please share me the correct way to use PSCI?
>
[Platon] It is not possible to tell what is wrong with your code without stepping through it in a debugger. Make sure you are using the most recent PPA binary and see how 32-bit Linux invokes PSCI calls in the following kernel source files:
arch/arm/kernel/psci-call.S
arch/arm/kernel/psci.c
arch/arm/kernel/psci_smp.c
>3.Is there a workaround to boot up a secondary core without using smc command?
[Platon] See how PPA does it in soc.c. Refer to LS1043ARM, Sections 12.3.15 and 11.3.54 for more
information. If you are doing it directly from your code, PPA should not be loaded/initialized.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------