Re: kdb: add rdmsr and wrmsr commands for i386

2007-05-16 Thread Keith Owens
Bernardo Innocenti (on Thu, 17 May 2007 02:36:21 -0400) wrote: >Keith Owens wrote: > >> Before using MSR, you must first check that the cpu supports the >> instruction, rd/wrmsr cause an oops on 486 or earlier. Also using an >> invalid msr number causes an oops, so use rd/wrmsr_safe(). > >I didn't

Re: kdb: add rdmsr and wrmsr commands for i386

2007-05-16 Thread Bernardo Innocenti
Keith Owens wrote: > Before using MSR, you must first check that the cpu supports the > instruction, rd/wrmsr cause an oops on 486 or earlier. Also using an > invalid msr number causes an oops, so use rd/wrmsr_safe(). I didn't bother implementing those checks because kdb recovers nicely from GPF

Re: kdb: add rdmsr and wrmsr commands for i386

2007-05-16 Thread Keith Owens
by Mitch. Here's a thrid >revision of the patch with everything included: > >From 1850ca76585306e2484cf5e709434049f1df3c1f Mon Sep 17 00:00:00 2001 >From: Bernardo Innocenti <[EMAIL PROTECTED]> >Date: Tue, 15 May 2007 15:29:48 -0400 >Subject: [PATCH] kdb: add rdmsr and wrmsr

Re: kdb: add rdmsr and wrmsr commands for i386

2007-05-15 Thread Bernardo Innocenti
9434049f1df3c1f Mon Sep 17 00:00:00 2001 From: Bernardo Innocenti <[EMAIL PROTECTED]> Date: Tue, 15 May 2007 15:29:48 -0400 Subject: [PATCH] kdb: add rdmsr and wrmsr commands for i386 (take 3) The syntax is: rdmsr wrmsr Signed-off-by: Bernardo Innocent