Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1304385rwr; Wed, 26 Apr 2023 12:59:57 -0700 (PDT) X-Google-Smtp-Source: AKy350ag/ZxsqQI2m+UO0Vs2hix0+G9bjTB6bwfUKrjVInqKgfef/6H4YenUIAuZfb0Jph4oOL+x X-Received: by 2002:a05:6a20:43ab:b0:f0:b18d:78fc with SMTP id i43-20020a056a2043ab00b000f0b18d78fcmr22942927pzl.30.1682539197055; Wed, 26 Apr 2023 12:59:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682539197; cv=none; d=google.com; s=arc-20160816; b=REkFsVrEdabyWW7bao1BDTZ8ZCp6u6rVYxpvCoMhYzDeYEscT6OPcqUClMTxf0PH9F e9A0nk8/96GD/I7MhO/U5wkjdWSMgZX7hBq8kQ1HjS7j0Pu60Rde/lBWbTGBC7FqJbbH Ch68huyJv5rGtfwdT8yG8I2Myc90yPecSqzlatNK1g/10vGjtk/m/aEGafqej4967s17 7R+ttK9saaAlXPwtowdpBfOwj7Wd0rv25Aj/Wr6xb/eMxdDFiqX2qH6c2dZ3MsMrQjU+ FjZfBxvMzm2iFhVsEa3Jy4SdW8hXrT6bqf2pev/HPaPq5reNSU4slE4uDSI82yb4cLwo sLBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=UcyBowT/7snrKRgrt26A0bjGirGSsCbvk5IYXN32HYY=; b=Pvx4zQONq8TUv2Ipob3MwiTo5teyFf2dTPmegrFVnqf84XupZT8q12XRjskxTSEEJN NQBODkWZK/vZwjMh9YXJK+hnvCccnosjtJbpX69A9iXFFaZN3jcJV+YsBZRmZ4J/IKNd qcejdKnG/TkYQa7+2K6IPloZyM4fkdYZGmi7yJM+ZcYuLRpslVQwOIo79kJfnCqslowd l5zfoPDb4ImMOBKfumcTMi06f03GTdzxwMhf+7sR41SobpN6RxfCPYdqR+7g/usfYAq7 tXOO+qb/eLyBtg3N7jnd54pvLCD11J2nDioVNbGyHNNOmvmyZnYlBmNyfO3ArtZ3YdZL gJug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=CuidvLgO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a656687000000b00524b2939727si10625582pgw.14.2023.04.26.12.59.43; Wed, 26 Apr 2023 12:59:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=CuidvLgO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233516AbjDZTx6 (ORCPT + 99 others); Wed, 26 Apr 2023 15:53:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233643AbjDZTx5 (ORCPT ); Wed, 26 Apr 2023 15:53:57 -0400 Received: from mail-pj1-x1049.google.com (mail-pj1-x1049.google.com [IPv6:2607:f8b0:4864:20::1049]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCB6919B7 for ; Wed, 26 Apr 2023 12:53:54 -0700 (PDT) Received: by mail-pj1-x1049.google.com with SMTP id 98e67ed59e1d1-2473f8329f7so7055433a91.1 for ; Wed, 26 Apr 2023 12:53:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1682538834; x=1685130834; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=UcyBowT/7snrKRgrt26A0bjGirGSsCbvk5IYXN32HYY=; b=CuidvLgO7z5aVRbyi2cxF8vMwPPNTmcByG3DJ8NEOcVe3pCT0eXWZCsKQGraTkbjGb 4hbjD82vdnbjArnYR0vPXmtn/K2NYzEIa6GZk3RYRZcQ86pEsJEOILpvt0zH+DdIh86M ffZ931f+gaGp84zpzHvRMCo3GvNBJkjL+UCbYgWEmDmR7lYZ+8mTq1o6ejVruQisWeC9 lRVgdjaN7rDBJhYqvaod9OTfpzYSt3rTCMpPj1f8ZXA0CQIkcinSLPYutZ8SgksXJbS5 TllB/S+PKzuHiyv/7x/yV/hviGV1R0FcgfZ0iJ3AFMVJ/2sK/o88ygPxT19/fSVM6uxR bwjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682538834; x=1685130834; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UcyBowT/7snrKRgrt26A0bjGirGSsCbvk5IYXN32HYY=; b=EoUM0m4m6dN9p4bccx7q5Uf72cygPwBwJjNxcEDWKJCjdoDodpU7gmvrbHWA1Bd6Q7 z6JJpHsvRcdJYaJSXdjxUlpx8qw0UO9Ak8yB6lCFRd2o+0X8mRFIFNzDWg6Mqd1oyEdw yxlH6Lc35cGbq+e7rcTe6UBUdNYXWOF1yTGGFkSFpQ+2kQQ1u4uLTVYuNXr1e+2XwuIA eYaL7okgbEhefmKLkf0gPIp5yqhewwDeQmtkddp/F4HUWVppKzkgonBdUKtWnvl3yLQj UV1Rp6GQ+XVknbrx22mbqUOiK/MEOiDiNWfUtFPuGNyve8BdQjDd0HLTN/P/LXRticRU GYcA== X-Gm-Message-State: AC+VfDyOiKfJOxe2O5OoIR7/B8SOGVOyohgot8VZ9UbNdhuAZE9LDe40 Do/7sqnWyOIR3fQsHLFF8msKZIrxrMM= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:90a:2c82:b0:24b:dbeb:d3b4 with SMTP id n2-20020a17090a2c8200b0024bdbebd3b4mr1869198pjd.0.1682538834276; Wed, 26 Apr 2023 12:53:54 -0700 (PDT) Date: Wed, 26 Apr 2023 12:53:52 -0700 In-Reply-To: <9021d861-cde6-a51a-7d8c-b3f67eaa01d8@amd.com> Mime-Version: 1.0 References: <20230327141816.2648615-1-carlos.bilbao@amd.com> <9fa5ce43-584d-878d-227a-fb458254c00a@amd.com> <9021d861-cde6-a51a-7d8c-b3f67eaa01d8@amd.com> Message-ID: Subject: Re: [PATCH] docs: security: Confidential computing intro and threat model From: Sean Christopherson To: Carlos Bilbao Cc: Elena Reshetova , "corbet@lwn.net" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "ardb@kernel.org" , "kraxel@redhat.com" , "dovmurik@linux.ibm.com" , "dave.hansen@linux.intel.com" , "Dhaval.Giani@amd.com" , "michael.day@amd.com" , "pavankumar.paluri@amd.com" , "David.Kaplan@amd.com" , "Reshma.Lal@amd.com" , "Jeremy.Powell@amd.com" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "alexander.shishkin@linux.intel.com" , "thomas.lendacky@amd.com" , "tglx@linutronix.de" , "dgilbert@redhat.com" , "gregkh@linuxfoundation.org" , "dinechin@redhat.com" , "linux-coco@lists.linux.dev" , "berrange@redhat.com" , "mst@redhat.com" , "tytso@mit.edu" , "jikos@kernel.org" , "joro@8bytes.org" , "leon@kernel.org" , "richard.weinberger@gmail.com" , "lukas@wunner.de" , "jejb@linux.ibm.com" , "cdupontd@redhat.com" , "jasowang@redhat.com" , "sameo@rivosinc.com" , "bp@alien8.de" , "security@kernel.org" , Andrew Bresticker , Rajnesh Kanwal , Dylan Reid , Ravi Sahita Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 26, 2023, Carlos Bilbao wrote: > On 4/26/23 10:51 AM, Sean Christopherson wrote: > > This document is named confidential-computing.rst, not tdx-and-snp.rst. Not > > explicitly mentioning SEV doesn't magically warp reality to make descriptions like > > this one from security/secrets/coco.rst disappear: > > > > Introduction > > ============ > > > > Confidential Computing (coco) hardware such as AMD SEV (Secure Encrypted > > Virtualization) allows guest owners to inject secrets into the VMs > > memory without the host/hypervisor being able to read them. > > > > My complaint about this document being too Intel/AMD centric isn't that it doesn't > > mention other implementations, it's that the doc describes CoCo purely from the > > narrow viewpoint of Intel TDX and AMD SNP, and to be blunt, reads like a press > > release and not an objective overview of CoCo. > > Be specific about the parts of the document that you feel are too > AMD/Intel centric, and we will correct them. The whole thing? There aren't specific parts that are too SNP/TDX centric, the entire tone and approach of the document is wrong. As I responded to Dave, I would feel differently if the document were named tdx-and-snp-threat-model.rst, but this patch proposes a generic confidential-computing.rst and presents the SNP+TDX confidential VM use case as if it's the *only* confidential computing use case.