Re: [PATCH v5 00/12] x86/microcode: Early load microcode

From: H. Peter Anvin
Date: Tue Jan 08 2013 - 14:48:06 EST


On 01/08/2013 11:46 AM, Konrad Rzeszutek Wilk wrote:
>
> OK. I am trying to figure out whether this usage of native_* for the
> MSRs was done on purpose - and it sounds like the answer is no. If so -
> can it be done using the normal 'safe_rdmsr' and 'wrmsr'?
>
> That would allow at least in the case of Xen, to omit a whole bunch
> of MSR writes/reads during the boot that are not neccessary as we would
> not trap in the hypervisor - but could use the pvops version of
> read/write MSR calls to just do a nop.
>

Why is this code invoked on Xen at all? That seems crazy.

-hpa


--
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/