Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3177958rwl; Fri, 6 Jan 2023 17:18:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXvFC9rg+5n5YAKdqVEnTAmKXQB/ovBRyyIruAc83nXbCBJh6GlEV5eH3njwwxDKK+4r4mYr X-Received: by 2002:a17:90a:2ca2:b0:223:fa53:b368 with SMTP id n31-20020a17090a2ca200b00223fa53b368mr60317652pjd.34.1673054292655; Fri, 06 Jan 2023 17:18:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673054292; cv=none; d=google.com; s=arc-20160816; b=NWsvojiuAsFsFoSAkKtJWb0duNE8/0PbJ2J6uDwn7XSG5D4BRVoNusQQXslBamSgZD I75m9LgNLcQm1kSSHtTh+udJwVOmDabvh3ttkSuyeAEpYTzy5ClDcEGqGOQV2sCXyMmt Dvj65cfE78clIl0pKjxaQnqDdIoeN6Xe59iLVxf4cKk1Gf2aiY/rsRVoOociOTp68Vvh lgp+OMEDqNygK0uuxi4K9ZjBb+8/T6z8fwGwZmn59Ln+zI+8TeadDrdnfYIitktucwcq nWAKI/jDNJs0mb9HogjDxHCE6ECA4uIJGzF3AGGRp0PiPC734aGJdpgElF1/kkXHQNIv CS/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=2KS6l6BAEH3XPDAy29s90J7bqb3XCkbf4Z/0eJirx40=; b=idXgOgCxoR+jGR4HlM72hGy/3Qh1MVYxsHaIRj5cGp0MXn66ZeIFx4gEsdjMeSgjNy D1+jg4sRskml3EQA/Y25db6U7eH+aDf0BUHTggUkplMsvZOh2mNspJ4O6w/i0OTRk/2L 5af3yoTg8y4zqnI7NmyID8AFF7EoDm17S6+QsoOuJnWAzItY20ptSTYvg196Add0DZO6 zPoITDdGXCgAA1ScE3OWUOzfW5Rqbbqv/2FN6bw9on8RqAoh4X/YvBWx+qheuNmUH7+q o1WmzXoavRcL4vpLTuMTIczJqoTDQGEl2zljPCWTvGvEc/5IJUIJphraO4DpIkbTg/gl oB4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=p6uPmPY4; 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 35-20020a630c63000000b0047ff30aeac4si2656883pgm.761.2023.01.06.17.18.05; Fri, 06 Jan 2023 17:18:12 -0800 (PST) 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=20210112 header.b=p6uPmPY4; 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 S236676AbjAGA7P (ORCPT + 55 others); Fri, 6 Jan 2023 19:59:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236686AbjAGA7J (ORCPT ); Fri, 6 Jan 2023 19:59:09 -0500 Received: from mail-vs1-xe2c.google.com (mail-vs1-xe2c.google.com [IPv6:2607:f8b0:4864:20::e2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B60C271A8 for ; Fri, 6 Jan 2023 16:59:08 -0800 (PST) Received: by mail-vs1-xe2c.google.com with SMTP id a64so3241156vsc.2 for ; Fri, 06 Jan 2023 16:59:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2KS6l6BAEH3XPDAy29s90J7bqb3XCkbf4Z/0eJirx40=; b=p6uPmPY4JsEKXAGOXdSyQSZTAozm2PObLWUzPd94dXPj4jTHlIlWbnTiHw6UiaTQBv w9g3UKJ7sMHkfiZxVHP0XwOpwuJV7n/H9WnhNmU6K+7qF7uO6dGABem+QhJVEBv4NFxp P1cOG6c6/ymEA9I42qe9g5F8Oy6UzB0o0ZQK76gIYZ8gBhFyiN4dtuENyu0/WtXkBbel qztEc4IIZUKNWsR8b7is2Ad0ueNis4noAotBKgS+gi/OgT+hIn7XEaDyI/DNQPUCxAz2 oqwnL7f32pTv9FxDyM50ZRuBlcnEH9DRZpV9YZa1/zripPefq/e2npM+OhJNEmJux2us /31A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2KS6l6BAEH3XPDAy29s90J7bqb3XCkbf4Z/0eJirx40=; b=0ZEdvV7iHVrgSfgFFHyt3B/RhxR/wkubXxMpt1F/vJnQb3P30L4bW5R+2ey9fKUW41 qtYVp/4fJNxaLtJHDAmDcjUrCcJscJoJ/6ZYfLsjnuBDdYOd3L585N6zL6o+jexRSTa2 wee1cUpR1uPHTkan0K9ROigcU1vPG0vdhZyCI1sLbidFlx2Omf2wEfwbZe0HJEQmOr3e I7CgQiGMH2lGCjVaC3nXqWrd4ngYzaHZRil+Zpz0qOKEn/YxoxpjetQ69fRAK5SFS2dO bxpacQ50Ihcb2uSD8tdZMBRbt6bDNyb0xYll1BoU7N4YHXsPPEjNq4OLBZoWmCyaH6R4 e9hg== X-Gm-Message-State: AFqh2kpYFHP1ZKq/0oyNNjGVjbPkrqB4P7GVnNEIPxXyjdkuF19rT9e0 5ltPdxz2Q4YY6K/vO8yi/UPKuEahD6xW5xdkzlvY+Q== X-Received: by 2002:a05:6102:3081:b0:3ce:d79a:a728 with SMTP id l1-20020a056102308100b003ced79aa728mr481898vsb.19.1673053147392; Fri, 06 Jan 2023 16:59:07 -0800 (PST) MIME-Version: 1.0 References: <7c09d15b-40bc-c6a0-3282-a94e9d9c36be@intel.com> <51d486c9-4689-c2d6-0db4-4e3754a058db@linux.alibaba.com> <6b8f415f-1a29-5c0c-1373-3b08aba735e6@intel.com> In-Reply-To: <6b8f415f-1a29-5c0c-1373-3b08aba735e6@intel.com> From: Erdem Aktas Date: Fri, 6 Jan 2023 16:58:56 -0800 Message-ID: Subject: Re: [PATCH v8 5/5] x86/tdx: Add Quote generation support To: Dave Hansen Cc: Guorui Yu , ak@linux.intel.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, isaku.yamahata@gmail.com, jun.nakajima@intel.com, kai.huang@intel.com, khalid.elmously@canonical.com, kirill.shutemov@linux.intel.com, linux-kernel@vger.kernel.org, marcelo.cerri@canonical.com, mingo@redhat.com, philip.cox@canonical.com, sathyanarayanan.kuppuswamy@linux.intel.com, tglx@linutronix.de, tim.gardner@canonical.com, tony.luck@intel.com, wander@redhat.com, x86@kernel.org, "Du, Fan" , Chong Cai , Sean Christopherson Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham 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 I apologize for bumping an old thread up and getting in the discussion this late. Bumping this thread because as Chong mentioned below, it is essential for us to have TDG.VP.VMCALL interface as we do not enable/support virtio in many use cases. Coming from the "Add TDX Guest Attestation support patch set [1]" which does not have the Quote support as per Dave's review suggestion, I am looking for what our options are here. @Hansen, Dave : as far as I understand your concerns were: >>Do we *REALLY* need specific driver functionality for this? For >>instance, is there no existing virtio device that can send blobs back and= forth? As Chong and I said, we have to have a vsock alternative solution if we want to provide TDX based products for our customers. Otherwise it will really limit our ability to adopt this technology. >> You're basically saying that every confidential computing technology >> should have its own host user <-> guest kernel <-> guest user ABI. >> That's insanity. If we do this, we need *one* interface that says "talk >> to the hypervisor" that's common for all hypervisors and hardware >> vendors, or at least more than *one*. This is already happening, right? AMD has GHCB ABI while intel has GHCI. Also there is already a guest driver and IOCTL interface for TDREPORT, so would it be really that insane to have another IOCTL interface for GetQuote? I would like to get your opinion on how we can progress on this? -Erdem [1] https://lore.kernel.org/lkml/20221116223820.819090-1-sathyanarayanan.ku= ppuswamy@linux.intel.com/t/#m341e6475982318d74be160c09a1856ad87e184cf > From: Chong Cai > Date: Fri, Jan 6, 2023 at 2:02 PM > Subject: Re: [PATCH v8 5/5] x86/tdx: Add Quote generation support > To: Nakajima, Jun > Cc: , , , , , , , , , , , <= mingo@redhat.com>, , , , , , , > > > Hi everyone, > > > Sorry for being late in the discussion. > > > We just want to add that we have use cases where virtio/vsock is not supp= orted at all; therefore, getquote TDVMCALL support is required for us to ad= opt this technology. > > > Is there anything we can help here? > > On Sun, Nov 20, 2022 at 6:26 PM Dave Hansen wrote: > > On 11/20/22 18:04, Guorui Yu wrote: > > Kindly ping for any comments here? > > No comments from me! > > Seriously, this is from June. I honestly have no idea what this patch > is for or why you're asking about it. If it were important, I would > have expected a new post with a new cover letter telling me some time in > the past 5-6 months. > > Oh, and btw, I haven't seen you reviewing any other x86 submissions > during that past 5-6 months either. I'm tend to be more likely to bump > things up near the front of the queue for folks that are helping to keep > the queue short and manageable.