Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2925587pxb; Tue, 19 Jan 2021 09:13:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJytcHf0HtWoFKwERkrGCgYsCbTzO4u5HJFUt2txS4dU+KmfZC5/JH0g2enPF8dxvex0GWJv X-Received: by 2002:a17:907:961d:: with SMTP id gb29mr3709894ejc.460.1611076423784; Tue, 19 Jan 2021 09:13:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611076423; cv=none; d=google.com; s=arc-20160816; b=d9r/kZW3hOco289xc8dOvkTtvJ6rLqwhsJFTj6Qh/30jJTcUQ2tmCQrEOjqCoLOkA6 mfGJIkJLfkYo6QoHWVreQjChwAjKzggK4NBR0i9AsGOLZOnRHwQ5OSP8s4NIsw+K8Urh 7Bm9NQQyeraowNcnsRQw/YqWTTWpG6owK8S5D6R4/STHmJWUfW4kEybVjB6Gk+n85Uja Enn+gg0cneZ2gFYF1nNu9GS0PWGFQhKo2zk7f2Zch6D7Miuf6Tn7tpbwpUKEJtvuUxAO kp9hVB2rncmQsAXZvBYvC+Y71Ku/3k+gO8m/wEHdw/1nWejgGTFQ1yUFX2ssSgsrjd34 mdoA== 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=aGYE3lrAaFtHuS6FfunC0o8NEZPPWrN9CoQB5+izi7E=; b=lzYsT72qvgbaJRq3VPb29qGswpx0LrGlDXwc65R9zSCl3bcPvz4LBPL+wWgCvJeVMx otf3AXXCfvyltxpbOp/FisqgiHap5RDuZA9647Kwk5jfb0IM8rPDFpAaCoFrcr16zHCD qPnjdtPrl2K/vHGPErN1bFI14i1FavnSqxXzvIwARXLNgbZ8wFspF85hYEVSLw/hoWZ0 3pvA9ZrJyDaLpTyPVNKemCsO54nHFQdMITk8Ms9iT3P6kgtJkJ2fbFvWLhs0Q6s60ZKq ExJLtaBPtbBTRZRhwi5YqitRox/7PGurLwsMkTGHD4b1mtfm4xwPeodifaNb4ghQdfON d/0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=qyyuoE50; 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 y36si8558695ede.158.2021.01.19.09.13.16; Tue, 19 Jan 2021 09:13:43 -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=qyyuoE50; 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 S2390969AbhASRLq (ORCPT + 99 others); Tue, 19 Jan 2021 12:11:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730595AbhASRKp (ORCPT ); Tue, 19 Jan 2021 12:10:45 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B3DCC061573; Tue, 19 Jan 2021 09:09:49 -0800 (PST) Received: from zn.tnic (p200300ec2f0bca005ed5ab9a356b3c50.dip0.t-ipconnect.de [IPv6:2003:ec:2f0b:ca00:5ed5:ab9a:356b:3c50]) (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 A21C81EC0628; Tue, 19 Jan 2021 18:09:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1611076187; 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=aGYE3lrAaFtHuS6FfunC0o8NEZPPWrN9CoQB5+izi7E=; b=qyyuoE50Ydqnd7+nAz9H+xW8KTiOadrdi/pQqgr4R+a+Rh1R6wscH4q87wD51nLkqE+q7p X1cQMezfDFNAFytvW9MrYScqAlnDU8LHnkzjd9eGV6UBeUz9bc7TymdGzPetb7QcGA2Ma/ 2qzBFG5LTcRZQAitm3tmOvUXWpMIDig= Date: Tue, 19 Jan 2021 18:09:42 +0100 From: Borislav Petkov To: Sean Christopherson Cc: Paolo Bonzini , 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: <20210119170942.GO27433@zn.tnic> References: <20210116002517.548769-1-seanjc@google.com> <20210118202931.GI30090@zn.tnic> <5f7bbd70-35c3-24ca-7ec5-047c71b16b1f@redhat.com> <20210118204701.GJ30090@zn.tnic> 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 Tue, Jan 19, 2021 at 08:23:20AM -0800, Sean Christopherson wrote: > It was the AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT dependency that tripped me up. To > get KVM to enable SEV/SEV-ES by default, By default? What would be the use case for that? > Agreed, I'll send a KVM patch to remove the > AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT dependency. Yah, AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT came out of the initial memory enc. SME patchset where the use case was something along the lines of booting a kernel and SME being enabled by default. But Tom doesn't remember exactly either. I guess that thing doesn't belong in kvm code anyway... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette