From: Mark Salter msalter@redhat.com
Parking protocol wakes secondary cores with an interrupt. This patch adds an additional sev() to send an event. This is a temporary hack for APM Mustang board and not intended for upstream.
Signed-off-by: Mark Salter msalter@redhat.com --- arch/arm64/kernel/smp_parking_protocol.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/arch/arm64/kernel/smp_parking_protocol.c b/arch/arm64/kernel/smp_parking_protocol.c index e9c0c68..e1153ce 100644 --- a/arch/arm64/kernel/smp_parking_protocol.c +++ b/arch/arm64/kernel/smp_parking_protocol.c @@ -94,6 +94,9 @@ static int smp_parking_protocol_cpu_boot(unsigned int cpu) __flush_dcache_area(mailbox, sizeof(*mailbox)); __smp_boot_wakeup(cpu);
+ /* temp hack for broken firmware */ + sev(); + iounmap(mailbox);
return 0;