Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1620577imw; Tue, 5 Jul 2022 12:30:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vp/fvkMN9beXPs0hE+mS8+nvku2iNx3FM9hybDToUh1RjZNw9b8h8dPimMPV1mk17VGOB7 X-Received: by 2002:a65:6a04:0:b0:411:b3d3:a840 with SMTP id m4-20020a656a04000000b00411b3d3a840mr25464600pgu.99.1657049406377; Tue, 05 Jul 2022 12:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657049406; cv=none; d=google.com; s=arc-20160816; b=BsZaRw81sjqUbA1adpe5SMRpEiciyPpCqA5OLdz1/Rb4QKVXWpIUTXTW2FQtzfhFxd Q5qAJDUctNMWp64LsSklIagca6pTvU2RurnnIc+g7ccGLBeHUzw0GtjD7nZZhSDjCbMs 2svcoG2IDyxxqVJ2yaZA/cA+R+SkJkuyfwdJAxuapSac+nj+fXUtnz/QnEXkwEqTry5f qdvS+xgLYW7FmOw4oseEuabEHULQGyb5F3QQ2hb7+dy4S3pdl2U/+MeqDGlt7b4J/Np9 Q1L6ueK9VQWpjApf/6k91R+LKVLHgHDik3JA36RK0yqE2EvguvDeNaX6iqvRkiRcRQT3 efFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=aGxYj7+2KZtdFUjaLHTw4EbYXGFm8B7mn9WwGvbpLjM=; b=kXm52FkDPClQAaYNsiLLJ+MBMP/mqUGZMWVWCbZ+77JCwbz3lwERnRjs7M5J6Uyde8 t3vKBs/+hQVtGUhpBlQcw6BT40//MrCfUnB4DMwQH980teMIN03NsU1c7QXmg9MwNhJR EBt44v5396+HSwQzBxkSMfg7eEM+JGf7sBWeu1RYt1M8IwSGBiUjwh9s5YXTj3bHMDdE inM/oa3gdb8pK6h866Oq0W8qLNVbwydvstZXUPCqKzwr8pn61KcxIT+HXDgv3Y9l0lU5 XlClAaB+jetQZtO9TKBYcE84DqgfPblKPDgEiWSNUEpe6SXprzB6WtbYifzOQ9agrxwO d81w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Pf8XHU9e; 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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020a637b4c000000b00401bf2a6e11si15537492pgn.144.2022.07.05.12.29.54; Tue, 05 Jul 2022 12:30:06 -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=@intel.com header.s=Intel header.b=Pf8XHU9e; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232543AbiGESyN (ORCPT + 99 others); Tue, 5 Jul 2022 14:54:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232380AbiGESyK (ORCPT ); Tue, 5 Jul 2022 14:54:10 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B42E1ADB4 for ; Tue, 5 Jul 2022 11:54:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657047248; x=1688583248; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=bM0ABJX0qGEyGQRZ6VO/v3KuV7TXXVDZ98ArQud1930=; b=Pf8XHU9e3KMVnEkKitLEpcONpREWJutbFdVtRmQm//lTj7hNRe7grZ07 kFCo4xPcglnFAOdIbCIO8mCMq0+NM4IVayClHrC/qZq4Enk1sfuxl5geB B0bF6Akf7N5bd75vPkkYrgnn/BeeWDOdmCPFd6hHxr6JMCUr3MC9Gm0k9 XXTUWQdv8JoGDkncLv6zPXsUqugMx8eJ18g1wfVvghnZPp8I9rYxx9m8x XTi/1bGkvBMvUho5W1CyKx+p/jp/tXharrP2FOpD3JITT+ekvzkEJtD8l S+olUjd5I3Ep9w7zrV3xN2YHYahVSGF42qLZUQ6lRpvrocjPmSnMJKEoW g==; X-IronPort-AV: E=McAfee;i="6400,9594,10399"; a="284180221" X-IronPort-AV: E=Sophos;i="5.92,247,1650956400"; d="scan'208";a="284180221" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2022 11:54:08 -0700 X-IronPort-AV: E=Sophos;i="5.92,247,1650956400"; d="scan'208";a="839237437" Received: from tdisanx-mobl.amr.corp.intel.com (HELO [10.209.16.32]) ([10.209.16.32]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2022 11:54:08 -0700 Message-ID: <8b6f3f9f-71c8-2b6f-20a3-5e9c259a1b9a@intel.com> Date: Tue, 5 Jul 2022 11:52:10 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v8 1/5] x86/tdx: Add TDX Guest attestation interface driver Content-Language: en-US To: Sathyanarayanan Kuppuswamy , Kai Huang , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org Cc: "H . Peter Anvin" , "Kirill A . Shutemov" , Tony Luck , Andi Kleen , Wander Lairson Costa , Isaku Yamahata , marcelo.cerri@canonical.com, tim.gardner@canonical.com, khalid.elmously@canonical.com, philip.cox@canonical.com, linux-kernel@vger.kernel.org References: <20220609025220.2615197-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20220609025220.2615197-2-sathyanarayanan.kuppuswamy@linux.intel.com> <0f6bedbb-14cc-bf93-5d9f-bfd2c49dc7b2@intel.com> <48b9d807-2d9e-016f-bada-906911d6ecb0@linux.intel.com> <331abea18e728061979301772a9d0d61543f59fb.camel@intel.com> <0b5884b8-9240-63b2-ca4c-20c86fd2e8c1@linux.intel.com> From: Dave Hansen In-Reply-To: <0b5884b8-9240-63b2-ca4c-20c86fd2e8c1@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 On 7/5/22 11:45, Sathyanarayanan Kuppuswamy wrote: > Yes, there are many ways to design this. But I still think IOCTL is a better fit > for the request/response kind of use case. Are there any other similar ABIs in the kernel? What kind of mechanism do they use?