From: Daniel Thompson Subject: Re: [PATCH v8 0/4] improvements to the nmi_backtrace code Date: Thu, 18 Aug 2016 16:46:05 +0100 Message-ID: References: <1471377024-2244-1-git-send-email-cmetcalf@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1471377024-2244-1-git-send-email-cmetcalf@mellanox.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Chris Metcalf , Peter Zijlstra , "Rafael J. Wysocki" , Petr Mladek , Russell King , Thomas Gleixner , Aaron Tomlin , Ingo Molnar , Andrew Morton , Mark Rutland , Lorenzo Pieralisi , Ralf Baechle , "David S. Miller" , sparclinux@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org List-Id: linux-arch.vger.kernel.org On 16/08/16 20:50, Chris Metcalf wrote: > This is a rebase of the series onto v4.8-rc2, plus some changes from > various reviewers. > > From the version 1 cover letter: > > This patch series modifies the trigger_xxx_backtrace() NMI-based > remote backtracing code to make it more flexible, and makes a few > small improvements along the way. > > The motivation comes from the task isolation code, where there are > scenarios where we want to be able to diagnose a case where some cpu > is about to interrupt a task-isolated cpu. It can be helpful to > see both where the interrupting cpu is, and also an approximation > of where the cpu that is being interrupted is. The nmi_backtrace > framework allows us to discover the stack of the interrupted cpu. > > I've tested that the change works as desired on tile, and build-tested > x86, arm, mips, and sparc64. For x86 I confirmed that the generic > cpuidle stuff as well as the architecture-specific routines are in the > new cpuidle section. For arm, mips, and sparc I just build-tested it > and made sure the generic cpuidle routines were in the new cpuidle > section, but I didn't attempt to figure out which the > platform-specific idle routines might be. That might be more usefully > done by someone with platform experience in follow-up patches. You can add runtime testing on arm to the list (I didn't try to exploit the new one-line-for-idle feature but there were no regressions). All patches: Tested-by: Daniel Thompson Daniel.