Message ID | 1393441857-15472-2-git-send-email-sebastian.capella@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDHNDAGIUACRBZ7YXCMAKGQE6QUXBBQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f70.google.com (mail-pb0-f70.google.com [209.85.160.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8AEC2203C4 for <linaro@patches.linaro.org>; Wed, 26 Feb 2014 19:11:36 +0000 (UTC) Received: by mail-pb0-f70.google.com with SMTP id rp16sf3216721pbb.5 for <linaro@patches.linaro.org>; Wed, 26 Feb 2014 11:11:35 -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=EVhGjr8qdSVkDdluc+FA5gg+uRquSwIrxWrINAwDnoY=; b=Ry75HuAQsQW3mtgKAI2D6l/rFRknuEAREwu6Z+PusFICjv98abL4oDy9x7xG/0IYyI QBFZytjuLVeVVGbKAIIG+oVp0uKyg+gD63ekvU6MvXTTsNkYYL3WUXRssjdy/0uXe394 +pkm6Su6TY+nUZCsqVZV0UBcBtdPzUFBzoPJmsN/37bSLfl5P83MRl6pCKslojqbt5fB D41NDCvLOtQhfURlHVF+BFqDonBh3Ha8Gr/Y8rXQr0Z0AIXAZYryxFIUoNU0rzQ6Nq9Q ypQVUfIMagXNuI3vxKFgQOUYsJRPC+NVpX1Fbh6JnjE3go6CwDeImjowahUbFiUSOIhw W/bw== X-Gm-Message-State: ALoCoQlzDc30fTk8YyeRwwzpMXSm0hs2gCAmRVIUTfbWvEGPz9GCtjvKSLy18/J5RPfnMp/dbKKy X-Received: by 10.67.3.34 with SMTP id bt2mr4536020pad.16.1393441895751; Wed, 26 Feb 2014 11:11:35 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.149 with SMTP id c21ls372408qgd.52.gmail; Wed, 26 Feb 2014 11:11:35 -0800 (PST) X-Received: by 10.221.29.196 with SMTP id rz4mr7139513vcb.8.1393441895579; Wed, 26 Feb 2014 11:11:35 -0800 (PST) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id uw4si473994vdc.105.2014.02.26.11.11.35 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Feb 2014 11:11:35 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.175 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.175; Received: by mail-ve0-f175.google.com with SMTP id oy12so2663566veb.20 for <patchwork-forward@linaro.org>; Wed, 26 Feb 2014 11:11:35 -0800 (PST) X-Received: by 10.59.5.102 with SMTP id cl6mr1093625ved.41.1393441895456; Wed, 26 Feb 2014 11:11: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 u4csp48457vcz; Wed, 26 Feb 2014 11:11:34 -0800 (PST) X-Received: by 10.68.184.66 with SMTP id es2mr8670991pbc.19.1393441894395; Wed, 26 Feb 2014 11:11:34 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wq4si1936252pbc.167.2014.02.26.11.11.33; Wed, 26 Feb 2014 11:11: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 S1754365AbaBZTLM (ORCPT <rfc822;linus.walleij@linaro.org> + 26 others); Wed, 26 Feb 2014 14:11:12 -0500 Received: from mail-pd0-f178.google.com ([209.85.192.178]:59088 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753670AbaBZTLJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Feb 2014 14:11:09 -0500 Received: by mail-pd0-f178.google.com with SMTP id x10so1328577pdj.23 for <linux-kernel@vger.kernel.org>; Wed, 26 Feb 2014 11:11:08 -0800 (PST) X-Received: by 10.68.171.67 with SMTP id as3mr8456095pbc.105.1393441868241; Wed, 26 Feb 2014 11:11:08 -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 hc4sm5851715pbc.29.2014.02.26.11.11.05 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 26 Feb 2014 11:11:06 -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>, Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Subject: [PATCH v4 1/2] ARM: avoid tracers in soft_restart Date: Wed, 26 Feb 2014 11:10:56 -0800 Message-Id: <1393441857-15472-2-git-send-email-sebastian.capella@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1393441857-15472-1-git-send-email-sebastian.capella@linaro.org> References: <1393441857-15472-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.175 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 recursive aborts when called with irqs disabled and using a temporary stack (hibernation). 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> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> --- arch/arm/kernel/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)