summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2017-10-20 09:30:59 -0500
committerThomas Gleixner <tglx@linutronix.de>2017-11-07 15:36:00 +0100
commit819aeee065e5d1b417ecd633897427c89f3253ec (patch)
treeeb69b20afde0696cb02d355976fe4efcaada2fac /arch/x86/lib
parent4716276184ec67a123a4eab81609a0688b1d650b (diff)
downloadop-kernel-dev-819aeee065e5d1b417ecd633897427c89f3253ec.zip
op-kernel-dev-819aeee065e5d1b417ecd633897427c89f3253ec.tar.gz
X86/KVM: Clear encryption attribute when SEV is active
The guest physical memory area holding the struct pvclock_wall_clock and struct pvclock_vcpu_time_info are shared with the hypervisor. It periodically updates the contents of the memory. When SEV is active, the encryption attributes from the shared memory pages must be cleared so that both hypervisor and guest can access the data. Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Borislav Petkov <bp@suse.de> Tested-by: Borislav Petkov <bp@suse.de> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: kvm@vger.kernel.org Cc: Radim Krčmář <rkrcmar@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Paolo Bonzini <pbonzini@redhat.com> Link: https://lkml.kernel.org/r/20171020143059.3291-18-brijesh.singh@amd.com
Diffstat (limited to 'arch/x86/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud