Re: [Xen-devel] [PATCH] x86/amd: fix crash as Xen Dom0 on AMDTrinity systems

From: Konrad Rzeszutek Wilk
Date: Wed May 30 2012 - 12:55:47 EST


On Wed, May 30, 2012 at 04:35:41PM +0100, Jan Beulich wrote:
> >>> On 30.05.12 at 17:15, "H. Peter Anvin" <hpa@xxxxxxxxx> wrote:
> > On 05/30/2012 08:08 AM, Jan Beulich wrote:
> >>
> >> Xen does trap and emulate (possibly just ignore) both instructions.
> >>
> >
> > Then why the fsck is there paravirt_crap on this?
>
> I have no clue. Jeremy, Konrad?

No idea. The git 132ec92f says:

Borislav Petkov <petkovbb@xxxxxxxxxxxxxx>
Date: Mon Aug 31 09:50:09 2009 +0200

x86, msr: Add rd/wrmsr interfaces with preset registers

native_{rdmsr,wrmsr}_safe_regs are two new interfaces which allow
presetting of a subset of eight x86 GPRs before executing the rd/wrmsr
instructions. This is needed at least on AMD K8 for accessing an erratum
workaround MSR.

Originally based on an idea by H. Peter Anvin.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/