Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2499661pxb; Mon, 18 Jan 2021 21:17:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9QQZ93CsFs5J09efp2mC7KBUOfufNdYp3hkx9gs6nYA+DeDEgzG9th8uRRXwZMSw4dGAb X-Received: by 2002:a05:6402:22a8:: with SMTP id cx8mr2130165edb.32.1611033462038; Mon, 18 Jan 2021 21:17:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611033462; cv=none; d=google.com; s=arc-20160816; b=NW2iUV18t/r3q1btayemRyo7SV8zANF3w2ta84o4zw/2skDDPDUd6ncpO6o88eGgkh dQZfU7fYw2qYGhv7KzBxgH9+eW8zdxJoAmYgqjxJo1i2zaJ6Y1XpvGbcBLJYvEV2YQ8c LGJ4s4tvsc1xczCyI6uaWsY5ZW/qrVOQNFdfwqGflwH3ffmFaFdKuacvafsd4sfQjYnR fOPGVKP2Xn9smNayw44SNawVbJEAAXPkx66Eaged13LNx+AqOLYwtTUxPR4hPEFYvB/L /dD9WFuerPKZrS1K2L/VleRPamrR3d6N28gs+LntA0kJXd0SfEbCGJh8pU8dn+WhhTWa M+1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=gnd9UYXeayu93vqSZFMjHfttOu7XAptPBbeNJT44DOc=; b=ijlq/IdB24ejBr7KiNXHjsL7KLSahg1GBoMcCpWxCutg+yjP0Of/HQ4MHmdeuN16P9 rasOIZP60PkNNeqXjvUIiQ6WQAjnThX597KIw90Cl3d2159qoWSOAufFWL7lscDz9STm q3yninkrjMUXiv356FzYoJNpJUq/O9U+Eybt/Lpg6KlDsRZRHDNXuJLLWxf2U0P02q6p VtcHoAb0aMUFKh8Bp+P68FbZefNmfInMPaL4mOJrubUrDWNJl3EI6/lmeCmSeThx2q2p XNfZzax26OKP0l4n2clIGyUA/Iqxn1iGUvnh/8Cg3A9CA2cD3UjuZAyu9zIAyKDooWmY Kpzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Nt6YG0Cg; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a25si8763223edn.257.2021.01.18.21.17.19; Mon, 18 Jan 2021 21:17:42 -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=@redhat.com header.s=mimecast20190719 header.b=Nt6YG0Cg; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388576AbhARUdo (ORCPT + 99 others); Mon, 18 Jan 2021 15:33:44 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:45368 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388562AbhARUdi (ORCPT ); Mon, 18 Jan 2021 15:33:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611001932; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gnd9UYXeayu93vqSZFMjHfttOu7XAptPBbeNJT44DOc=; b=Nt6YG0Cgk/n06E5yBnKxAHDd4VkPkAdr6vkJXzdX7gSTUVV9oHCsuU4VawbpxExTbO6r6V VZ3PnoaMOph7qAIZW7e6xzXx/ayB4PG1nXYGSEA+BDUhiyDpTAVufXcrYsXkxOMOs2sGmh uXFEXtdvgY9ZJyLrP850uoMbQdwqhBE= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-147-254dX3cAPqqO-4_zBpQX1A-1; Mon, 18 Jan 2021 15:32:10 -0500 X-MC-Unique: 254dX3cAPqqO-4_zBpQX1A-1 Received: by mail-ej1-f69.google.com with SMTP id f26so5523169ejy.9 for ; Mon, 18 Jan 2021 12:32:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gnd9UYXeayu93vqSZFMjHfttOu7XAptPBbeNJT44DOc=; b=LJs+K+Mxyc6Tjhq4vjkipIUxTayS/4M7eimvpUzc8QLTy2WnZAoJaSgdf6O1pNUqK/ rUbSji4Soz65tcgAh5HYwcMjdVqCfT3biiG3N8DJzy4L4KsHCeGUrzpzPJMUGF4wx/zt eSUoXy5gmSEpGK2ttubGYcEWWZQEabo35XlaJ83R6WhSR76lFkxfAfH4Qh2NvpU0jMdB xnaUpC3++7onWItZHN1DKafjtOdbknSqD5k4kgBCpykAQvXpGBPkhjjbMk8LTZ78WHjj Ms2fk9+vLLO6HWusRK+S71udaaj0tvNcsKT65wNIT0fqMW4tgdW5XCDezKF0PSgCH9aW Zx2g== X-Gm-Message-State: AOAM531DaTJwKdyA/VpKFQZfJhkpBPgpT7XOnnu9Y7utlO23nfCjVQiw R+8831xrAHHTd1duumSDgv+S394ewR7uSX9jxkWE1/FhkiuLKTkdLcCp1DdG/nEyc1BGjq92fpU w4zt2PZBMv5PSIwsd++wVaNdN X-Received: by 2002:a50:a69c:: with SMTP id e28mr914594edc.139.1611001929515; Mon, 18 Jan 2021 12:32:09 -0800 (PST) X-Received: by 2002:a50:a69c:: with SMTP id e28mr914579edc.139.1611001929372; Mon, 18 Jan 2021 12:32:09 -0800 (PST) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id f11sm1343946eje.114.2021.01.18.12.32.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Jan 2021 12:32:08 -0800 (PST) Subject: Re: [PATCH] x86/sev: Add AMD_SEV_ES_GUEST Kconfig for including SEV-ES support To: Borislav Petkov , Sean Christopherson Cc: 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 References: <20210116002517.548769-1-seanjc@google.com> <20210118202931.GI30090@zn.tnic> From: Paolo Bonzini Message-ID: <5f7bbd70-35c3-24ca-7ec5-047c71b16b1f@redhat.com> Date: Mon, 18 Jan 2021 21:32:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210118202931.GI30090@zn.tnic> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/01/21 21:29, Borislav Petkov wrote: > On Fri, Jan 15, 2021 at 04:25:17PM -0800, Sean Christopherson wrote: >> Introduce a new Kconfig, AMD_SEV_ES_GUEST, to control the inclusion of >> support for running as an SEV-ES guest. Pivoting on AMD_MEM_ENCRYPT for >> guest SEV-ES support is undesirable for host-only kernel builds as >> AMD_MEM_ENCRYPT is also required to enable KVM/host support for SEV and >> SEV-ES. > > Huh, what? > > I'm not sure I understand what you're trying to say here and am not > convinced why yet another Kconfig symbol is needed? I think it makes sense because AMD_SEV_ES_GUEST's #VC handling is quite a bit of code that you may not want or need. The commit message does need a rewrite though. Paolo