]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: SVM: Implement workaround for Erratum 383
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 17 May 2010 12:43:35 +0000 (14:43 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:26:44 +0000 (10:26 -0700)
commite94be20611f9b27a47adb6b2b47105ee7dffbf74
treeb0c87bc9ea1583daddfb6b9091105a54e7ecfea5
parent043ea286f289514533d676d9fe66c98a84898910
KVM: SVM: Implement workaround for Erratum 383

This patch implements a workaround for AMD erratum 383 into
KVM. Without this erratum fix it is possible for a guest to
kill the host machine. This patch implements the suggested
workaround for hypervisors which will be published by the
next revision guide update.

[jan: fix overflow warning on i386]
[xiao: fix unused variable warning]

Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
(cherry picked from commit 67ec66077799f2fef84b21a643912b179c422281)
arch/x86/include/asm/msr-index.h
arch/x86/kvm/svm.c