From patchwork Mon Mar 5 08:33:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 7085 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 12B121CCACC for ; Mon, 5 Mar 2012 08:34:11 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id C661CA1844A for ; Mon, 5 Mar 2012 08:34:10 +0000 (UTC) Received: by iage36 with SMTP id e36so7061952iag.11 for ; Mon, 05 Mar 2012 00:34:10 -0800 (PST) Received: from mr.google.com ([10.50.197.135]) by 10.50.197.135 with SMTP id iu7mr5833038igc.50.1330936450205 (num_hops = 1); Mon, 05 Mar 2012 00:34:10 -0800 (PST) Received: by 10.50.197.135 with SMTP id iu7mr4841015igc.50.1330936450168; Mon, 05 Mar 2012 00:34:10 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.53.18 with SMTP id k18csp19534ibg; Mon, 5 Mar 2012 00:34:09 -0800 (PST) Received: by 10.14.94.200 with SMTP id n48mr8228213eef.48.1330936448466; Mon, 05 Mar 2012 00:34:08 -0800 (PST) Received: from eu1sys200aog116.obsmtp.com (eu1sys200aog116.obsmtp.com. [207.126.144.141]) by mx.google.com with SMTP id h47si12078458eeo.162.2012.03.05.00.34.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Mar 2012 00:34:08 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.141 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.141; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.141 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob116.postini.com ([207.126.147.11]) with SMTP ID DSNKT1R6e7XFOk+vgGnPyq0tm8ykR+RD24cu@postini.com; Mon, 05 Mar 2012 08:34:07 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 02652122; Mon, 5 Mar 2012 08:25:32 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 573E91462; Mon, 5 Mar 2012 08:33:38 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 998F924C2F0; Mon, 5 Mar 2012 09:33:15 +0100 (CET) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.3.83.0; Mon, 5 Mar 2012 09:33:19 +0100 From: Linus Walleij To: Cc: Jonas Aaberg , Linus Walleij Subject: [PATCH] ARM: ux500: wake secondary cpu via resched Date: Mon, 5 Mar 2012 09:33:13 +0100 Message-ID: <1330936393-14105-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.8 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQnUqHLtOVtjQi3zSqtwP7FgH2k3Ph4BoSdYHExiHXUG+RWxvSK6iXsaGRE6jVkl6RRRYsMV From: Jonas Aaberg Wake secondary cpu via resched instead of "Unknown IPI message 0x1" Signed-off-by: Jonas Aaberg Reviewed-by: Rickard Andersson Signed-off-by: Linus Walleij --- arch/arm/mach-ux500/platsmp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c index d2058ef..eff5842 100644 --- a/arch/arm/mach-ux500/platsmp.c +++ b/arch/arm/mach-ux500/platsmp.c @@ -99,7 +99,7 @@ int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle) */ write_pen_release(cpu_logical_map(cpu)); - gic_raise_softirq(cpumask_of(cpu), 1); + smp_send_reschedule(cpu); timeout = jiffies + (1 * HZ); while (time_before(jiffies, timeout)) {