Message ID | 1393372920-3896-3-git-send-email-sebastian.capella@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDHNDAGIUACRBHG6WSMAKGQECU6N3OQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 305C820543 for <linaro@patches.linaro.org>; Wed, 26 Feb 2014 00:02:37 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id gq1sf46365obb.7 for <linaro@patches.linaro.org>; Tue, 25 Feb 2014 16:02:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=YgEHiXKDaf3GnQyO7EcmCvs70vdJFMbjUgoBwl2QyXY=; b=A3EG3ts+7DMlJkjbOnqOJWBg++XQALoFhqFEIWwTvqPuTE78MZ5GZP/t7liOjOMyc7 eJKRyQPb+VSt+RKJOglXEGavf9gqC2VzCqw7fkWe+j8aOLEUF9XLDczu9dlQDcedrd1s 4LaUzoLJsdLWpnmv884dtkthgmGFSBs2741INbhPtQ9YwalTVV7TsZufUpUI7lp7yrRW gZQIHzVtkNnROQlHp7kCTnZO1PJ5F/SjVsZopcD2/CzSh9q6vazWTm9/Jk5ZieVkeK41 cj8kPBx4/tJIBA0Gj8xBwjhitmDHcek8dCizOsm4QjmDmo7MTQQiKxuuZVQUEAF8s8N5 5U0A== X-Gm-Message-State: ALoCoQnU2XQMNFE9oixy1qteZi7oWtsuDJVE2LnLKxQrs0nN/3vSsSAjnI+cjdirKWVRsKFiwjJq X-Received: by 10.42.235.132 with SMTP id kg4mr1122719icb.32.1393372956620; Tue, 25 Feb 2014 16:02:36 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.137 with SMTP id l9ls1873qgf.40.gmail; Tue, 25 Feb 2014 16:02:36 -0800 (PST) X-Received: by 10.58.49.129 with SMTP id u1mr3393644ven.0.1393372956474; Tue, 25 Feb 2014 16:02:36 -0800 (PST) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id i1si7263071vcl.6.2014.02.25.16.02.36 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 16:02:36 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id jw12so1333015veb.40 for <patchwork-forward@linaro.org>; Tue, 25 Feb 2014 16:02:36 -0800 (PST) X-Received: by 10.220.164.80 with SMTP id d16mr3259041vcy.15.1393372955238; Tue, 25 Feb 2014 16:02:35 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp176415vcz; Tue, 25 Feb 2014 16:02:34 -0800 (PST) X-Received: by 10.66.142.170 with SMTP id rx10mr4676684pab.117.1393372954225; Tue, 25 Feb 2014 16:02:34 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mo4si5127883pbc.351.2014.02.25.16.02.33; Tue, 25 Feb 2014 16:02:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753477AbaBZACQ (ORCPT <rfc822;linus.walleij@linaro.org> + 26 others); Tue, 25 Feb 2014 19:02:16 -0500 Received: from mail-pd0-f178.google.com ([209.85.192.178]:58468 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbaBZACN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Feb 2014 19:02:13 -0500 Received: by mail-pd0-f178.google.com with SMTP id x10so145380pdj.23 for <linux-kernel@vger.kernel.org>; Tue, 25 Feb 2014 16:02:13 -0800 (PST) X-Received: by 10.66.66.202 with SMTP id h10mr4818988pat.70.1393372933000; Tue, 25 Feb 2014 16:02:13 -0800 (PST) Received: from localhost (cpe-76-93-135-111.san.res.rr.com. [76.93.135.111]) by mx.google.com with ESMTPSA id vg1sm14597590pbc.44.2014.02.25.16.02.09 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 25 Feb 2014 16:02:11 -0800 (PST) From: Sebastian Capella <sebastian.capella@linaro.org> To: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org Cc: Sebastian Capella <sebastian.capella@linaro.org>, Russell King <linux@arm.linux.org.uk>, Andrew Morton <akpm@linux-foundation.org>, Thomas Gleixner <tglx@linutronix.de>, Will Deacon <will.deacon@arm.com>, Robin Holt <robin.m.holt@gmail.com> Subject: [PATCH v3 2/3] ARM: avoid tracers in soft_restart Date: Tue, 25 Feb 2014 16:01:59 -0800 Message-Id: <1393372920-3896-3-git-send-email-sebastian.capella@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1393372920-3896-1-git-send-email-sebastian.capella@linaro.org> References: <1393372920-3896-1-git-send-email-sebastian.capella@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sebastian.capella@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 92f7b15..f58b723 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -100,7 +100,7 @@ void soft_restart(unsigned long addr) u64 *stack = soft_restart_stack + ARRAY_SIZE(soft_restart_stack); /* Disable interrupts first */ - local_irq_disable(); + raw_local_irq_disable(); local_fiq_disable(); /* Disable the L2 if we're the last man standing. */
Use of tracers in local_irq_disable is causes abort loops when called with irqs disabled using a temporary stack. Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella <sebastian.capella@linaro.org> Cc: Russell King <linux@arm.linux.org.uk> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Will Deacon <will.deacon@arm.com> Cc: Robin Holt <robin.m.holt@gmail.com> --- arch/arm/kernel/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)