[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1236268057.2527.23.camel@ht.satnam>
Date: Thu, 05 Mar 2009 21:17:37 +0530
From: Jaswinder Singh Rajput <jaswinder@...nel.org>
To: Andreas Herrmann <andreas.herrmann3@....com>
Cc: Ingo Molnar <mingo@...e.hu>, "H. Peter Anvin" <hpa@...or.com>,
x86 maintainers <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [git-pull -tip] x86: msr architecture debug code
On Thu, 2009-03-05 at 15:37 +0100, Andreas Herrmann wrote:
> On Thu, Mar 05, 2009 at 07:42:26PM +0530, Jaswinder Singh Rajput wrote:
> > On Thu, 2009-03-05 at 14:54 +0100, Andreas Herrmann wrote:
> >
> > > All nice suggestions but why in-kernel?
> > >
> >
> > In Kernel Space:
> >
> > We can read/write MSRs and can change the bits and see it effect without
> > writing any code.
>
> Sorry, I can't (or maybe I don't like to) follow.
>
> (BTW, you don't even need to write C-code. You can use a one-liner in perl
> or python to seek and read any MSR using /dev/cpu/*/msr.)
>
You are running these commands on shell when every thing is working.
What you will do if you are not getting the shell and kernel is dumping
or rebooting before that.
--
JSR
--
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