From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D044C433DB for ; Mon, 18 Jan 2021 20:28:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B1F2322CAD for ; Mon, 18 Jan 2021 20:28:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394321AbhARU2G (ORCPT ); Mon, 18 Jan 2021 15:28:06 -0500 Received: from mail.skyhub.de ([5.9.137.197]:50038 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437991AbhARU07 (ORCPT ); Mon, 18 Jan 2021 15:26:59 -0500 Received: from zn.tnic (p200300ec2f069f0062c4736095b963a8.dip0.t-ipconnect.de [IPv6:2003:ec:2f06:9f00:62c4:7360:95b9:63a8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id EF60D1EC0373; Mon, 18 Jan 2021 21:26:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1611001571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=/3T/wPUUuXmuK0dApHxGcmhzli0nOvNTA9zmajovjqI=; b=HC/c93OmasDjbhgPEOISRogzyZcMnzbQgTNo4UNIFG+IE1lJEKscJb/9zjZunVcruwl/nT nKZbWtIXj8bs4jeJRGcXGoZFgCu6a7r8yns4oDrDZOCikLLVu+NqL9DszenqzGxmGjg5ia wn4w2xbtxPXvkM1Bmc/D9xJp4BrRgWA= Date: Mon, 18 Jan 2021 21:26:11 +0100 From: Borislav Petkov To: Paolo Bonzini Cc: Sean Christopherson , Thomas Gleixner , Ingo Molnar , x86@kernel.org, Andy Lutomirski , Dave Hansen , Peter Zijlstra , "H. Peter Anvin" , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Tom Lendacky , Brijesh Singh Subject: Re: [PATCH] x86/sev: Add AMD_SEV_ES_GUEST Kconfig for including SEV-ES support Message-ID: <20210118202611.GH30090@zn.tnic> References: <20210116002517.548769-1-seanjc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 18, 2021 at 06:59:38PM +0100, Paolo Bonzini wrote: > On 16/01/21 01:25, Sean Christopherson wrote: > > > > @@ -1527,12 +1527,14 @@ config AMD_MEM_ENCRYPT > > select DYNAMIC_PHYSICAL_MASK > > select ARCH_USE_MEMREMAP_PROT > > select ARCH_HAS_FORCE_DMA_UNENCRYPTED > > - select INSTRUCTION_DECODER > > help > > Say yes to enable support for the encryption of system memory. > > This requires an AMD processor that supports Secure Memory > > Encryption (SME). > > + This also enables support for running as a Secure Encrypted > > + Virtualization (SEV) guest. > > + > > config AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT > > bool "Activate AMD Secure Memory Encryption (SME) by default" > > default y > > @@ -1547,6 +1549,15 @@ config AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT > > If set to N, then the encryption of system memory can be > > activated with the mem_encrypt=on command line option. > > +config AMD_SEV_ES_GUEST > > + bool "AMD Secure Encrypted Virtualization - Encrypted State (SEV-ES) Guest support" > > + depends on AMD_MEM_ENCRYPT > > + select INSTRUCTION_DECODER > > + help > > + Enable support for running as a Secure Encrypted Virtualization - > > + Encrypted State (SEV-ES) Guest. This enables SEV-ES boot protocol > > + changes, #VC handling, SEV-ES specific hypercalls, etc... > > + > > Queued, thanks. Say, Paolo, why are you queuing a patch which goes through tip, if at all? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette