diff options
author | Brijesh Singh | 2017-12-04 17:57:39 +0100 |
---|---|---|
committer | Brijesh Singh | 2017-12-04 20:33:14 +0100 |
commit | 35c6f649bbb2e3f367116307273f998f0bf3e08e (patch) | |
tree | ca3d29f68afa69e1727de95812232eb82f855628 /include/soc/mediatek | |
parent | KVM: SVM: Clear C-bit from the page fault address (diff) | |
download | kernel-qcow2-linux-35c6f649bbb2e3f367116307273f998f0bf3e08e.tar.gz kernel-qcow2-linux-35c6f649bbb2e3f367116307273f998f0bf3e08e.tar.xz kernel-qcow2-linux-35c6f649bbb2e3f367116307273f998f0bf3e08e.zip |
KVM: SVM: Do not install #UD intercept when SEV is enabled
On #UD, x86_emulate_instruction() fetches the data from guest memory and
decodes the instruction bytes to assist further. When SEV is enabled, the
instruction bytes will be encrypted using the guest-specific key and the
hypervisor will no longer able to fetch the instruction bytes to assist
UD handling. By not installing intercept we let the guest receive and
handle #UD.
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Borislav Petkov <bp@suse.de>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: x86@kernel.org
Cc: kvm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Diffstat (limited to 'include/soc/mediatek')
0 files changed, 0 insertions, 0 deletions