From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753377Ab2ITRt5 (ORCPT ); Thu, 20 Sep 2012 13:49:57 -0400 Received: from mail-qa0-f53.google.com ([209.85.216.53]:56952 "EHLO mail-qa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752577Ab2ITRtz (ORCPT ); Thu, 20 Sep 2012 13:49:55 -0400 Date: Thu, 20 Sep 2012 13:49:53 -0400 (EDT) From: Nicolas Pitre To: Linus Walleij cc: paulmck@linux.vnet.ibm.com, John Stultz , Daniel Lezcano , linux-kernel@vger.kernel.org Subject: Re: RCU lockup in the SMP idle thread, help... In-Reply-To: Message-ID: References: <50520E8A.9030408@linaro.org> <20120913165844.GW4257@linux.vnet.ibm.com> <20120914175322.GI4257@linux.vnet.ibm.com> <20120920000313.GH2455@linux.vnet.ibm.com> User-Agent: Alpine 2.02 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Sep 2012, Linus Walleij wrote: > On Thu, Sep 20, 2012 at 2:03 AM, Paul E. McKenney > wrote: > > > Any thoughts on the feasibility of implementing NMI-based stack backtraces > > for ARM? > > Nico's department, so let's page him. That _could_ be done, at least in theory, with some restrictions. However in practice ... > In IIRC ux500 all NMIs are reserved for the secure world, so it's > basically a no can do. :-( That's the main issue here: not all platforms allow FIQs ( a FIQ is the closest to a NMI on ARM) to be available to the operating system. However, for where this is possible, there is a patch series from Anton Vorontsov implementing FIQ based KGDB support which might be useful here. Nicolas