Re: [GIT PULL] x86/cpu changes for v3.9

From: H. Peter Anvin
Date: Tue Feb 19 2013 - 13:22:34 EST


On 02/19/2013 10:19 AM, Boris Ostrovsky wrote:
On 02/19/2013 12:57 PM, Konrad Rzeszutek Wilk wrote:
On Tue, Feb 19, 2013 at 06:47:58PM +0100, Borislav Petkov wrote:
On Tue, Feb 19, 2013 at 09:38:31AM -0800, H. Peter Anvin wrote:
My fault... I was tracking the fix and lost track of the thread.

The problem is that the fix is necessary but not sufficient, as it
introduces an undesirable host-guest dependency. In order to allow
neerw guests to work on older hosts we also should use the
{rd,wr}msr_safe() functions to manipulate this MSR, with a comment
as to why.

Boris, could you prepare such a patch, please?
I don't think Boris O. is at AMD anymore. Want me to add that to my fix
for kvm or prep a separate patch?
CC-ing Boris.

BorisP's patch is what I should have done. Can you take it?


As I stated:

>>>> The problem is that the fix is necessary but not sufficient, as it
>>>> introduces an undesirable host-guest dependency. In order to allow
>>>> neerw guests to work on older hosts we also should use the
>>>> {rd,wr}msr_safe() functions to manipulate this MSR, with a comment
>>>> as to why.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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