Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp792211pxj; Thu, 27 May 2021 11:44:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2oXQYriWM+Qk76cHYGIXmqKryEYj2H11+NtjGbm9M4UphflzOpEzMd5hjapiQpb4bYuuQ X-Received: by 2002:a50:eb08:: with SMTP id y8mr5849446edp.89.1622141043953; Thu, 27 May 2021 11:44:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622141043; cv=none; d=google.com; s=arc-20160816; b=TC9kugp7mDhBp2Q6vfFQt1ZqswRpPsig8kRq2nACD4RRpJDMEgo1LtR59corYnc86j bhjwnCNVqePaGQ91PXUL0BPohA3+lt9bRO+/tipBaf8pto9Nq/YVA6nJuBltro7TXWG5 cjVKv/3/4RxgORQsmQAEXqNznr6IwDYt+LxqhNjZm/n2jnEVeBpfRLkT4EXf/PbSoWCC uRgu17E/eO5pPPlw/KCgbikkH67pIQ6rsbiJ+i44Dc4tdptahQCiz5c6D4Y15DRR5x8t l5MPldUzOskAy3AV10NSje3ZLn5GMa9iQDV0GR3PtfavD+FCbEuoEikx9EYpGnGO4dU0 qAMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=7SPlKVYiOOjyqTuP951R/nMKJ5SuR/PdmRRsgMqipno=; b=n4VPmNQHeHcStvAGuqZnlVLzUtGb3EhUvt+NC5JHjdWdxqQisJ0er+83Leuib7y/vQ dfcq2UtZd3f1ZU5mu8/QUNRI/yBqhb2rkc/Cyja7WCzS7ChOUIaBibAMofcWDDOvlyR8 l7+RmsH0YCUXwjGStW4tSN5h10y1axA/RoqC/9J3jggqFYuyAACi6mv0z921kiXOnooJ qtge3n8hJD14SvYziiPdcsOgUTZN0XoXxKoJqxPJJsv6wJaWcrr8expcoFi5vbT2h28S +prreHngYlkXcEWFlGMd1Fl2qmFVjo2EqBVP2LT2OTNCvD23rT2HnVhvL8tMYTiaqye5 +eoA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hh4si2995403ejb.79.2021.05.27.11.43.39; Thu, 27 May 2021 11:44:03 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235109AbhE0Q1T (ORCPT + 99 others); Thu, 27 May 2021 12:27:19 -0400 Received: from mga12.intel.com ([192.55.52.136]:52113 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbhE0Q1S (ORCPT ); Thu, 27 May 2021 12:27:18 -0400 IronPort-SDR: LzGqo17ynzD7b7JnFsSkzGJCBxWY8ANeEKFA/L0ePUHWSM3+JiexFxbjndMcNZvr3zrywkEzby yn7c/Zy2yCXg== X-IronPort-AV: E=McAfee;i="6200,9189,9997"; a="182433251" X-IronPort-AV: E=Sophos;i="5.83,227,1616482800"; d="scan'208";a="182433251" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2021 09:25:43 -0700 IronPort-SDR: NSijAumnIAB9t0qJ6jjwzCEiXkzJXsTPSIn90BqWLX8cTAz5HG1r9M+GmNTPlnPIgpuFwxrZ9k sP4IcQ9V6ezQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,227,1616482800"; d="scan'208";a="398260081" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 27 May 2021 09:25:43 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 27 May 2021 09:25:42 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 27 May 2021 09:25:42 -0700 Received: from fmsmsx610.amr.corp.intel.com ([10.18.126.90]) by fmsmsx610.amr.corp.intel.com ([10.18.126.90]) with mapi id 15.01.2242.008; Thu, 27 May 2021 09:25:42 -0700 From: "Luck, Tony" To: "Kuppuswamy, Sathyanarayanan" , Peter Zijlstra , Andy Lutomirski , "Hansen, Dave" CC: Andi Kleen , Kirill Shutemov , Kuppuswamy Sathyanarayanan , "Williams, Dan J" , "Raj, Ashok" , Sean Christopherson , "linux-kernel@vger.kernel.org" Subject: RE: [RFC v2-fix-v2 1/1] x86/tdx: Add __tdx_module_call() and __tdx_hypercall() helper functions Thread-Topic: [RFC v2-fix-v2 1/1] x86/tdx: Add __tdx_module_call() and __tdx_hypercall() helper functions Thread-Index: AQHXUo+HGWahrGi/A0SEFraSQ6BB26r3cj8AgAB+koD//5Lc8A== Date: Thu, 27 May 2021 16:25:42 +0000 Message-ID: References: <77545da6-d534-e4c2-a60b-085705e3f0b7@linux.intel.com> <20210527003033.3632700-1-sathyanarayanan.kuppuswamy@linux.intel.com> <974d8050cb974d6d80b0033e4b9fd0bf@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 x-originating-ip: [10.1.200.100] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pj4gTG9va2luZyBhdCB0aGUgY29kZSwgdGhlIGh5cGVyY2FsbCBjYW4gcmV0dXJuIGFuIGVycm9y IGlmIFREQ0FMTCBmYWlscywNCj4+IGJ1dCBtb2R1bGVfY2FsbCBmb3JjZXMgYSBwYW5pYyB3aXRo IFVEMiBvbiBlcnJvci4gVGhpcyBkaWZmZXJlbmNlIGlzbid0DQo+PiBleHBsYWluZWQgYW55d2hl cmUuDQo+DQo+IEkgdGhpbmsgeW91IG1lYW50IGh5cGVyY2FsbCB3aWxsIHBhbmljIHZzIG1vZHVs ZSBjYWxsIHdpbGwgbm90Lg0KDQp5ZXMNCg0KPiBJbiBoeXBlcmNhbGwgY2FzZSwgc2luY2Ugd2Ug dXNlIHNhbWUgVERDQUxMIGluc3RydWN0aW9uLCB3ZSB3aWxsIGhhdmUgdHdvDQo+IHJldHVybiB2 YWx1ZXMuIE9uZSBpcyBmb3IgVERDQUxMIGZhaWx1cmUgKGF0IHRoZSBURFggbW9kdWxlIGxldmVs KSBhbmQNCj4gb3RoZXIgaXMgcmV0dXJuIHZhbHVlIGZyb20gVk1NLiBTbyBpbiBoeXBlcmNhbGwg Y2FzZSwgd2UgcmV0dXJuIFZNTSB2YWx1ZQ0KPiB0byB0aGUgdXNlciBidXQgcGFuaWMgZm9yIFRE Q0FMTCBmYWlsdXJlcy4gQXMgcGVyIFREWCBzcGVjLCBmb3IgaHlwZXJjYWxsDQo+IHVzZSBjYXNl LCBpZiBldmVyeXRoaW5nIGlzIGluIG9yZGVyLCBURENBTEwgd2lsbCBuZXZ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