Thread (6 messages) 6 messages, 2 authors, 2012-05-30

Re: [PATCH] x86/amd: fix crash as Xen Dom0 on AMD Trinity systems

From: Borislav Petkov <bp@alien8.de>
Date: 2012-05-30 14:55:28
Also in: lkml, xen-devel

On Wed, May 30, 2012 at 07:42:27AM -0700, H. Peter Anvin wrote:
On 05/30/2012 06:10 AM, Andre Przywara wrote:
quoted
Because we are behind a family check before tweaking the topology
bit, we can use the standard rd/wrmsr variants for the CPUID feature
register.
That is not what the *msr*_amd*() functions do.

NAK.  This is a totally bogus patch.
The *msr*_amd*() variants were used instead of the normal *msrl_safe
variants although the AMD variants weren't needed there at all.

This has no issue on baremetal but breaks xen and this is how we caught
this.

So the patch corrects the original patch so that xen is happy too.

-- 
Regards/Gruss,
Boris.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help