From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Capella Subject: Re: [PATCH v7 1/2] ARM: avoid tracers in soft_restart Date: Thu, 06 Mar 2014 15:45:53 -0800 Message-ID: <531908b6.44f8440a.03ab.0cce@mx.google.com> References: <1394016605-24120-1-git-send-email-sebastian.capella@linaro.org> <1394016605-24120-2-git-send-email-sebastian.capella@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Return-path: Received: from mail-pa0-f53.google.com ([209.85.220.53]:36610 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751953AbaCFXqA convert rfc822-to-8bit (ORCPT ); Thu, 6 Mar 2014 18:46:00 -0500 Received: by mail-pa0-f53.google.com with SMTP id ld10so3323358pab.26 for ; Thu, 06 Mar 2014 15:46:00 -0800 (PST) In-Reply-To: <1394016605-24120-2-git-send-email-sebastian.capella@linaro.org> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Sebastian Capella , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org Cc: Russell King , Andrew Morton , Thomas Gleixner , Will Deacon , Robin Holt , Lorenzo Pieralisi , Konstantin Khlebnikov , Steven Capper , Stephen Warren , Tejun Heo Quoting Sebastian Capella (2014-03-05 02:50:04) > 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 > Cc: Russell King > Cc: Andrew Morton > Cc: Thomas Gleixner > Cc: Will Deacon > Cc: Robin Holt > Cc: Lorenzo Pieralisi > Cc: Konstantin Khlebnikov > Cc: Steven Capper > Cc: Stephen Warren > Cc: Tejun Heo > --- > arch/arm/kernel/process.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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. */ > -- > 1.7.9.5 Hi, I have not heard any feedback on this change, since V3 of the patchset. Is everyone ok with this as it is? Thomas, thanks for proposing this, is this looking ok to you? Thanks! Sebastian