From patchwork Thu Jan 3 17:54:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 1928541 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 9D7AEDF25A for ; Thu, 3 Jan 2013 17:58:57 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tqp14-0007ns-Eb; Thu, 03 Jan 2013 17:55:42 +0000 Received: from mail-yh0-f50.google.com ([209.85.213.50]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Tqp0E-0007Zy-P8 for linux-arm-kernel@lists.infradead.org; Thu, 03 Jan 2013 17:54:51 +0000 Received: by mail-yh0-f50.google.com with SMTP id q3so566181yhf.23 for ; Thu, 03 Jan 2013 09:54:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=zzuHY+UhZVm6LqHps8YkUrfV6b8TRQ6GyZz5vmkQMck=; b=EV9DTt9qPBSb4MgiEe25TOjMyML6Zp1bVwlprypsaCPbp+ux3o7jdAVai3Z2N2BMfT d10VrDZ+qQhxpPVWPF3vK2ZAlioSA8lRQzd3rGL5JLD9K5WRUaGcMpiIOvn4dPevUOCG e503BDJgjsvl1fCVUVyjIQjUP/dEvH1gsf5UpQJ2wW+m4tvCvWat8PY8MTkeo1uTIFLO gCr6/Xd/uY5MOiEOuVPUnGSp3KnLkoMJ9BWBSF9aokOkj0qjYMgPqbg2aFXJzhxx8ipT tIYqPa/uWKf955tingcPZxBNZkQYxF5r5Ve1siQM7mt87iM8NbXbbPOogcLyKNRz9Ox+ J5gg== X-Received: by 10.236.151.168 with SMTP id b28mr50087306yhk.11.1357235689466; Thu, 03 Jan 2013 09:54:49 -0800 (PST) Received: from rob-laptop.calxeda.com ([173.226.190.120]) by mx.google.com with ESMTPS id q4sm44227297anp.18.2013.01.03.09.54.48 (version=SSLv3 cipher=OTHER); Thu, 03 Jan 2013 09:54:48 -0800 (PST) From: Rob Herring To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 03/19] ARM: mach-ux500: use SGI0 to wake up the other core Date: Thu, 3 Jan 2013 11:54:12 -0600 Message-Id: <1357235668-9450-4-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1357235668-9450-1-git-send-email-robherring2@gmail.com> References: <1357235668-9450-1-git-send-email-robherring2@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130103_125451_103499_F087BB20 X-CRM114-Status: GOOD ( 11.26 ) X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.50 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (robherring2[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (robherring2[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: thomas.petazzoni@free-electrons.com, Russell King , Arnd Bergmann , Srinidhi Kasagar , Rob Herring , Olof Johansson X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Srinidhi Kasagar The commit 7d28e3eaa1a8e951251b942e7220f97114bd73b9 ("ARM: ux500: wake secondary cpu via resched") makes use of schedule IPI to wake up the secondary core which seems incorrect. Rather use SGI0. Signed-off-by: srinidhi kasagar Signed-off-by: Rob Herring Acked-by: Olof Johansson --- arch/arm/mach-ux500/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c index 3db7782..79531f1 100644 --- a/arch/arm/mach-ux500/platsmp.c +++ b/arch/arm/mach-ux500/platsmp.c @@ -91,7 +91,7 @@ static int __cpuinit ux500_boot_secondary(unsigned int cpu, struct task_struct * */ write_pen_release(cpu_logical_map(cpu)); - smp_send_reschedule(cpu); + gic_raise_softirq(cpumask_of(cpu), 0); timeout = jiffies + (1 * HZ); while (time_before(jiffies, timeout)) {