[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100415025409.GB8014@linux-sh.org>
Date: Thu, 15 Apr 2010 11:54:10 +0900
From: Paul Mundt <lethal@...ux-sh.org>
To: David VomLehn <dvomlehn@...co.com>
Cc: linux-arch@...r.kernel.org, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/23] Make register values available to panic notifiers
On Sun, Apr 11, 2010 at 11:06:09PM -0700, David VomLehn wrote:
> o A save_ptregs() function for the processor. I've taken a whack at
> doing this for all of the processors. I have tested x86 and MIPS
> versions. I was able to find cross compilers for ARM, ... and the
> code compiles cleanly. Everything else, well, what you see is sheer
> fantasy. You are welcome to chortle with merriment.
Perhaps I'm missing something obvious, but is there some reason why you
can't just reuse the crash_setup_regs() code? MIPS doesn't implement it
presumably because it's lacking kexec crash kernel support, but it would
make sense to make current ptregs saving more generic if there are going
to be multiple users for it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists