Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1734826

Re: [Part1 PATCH v4 17/17] X86/KVM: Clear encryption attribute when SEV is active

From Borislav Petkov <bp@suse.de>
Newsgroups linux.kernel
Subject Re: [Part1 PATCH v4 17/17] X86/KVM: Clear encryption attribute when SEV is active
Date 2017-09-19 13:50 +0200
Message-ID <urpcl-4Vk-1@gated-at.bofh.it> (permalink)
References <uqnmi-3sJ-15@gated-at.bofh.it> <urpcl-4Vk-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Sep 16, 2017 at 07:34:18AM -0500, Brijesh Singh wrote:
> The guest physical memory area holding the struct pvclock_wall_clock and
> struct pvclock_vcpu_time_info are shared with the hypervisor. Hypervisor

						the hypervisor. It ...

> periodically updates the contents of the memory. When SEV is active, we
> must clear the encryption attributes from the shared memory pages so that
> both hypervisor and guest can access the data.
> 
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Borislav Petkov <bp@suse.de>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: "Radim Krčmář" <rkrcmar@redhat.com>
> Cc: Tom Lendacky <thomas.lendacky@amd.com>
> Cc: x86@kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: kvm@vger.kernel.org
> Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
> ---
>  arch/x86/entry/vdso/vma.c  |  5 ++--
>  arch/x86/kernel/kvmclock.c | 65 ++++++++++++++++++++++++++++++++++++++--------
>  2 files changed, 57 insertions(+), 13 deletions(-)

Otherwise:

Reviewed-by: Borislav Petkov <bp@suse.de>

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [Part1 PATCH v4 17/17] X86/KVM: Clear encryption attribute when  SEV is active Borislav Petkov <bp@suse.de> - 2017-09-19 13:50 +0200

csiph-web