From: Borislav Petkov Date: Tue, 19 Feb 2013 18:33:12 +0000 (+0100) Subject: x86, cpu, amd: Fix WC+ workaround for older virtual hosts X-Git-Tag: v3.9-rc1~109^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52d3d06e706bdde3d6c5c386deb065c3b4c51618;p=pandora-kernel.git x86, cpu, amd: Fix WC+ workaround for older virtual hosts The WC+ workaround for F10h introduces a new MSR and kvm host #GPs on accesses to unknown MSRs if paravirt is not compiled in. Use the exception-handling MSR accessors so as not to break 3.8 and later guests booting on older hosts. Remove a redundant family check while at it. Cc: Gleb Natapov Cc: Boris Ostrovsky Signed-off-by: Borislav Petkov Link: http://lkml.kernel.org/r/1361298793-31834-1-git-send-email-bp@alien8.de Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed