Re: [PATCH] keystone: psci: adds cpu_die implementation

From: santosh shilimkar
Date: Fri Jun 26 2015 - 14:42:42 EST


On 6/26/2015 10:47 AM, Grygorii Strashko wrote:
Hi,

On 06/26/2015 07:57 PM, Vitaly Andrianov wrote:
On 06/25/2015 02:42 PM, santosh shilimkar wrote:


Another question is how well current PSCI implementation supports keystone2/LPAE !?

- It seems, at least below hack should be applied :(

+++ b/arch/arm/kernel/psci_smp.c
@@ -51,7 +51,7 @@ static int psci_boot_secondary(unsigned int cpu, struct task_struct *idle)
{
if (psci_ops.cpu_on)
return psci_ops.cpu_on(cpu_logical_map(cpu),
- __pa(secondary_startup));
+ virt_to_idmap(&secondary_startup));

This is legitimate change should be there irrespectively.
I think you should post this as a proper patch.

Regards,
Santosh

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/