Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754671AbbGUJfA (ORCPT ); Tue, 21 Jul 2015 05:35:00 -0400 Received: from www.linutronix.de ([62.245.132.108]:59660 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754445AbbGUJe6 (ORCPT ); Tue, 21 Jul 2015 05:34:58 -0400 Date: Tue, 21 Jul 2015 11:34:12 +0200 (CEST) From: Thomas Gleixner To: Russell King - ARM Linux cc: LAK , x86@kernel.org, Daniel Thompson , "H. Peter Anvin" , Ingo Molnar , LKML , Peter Zijlstra Subject: Re: [PATCH 0/3] Shared NMI backtracing support for ARM/x86 In-Reply-To: <20150715203911.GF7557@n2100.arm.linux.org.uk> Message-ID: References: <20150715203911.GF7557@n2100.arm.linux.org.uk> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1675 Lines: 37 On Wed, 15 Jul 2015, Russell King - ARM Linux wrote: > Back in September, I stumbled across a single CPU IRQs-off lockup of an > ARM SMP system, and decided to hack something together based on a much > older hacky implementation used with StrongARM CPUs from early 2000s. > > This resulted in a copy of the x86 NMI backtrace code into ARM as it was > back then, and feedback indicated that it wasn't a good time to push > such an effort forward, as printk() in NMI context is dodgy. > > Over time, the x86 code has had this problem addressed, and last week > I updated the patch which I've been carrying in my tree to move the > shared code out of arch/x86 into lib/ rather than duplicating it, and > switch the ARM implementation to use it. > > Discussing this with Thomas Gliexner, he agreed to give it a test over > last weekend, and he has reported to me this evening "no explosion so > far". Since then, I've made a change to add the NOKPROBE_SYMBOL() to > the generic handler as per the x86 original code. > > I'm aware that there are other competing implementations out there - > Daniel has one based on my patch from September time, but I don't think > that goes far enough with code sharing. I'm also partially aware of > an implementation from Petr too. I think we should just move ahead and apply this lot. Any improvements can be done on top of this. Russell, please take it through your tree. Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/