Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7214216rwb; Wed, 23 Nov 2022 03:52:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf6sweQlaO5u2RALnTvqJd+j77w6JwlNoU4qbOpqgz/vT/nuGir9GShH3lXcE/q88MhSp2Wn X-Received: by 2002:a17:902:f391:b0:178:71f9:b8fc with SMTP id f17-20020a170902f39100b0017871f9b8fcmr8762865ple.44.1669204335411; Wed, 23 Nov 2022 03:52:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669204335; cv=pass; d=google.com; s=arc-20160816; b=cEAePKtNdueWg3GDfxhn8EQiY234CpcLLPGL/CbKHHCHqKVjofNGnsMpQ1+x8bCMok Dwbs1T41L7U1s91YE0mjpSWLW9Wj2NPyfPT3SbLXAq53C4NXZmFe3DwVJJOqtD9U7vaH E2xM6N+qvSxvymKC7Ms/GcWwqwNh1Ayjayj+sW9jSG1skKhkdcOBJ4PXpMiUlY9kaIH4 Wsl4Qi6M41JgNFRiQ0iTDwZ7NVtZ9tcCOsoqNwzYfNiNIvoDgXgqKtZfAtoP8eY7MEsc c9DxsudvViEd0w/j6ZhNjDbewUbyYXvGuFZ39FsNi+Py0O+YuwkWhOmC/hB3cgmWj5vN dPLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=HQBklD+VXE7TlWCsRGPWGxSkY3gLNTQ2WfcK+6p/tTY=; b=Yi2M2Nyn52rGdEbODcbleNGvpzz5UUZ8Rsfy27+oJbnSCqHQHTLMuGnr57wWFhjqoR BCYPiU0vDU0gm42zSM2Bs/YqkHjmM9s0A1quktCtYJ9HHGyfqPaw/+68e/DGC8p7aCrq AlVft/rhc+zP3EOZl832fHYEK5UnMlGnzZikGVhArNJI+pYkkxHOqQpAkiTnh04MPJCK Fikbr0VFrkI9ZTDn48WOqFpKmv88gCTS2FdIwTRkqxgNk9I7Ov0sNW4Qv0jDxOUKAwNh sFVwNBT7RPDF6UCkhaLZngYpTTqYjheSmLG0kWhHMPRDHiLE0fQydvEN+RdIqvXlcPKe bp8A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hmIcZH7d; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 s1-20020a170902c64100b001870464adb6si14332631pls.183.2022.11.23.03.52.02; Wed, 23 Nov 2022 03:52:15 -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=@intel.com header.s=Intel header.b=hmIcZH7d; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 S236540AbiKWKz1 (ORCPT + 88 others); Wed, 23 Nov 2022 05:55:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237038AbiKWKy7 (ORCPT ); Wed, 23 Nov 2022 05:54:59 -0500 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9C012522F; Wed, 23 Nov 2022 02:43:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669200228; x=1700736228; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=HQBklD+VXE7TlWCsRGPWGxSkY3gLNTQ2WfcK+6p/tTY=; b=hmIcZH7dkWw+42zJKF4Dh8rhstyvLncRkjSt0UZkK2azGZQ+m8bxiuGE nhONb3Kr7sERd/slliOm5nhQXdhBF21oWtL+DTH0h310xCPcpyuWM8vi3 hWa1sFqSkzV1H1A/3lKRwLMF3VSMXmISQ4/K5a4V3N7jwbVwShfWS6+oG TTc/XzGL8c941LGZM5MsH9GoCVCHprHU51rPDnn7q/fdAAwayneuAa8YC o3WOlIx9QwHQlA2DagjyW0Fzzvugz75VyIF4c3FvuAiu0x2pVTCZKjHMx caqlzBTo3ExLaZ+5axDvMnxT1Puc1qlpbLIUsTc3KmPM+v5YPCw49DprY g==; X-IronPort-AV: E=McAfee;i="6500,9779,10539"; a="312738170" X-IronPort-AV: E=Sophos;i="5.96,187,1665471600"; d="scan'208";a="312738170" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2022 02:43:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10539"; a="619572840" X-IronPort-AV: E=Sophos;i="5.96,187,1665471600"; d="scan'208";a="619572840" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 23 Nov 2022 02:43:48 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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.2375.31; Wed, 23 Nov 2022 02:43:47 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 23 Nov 2022 02:43:47 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 23 Nov 2022 02:43:47 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.103) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Wed, 23 Nov 2022 02:43:47 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dDOozksPI2xKYBxHdeDIn9gJJqNf8MBEdoRkILYhGBgcjoccLcxTumZ1PaajoZmpC5uttQBKV3wrX6ekL/3cE4hOBq5QogSem5HMy+fjgE9bFqKOUt5Zs/FVyj/n2k5j5wFeRq1cyIEiH5I12dflxQjamkqjRJ7ASqDFNshs35nsASVeoXfGioa11LMx3pC+nWV9c/1J8XzeJENGpKsqUpJRTC7GV6Ok0IIyELF3SoSfQr5/FojxqMBuZuVSFG1wHmrWHLUeGQBU9daWUmgoKKvNv6fToNmsdGbui/pKQWeWUQX9UW7i50uOsvnWWhg0D9sQTHVQVB67egALhxyAEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HQBklD+VXE7TlWCsRGPWGxSkY3gLNTQ2WfcK+6p/tTY=; b=EcuSHbSY93hK8TeCm/7Zdk4nfpuwxlWb6GWjcRDjNX74wXHQRMNRmQxRrAMq+UHeIgxCwBaq4GR62hsVMBL99D1Zm6/2LUXDWPuDvARNQFFleviaj35vuhwckchYHoT5Z019uXMa9H0ozO6DQm35rsy3Vd0jmwwhMiaHnIE57b8PW/W5hV3JZfFmUx7Uxo4pQ+UCeUAx6PCUc4grwj7JIRdK6E7XmFrGDtEfymJb/AQAfkogO7j2TgIY9kbnOPPOBUGTeVM5EttJrS9AqgIsjjKKhXCreRPf5tanPaFFUj+rXOcd3lWuavMGpZm8YmttCZK0AlrCYT6OXFxJfVIIRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BL1PR11MB5978.namprd11.prod.outlook.com (2603:10b6:208:385::18) by DS7PR11MB6293.namprd11.prod.outlook.com (2603:10b6:8:97::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.9; Wed, 23 Nov 2022 10:43:39 +0000 Received: from BL1PR11MB5978.namprd11.prod.outlook.com ([fe80::2fb7:be18:a20d:9b6e]) by BL1PR11MB5978.namprd11.prod.outlook.com ([fe80::2fb7:be18:a20d:9b6e%8]) with mapi id 15.20.5834.015; Wed, 23 Nov 2022 10:43:39 +0000 From: "Huang, Kai" To: "kvm@vger.kernel.org" , "Hansen, Dave" , "linux-kernel@vger.kernel.org" CC: "Luck, Tony" , "bagasdotme@gmail.com" , "ak@linux.intel.com" , "Wysocki, Rafael J" , "kirill.shutemov@linux.intel.com" , "Christopherson,, Sean" , "Chatre, Reinette" , "pbonzini@redhat.com" , "linux-mm@kvack.org" , "Yamahata, Isaku" , "peterz@infradead.org" , "Shahar, Sagi" , "imammedo@redhat.com" , "Gao, Chao" , "Brown, Len" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "Huang, Ying" , "Williams, Dan J" Subject: Re: [PATCH v7 05/20] x86/virt/tdx: Implement functions to make SEAMCALL Thread-Topic: [PATCH v7 05/20] x86/virt/tdx: Implement functions to make SEAMCALL Thread-Index: AQHY/T3A+/0sXXuTQkqld4kSQb8mzK5LQ7sAgAESqgA= Date: Wed, 23 Nov 2022 10:43:39 +0000 Message-ID: <0bbeb95691cbda6ac9fef0ec0f3dd0b4f7b00d2b.camel@intel.com> References: <5977ec3c2e682e6927ce1c33e7fcac7fcfe2d346.1668988357.git.kai.huang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.44.4 (3.44.4-2.fc36) authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL1PR11MB5978:EE_|DS7PR11MB6293:EE_ x-ms-office365-filtering-correlation-id: 17ea9a0f-2f34-4531-d0fa-08dacd3f94ec x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kJHwzYQfMlHoe0ItENATGP5TDL5mH56SQ4oIAXYxsSeRvSQfCIBqxd3tw95Xd9y8aDjIDEIJgTai5WDfZdqDdgFOus/WR1aMmGLV0X3m4f9M01L0xMz10MkrqY6yAcW1C8gi62EfjeZ7yjSdMURHCLNLrSzrwO4MNWbPXE8vhfSKzVKj/gVo0Y40vuw8OcYtFVW7cL0WrV2fwTPkukCAHjzPRcCGQi07EqRxteoxNgCQLsB1mKP7yl4Vhp1ZdQtzfjOPfpHnzhWyKlcO0Vcfu4EbVj8IovxWaBhx/w6H5wf00OaVKI1pVQH7fO3WjZyJQa8otSTKgswIeBveo7fTK7OWqErnsT2AE7JbTnpR86N+1B5bPsykh7fMvHK/grbTuMBFbQAmbsDGk4GudUIBTG2O9iabnwjEdsjInxPREFYy34LKXSWbtLjbDJuuMkrY+eE7YhFlpB6l2ZWFkJyqMwxPMaFty+gs1GbQHIgSBsRSGs607qsbP4+Hgn3u5Ayft/UBXMenqFTTN5EWahtmylBpGyh6XweyezoQMKPbfUbppxJc4ir9evEitDXt1P5hBYYI0JjhbnTpwNIZ3BYAAC30M2H3dkdyOaJJ/aGndcdWu2n9UQRr9Vaa2tOlbgqHh+5rI6gperuzPQ19lIu3kGkI5XlrEeGal1hNRHgC4E/uQWsc4vPcVIpUokOUmvJCilqJxZ4mXLteZijDxeg/rg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR11MB5978.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(346002)(376002)(39860400002)(396003)(136003)(366004)(451199015)(4001150100001)(6486002)(38070700005)(41300700001)(478600001)(83380400001)(2906002)(186003)(71200400001)(53546011)(8936002)(36756003)(66946007)(5660300002)(82960400001)(110136005)(54906003)(2616005)(6506007)(86362001)(38100700002)(316002)(7416002)(8676002)(26005)(4326008)(76116006)(66476007)(66556008)(64756008)(122000001)(91956017)(6512007)(66446008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Zjd0Y09yNEtQbzV3OHNZVVZlWTVoUThXdm5EUjlGaGQwQnZBWHZtcEtXTHZM?= =?utf-8?B?SW5SSFlvUkd1SFJOMDM2TkxUUys2M2p1SVh0NXlRNGJmV1RsNXJRdEtDNHkz?= =?utf-8?B?a1ViZWVFc1dMVk9aUGlpNVcrQlVyYm5DbnFLN0lBY2xqZmprS2N4QXNZTTIy?= =?utf-8?B?OFd2ck9WWW9uSjc4WUdGVC9VdTdneTRxRk12ZHVYelNrVU9qc1htVDVxajc1?= =?utf-8?B?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VSMlBJNlQ3MUUyM2w5THlMUFd1SXl3?= =?utf-8?B?NndwYW5jaUJsMTZoYi9oVjVIb2QyRXZrMG5PdHl5RFhnVEsydlRab0gwVzMr?= =?utf-8?B?NGt6eGdDdjRuMUtkZmhZKzEvMERYcVU3TC9NSFNHMmo0dTFjd01TTFdaZENw?= =?utf-8?B?WGc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <0A93ECF876A8A741A0ADC19CCEB8B34A@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR11MB5978.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 17ea9a0f-2f34-4531-d0fa-08dacd3f94ec X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2022 10:43:39.0902 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: x50c7tNc23DlMd5ep9DsTcK33uVtJwb6ERvyV0vPDboZWJpKNF7NNDCau5Zj1zijzUgVKnrrItYZeDF81ZmxVw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB6293 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 T24gVHVlLCAyMDIyLTExLTIyIGF0IDEwOjIwIC0wODAwLCBEYXZlIEhhbnNlbiB3cm90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