This problem is already solved. :-)
On 06/29/2015 01:52 PM, Mark Rutland wrote:
On Mon, Jun 29, 2015 at 06:52:32PM +0100, Vitaly Andrianov wrote:Hi Mark,
This commit add cpu_die implementation
Signed-off-by: Vitaly Andrianov <vitalya@xxxxxx>
---
The discussion of the "keystone: psci: adds cpu_die implementation"
commit
shows that if PCSI is enabled platform code doesn't need that
implementation
at all. Having PSCI commands in DTB should be sufficient. Unfortunately
Keystone with LPAE enable requires some additional development.
I don't follow.
What do you need to implement for LPAE?
The Keystone platform needs to set ttbr1 when it boots secondary core.
It is done in the keystone_smp_secondary_initmem(), which is
.smp_secondary_init member of the keystone_smp_ops. I couldn't find a
way how I can add similar function to psci_smp_ops.
Do you have any idea?
Why not implement that rather than adding more platform code that you'll
likely want to remove later anyway?
If I can solve the above problem, I will not add this code.