From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933252AbcJTQfE (ORCPT ); Thu, 20 Oct 2016 12:35:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51110 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752047AbcJTQfD (ORCPT ); Thu, 20 Oct 2016 12:35:03 -0400 From: Josh Poimboeuf To: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Andy Lutomirski , Linus Torvalds , Brian Gerst , Peter Zijlstra Subject: [PATCH 0/6] x86/dumpstack: print entry regs when dumping the stack Date: Thu, 20 Oct 2016 11:34:39 -0500 Message-Id: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 20 Oct 2016 16:35:03 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Here's the next round of dumpstack-related patches. This adds a mechanism to identify any pt_regs on the stack so they can be printed in the stack dump. Josh Poimboeuf (6): x86/entry/unwind: create stack frames for saved interrupt registers x86/unwind: create stack frames for saved syscall registers x86/dumpstack: print stack identifier on its own line x86/dumpstack: print any pt_regs found on the stack x86/dumpstack: fix duplicate RIP address display in __show_regs() x86/dumpstack: print orig_ax in __show_regs() arch/x86/entry/calling.h | 20 ++++++++ arch/x86/entry/entry_32.S | 33 ++++++++++-- arch/x86/entry/entry_64.S | 10 ++-- arch/x86/include/asm/unwind.h | 16 +++++- arch/x86/kernel/dumpstack.c | 24 +++++++-- arch/x86/kernel/process_64.c | 11 ++-- arch/x86/kernel/unwind_frame.c | 111 ++++++++++++++++++++++++++++++++++++++--- 7 files changed, 201 insertions(+), 24 deletions(-) -- 2.7.4