Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2255809pxb; Mon, 18 Jan 2021 12:30:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwr9vhw8RoaQO2/YL4TDfIJektZ6qC8KN0U+m2DKsKlU/zj1/Il0eiFrqoapE+xa1pfJUyr X-Received: by 2002:aa7:c485:: with SMTP id m5mr885157edq.320.1611001806368; Mon, 18 Jan 2021 12:30:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611001806; cv=none; d=google.com; s=arc-20160816; b=WtPv39CVFvTzNElSrqa4qq1Er37fpak6Lb2JAgxcnVFJoq/LZJLbbZ7jqcYle8cXe6 5wMbyv8px6aruNfIZkh1wg5ipcjsqRJjXDP/SjNSlo6zK4PKYWThFb/8I/RCU3SnMt22 CP8MkIoH4+usvF7O0B8QD8kdyMuyWkbKT+FkIInQjZOp21oMg4CQrGHIwotQNg5d6NrZ /PH6Gdq9b/bkojNvCFD2vCo/hLmQn0gyjaPflBsumYwybDyO8T44bHI/trumfcG3Ku1j gfI7rO3GVCLzOkFVkTzx2w+Dd4qYtpL7tb8SzlmsKYVdfxAhTj/JJH2xqwmchnedPLQM XFGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/3T/wPUUuXmuK0dApHxGcmhzli0nOvNTA9zmajovjqI=; b=JojWsYAf/yvTWRMZ8Fb98mDPrYCjc2IzgU2BV5NSgL2t3b54uXoqf6bgisIMQQQCZM +Q0DrwvdCeBcNvNh/8NMz7T6PaYiR7y7DGE29vMgaOQQ8KRJN2Mb0n49RJbsn+il4ngL vAFUnAmt2JsxQJsGVhEmUUy47XLx0SbC+w4IHMUTB2SvFF+WDUYQloI5XbdkoeD2YK9I tqYeDgqGVm0/MPspkIyftnTl6O0U0A2w+JzmFWNXJAHHdkyBEpmvbUHDXdaX+5vr61KR 66cf9qWse9BvXQKKBGk8kPYlDaN2lK7N9pBtWtrzZ8XigiqeL4PlEkLVjB8krVtHopQu kvaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="HC/c93Om"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd20si1664592edb.489.2021.01.18.12.29.42; Mon, 18 Jan 2021 12:30:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="HC/c93Om"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394269AbhARU1k (ORCPT + 99 others); Mon, 18 Jan 2021 15:27:40 -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