Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1807772rwd; Thu, 15 Jun 2023 16:22:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Mr2f+MOX6bEZtOGcOEU1B8H6AU8lgzCu25W73E3uld/QH9DQ+g/rQ49TIOfPV7vYcl8vY X-Received: by 2002:a05:6808:21a3:b0:39a:c202:b2e with SMTP id be35-20020a05680821a300b0039ac2020b2emr751896oib.28.1686871327989; Thu, 15 Jun 2023 16:22:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686871327; cv=pass; d=google.com; s=arc-20160816; b=t8yL251dJaChnrHx6MPw1YMFKAU9dwVgWi4DLrpMb1SLVyCDreNmTS6FHOAd/hWm3B uopj4sEcOsMo90PgVcszq3tCKYnSvKeo/f7n1EcXiivxi5/WW8sNDq48SX3pAsto+awL H520Dg9pLTKgmbD8g9hqs3g50CT26mfEoFRVfS2bO/nirzyqCMKhcf5rScdqaQrXf+xB uOwTaI4L7dj1/8AQtPR7bjJfGQawsGIhcWZIq/HK778rL2XykD2Sa4iYbC5GdadkBp4z 5qXssh6bjFqSPsuXkr1MdKGbw9/yxBkRfQ1AE9x+OHqt3K5IDtC91X5Vw9ewgekj6q3G pLrA== 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=XbCfJ1eYS6TbK3O3477msIKr4pYr3EHyXWo9HV4ajlk=; b=oz2Hk4MYdO1PNtsew8tBijTaXy6LBD/YMFB+sWqPjG1lk94B3KLMU59YQu8Q+OQjZ2 p3LLqMXmPwRYIzZHScTNt4F3Mktd8X0rdkW1p9Mrpa7HEkVDQJ0zxWPLnhu0DeBY+s5v N/7/x8lMWwemVdtsge98w+UKUnUsCRtLS8lSS2tqCOg+ck/hfEy0MuPzq7NAMUk6zrDU te07g5MrYnX1Ad/CSjoJU6FPTx44dZVMg9ZJPdiCAvULA2l1wQH9c19m9VJFSSm3ZFyZ H6PRAnN9CAqVPdF8fkS6c5Zcuc2vraVtLWFE7q6WrTHF/IUz/vyu/GwB07Blbh8IVSoe AmYA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=O2+ECaiE; 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 pc16-20020a17090b3b9000b0025e0ecee2dfsi367540pjb.113.2023.06.15.16.21.53; Thu, 15 Jun 2023 16:22:07 -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=O2+ECaiE; 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 S234203AbjFOWYi (ORCPT + 99 others); Thu, 15 Jun 2023 18:24:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236679AbjFOWYg (ORCPT ); Thu, 15 Jun 2023 18:24:36 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 928F62D49; Thu, 15 Jun 2023 15:24:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686867868; x=1718403868; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=XbCfJ1eYS6TbK3O3477msIKr4pYr3EHyXWo9HV4ajlk=; b=O2+ECaiEbu80e5QihC58S53O+JR85yY+GBuWueJDoAOU1ms8wFif3nLb lyrPesqw30yhm2+wnd1H11wraPIHaE2piqTEcwR8dIQavwB1+WezeRdTg V1CAxFHYXBbnrSZNnMbEVj765GLSoJNyYG7bVx+s5Y5qi47o0wAzZjpq8 eBUSA/XKp0T4zeTo+Sn+i1BhaSaU23h+nWTDrIllGiyVeUwOry/U7qWaM giw9sUf7eFBXFUd6SS8kh/z8B3hp58X+PC6eFbwJ/v4Y+JH2BFRzq/Jjr otUEczdLUOGIZrEh5FqsGzHyiWGyPCgcflum41CbwIuF5ucHqv5FWHh4N Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="422698531" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="422698531" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2023 15:24:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="742410993" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="742410993" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga008.jf.intel.com with ESMTP; 15 Jun 2023 15:24:27 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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.2507.23; Thu, 15 Jun 2023 15:24:27 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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.2507.23; Thu, 15 Jun 2023 15:24:26 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2507.23 via Frontend Transport; Thu, 15 Jun 2023 15:24:26 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Thu, 15 Jun 2023 15:24:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z65KccszMrLf77EqKK0DFBJFT90qHbHM5QUn012wYSxp6f6Am+0a+WV+cWNCjzukSlQPJnqhhz/3jySQ+mG4ecem3GFCXgotkLAyt5DM+iQQHn4e2fhmh4jF4O2VPynlgMhvwOuYwcXgf42F1G7xta2vLlYy8V3MXNJLQ3wuBa8LAxfKbot2X6cC0hxLQQAbe9GJSSw8PXpBWpHmylRbFH/hCh9Vq7NgE1xevLW0vnrR6RC2HxyyB5zFL3YInTuubUEy3Xi6Auk+yA6gZUSsXJapkr9mPP6nU1Jd5MN4ngiesm3M4n79cOfCng2nn7UzFh7CUhh0dgGc24kwDRf4zQ== 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=XbCfJ1eYS6TbK3O3477msIKr4pYr3EHyXWo9HV4ajlk=; b=OYiQ8HL3xVlMxjjQbsP/XPNrNuhJwTBiUNIyB7pwJ5rnlnzA31Drl6cAuVKj9CE6K8/ioU21qL6KaSD3XJjlKdrCrM7S8/7X+oCWbxpVzXIi0qOU9w4ip93CNSwqTRB1hFmtkIV8z5RZ9xcVWMRARLMM/R/QlXYn3YiHBmEpxKLhpEQHrGKvWNPrqm9nfr/OmvvewdJAyQQBwqcFqpi+GyJpF1maeyiiQhjJJ/fmkmLh+4a7nxDDm8SSab7vTG4RMEs4kRCw5d2DdTKR3jmcWiEy7RP4ruCoeE85r4e6EMCdcDjBu8yEYQ4GImklDTbeGkVhCwJRZpBpLuNoSB3NEw== 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 SN7PR11MB7439.namprd11.prod.outlook.com (2603:10b6:806:343::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Thu, 15 Jun 2023 22:24:18 +0000 Received: from BL1PR11MB5978.namprd11.prod.outlook.com ([fe80::19b7:466f:32ac:b764]) by BL1PR11MB5978.namprd11.prod.outlook.com ([fe80::19b7:466f:32ac:b764%3]) with mapi id 15.20.6477.037; Thu, 15 Jun 2023 22:24:18 +0000 From: "Huang, Kai" To: "kvm@vger.kernel.org" , "nik.borisov@suse.com" , "linux-kernel@vger.kernel.org" CC: "Hansen, Dave" , "david@redhat.com" , "bagasdotme@gmail.com" , "ak@linux.intel.com" , "Wysocki, Rafael J" , "kirill.shutemov@linux.intel.com" , "Chatre, Reinette" , "Christopherson,, Sean" , "pbonzini@redhat.com" , "linux-mm@kvack.org" , "Yamahata, Isaku" , "tglx@linutronix.de" , "Luck, Tony" , "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 v11 15/20] x86/virt/tdx: Configure global KeyID on all packages Thread-Topic: [PATCH v11 15/20] x86/virt/tdx: Configure global KeyID on all packages Thread-Index: AQHZlu+0KAMcPEG9HEOo/5AeWmgUfq+LlEeAgADuFAA= Date: Thu, 15 Jun 2023 22:24:17 +0000 Message-ID: References: <30358db4eff961c69783bbd4d9f3e50932a9a759.1685887183.git.kai.huang@intel.com> <49bd9f7f-9a2b-8b8c-f408-49b9b5982eb7@suse.com> In-Reply-To: <49bd9f7f-9a2b-8b8c-f408-49b9b5982eb7@suse.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.48.2 (3.48.2-1.fc38) 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_|SN7PR11MB7439:EE_ x-ms-office365-filtering-correlation-id: 65479e42-aedb-4adb-3159-08db6def4257 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: QXZu52I0RuVzO1u/2z2+UcmtwNhacYwFVNk1LBnr934pG2FMG5KPhJi2a40n38WMMgnMYyjJznkyRwin/HH9ZdQ3RUHIaYPZoYtOPyJ5l7QlT+8W4hfoKmPk7ZWfEFa4r0ckD7LZXbUhmQkPSE3OE96e3Jb+YWTlypa/yHA9tq0sbRKIApaqRqYbfySA4afh+as6ZRxc7f0AbgS0z0zWGg1KAJOBN+zmUeTl9wpvxN2kwg1Fvl0A33C4cIwpoSqTe/1ElscLuupvHWM3yyJ3rSNN+rD5jnd1QSJ52rbiYdB/LEvyVEHsXK5yIE60pag8VI2CKqgsKQm+zPFZYEe2Z6MGwYKSHrwUpZHl7ybyzvFUr1VJg7j2hce8uBgl3m6WBi/klbItk5DulHINIi/ScdIIleAza/oWGvy+PfIVjdx2IWdyuK9zUEToX0MDMHakgkydhH6LeJ3WO5LrBqiV/fFehMXsfxZUiBcOybUkhimWIW/6zU2Mf2t3tjErt8VwuwZ6LyK+T7YkgQJ6AhaHFDlTe9OZySPih29LIBec7AzIn1hyWBi1Z8y9OtWLNigDMhT7HsWdK81V0Mdyquk3UyIrcc/eHYDYEeFN5wCUYy+YKIB3qOIc1RAIMeIoUrZ/ 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:(13230028)(396003)(39860400002)(366004)(346002)(136003)(376002)(451199021)(8936002)(6486002)(41300700001)(316002)(2616005)(83380400001)(26005)(7416002)(38070700005)(2906002)(6512007)(6506007)(86362001)(186003)(122000001)(82960400001)(38100700002)(36756003)(8676002)(66946007)(66556008)(76116006)(54906003)(71200400001)(5660300002)(110136005)(478600001)(66476007)(66446008)(64756008)(91956017)(4326008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?U0hJSVlZL1ZjVTV2MHRPQ29aeUtPR293T2Q1MWUwU3RLbzc1RnY3Ukg4cjhZ?= =?utf-8?B?bXc1QmdrRUpYbk1qZTNzVFFKdWVUVCtseE5aK3EzMzVqTzhkcjJab1ZaSDls?= =?utf-8?B?VzFrWnlDb3hVNmlmSnVTVmdjT0JtbUp4LzBWMCtZcGtFZ3p0akxYaUtYdUFt?= =?utf-8?B?eXZ1Y1BsUldMMHlHU3ZpZUtYd3ZvNGJ0VURLaGtWalUrSlp1TGNuOEFyeTIr?= =?utf-8?B?TjB2K2RkN3hxVUJmOVdoNmpz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?B?SmoraG5QbkpYSkhxVlBXMDJGMnZFbEVaK3ZCS3QwVk4xYVRRMHErTXVWeVBK?= =?utf-8?Q?z6LZ5yA4gDvPx6cLFkp3CH2gn?= Content-Type: text/plain; charset="utf-8" Content-ID: <5408A0E957CB3E41978BE16CF98F33D6@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: 65479e42-aedb-4adb-3159-08db6def4257 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jun 2023 22:24:18.0078 (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: XScgFt2wtUVRrbTXy0i0oLlq5HS2RK7ehBieXjLzaqsOI80PhXU7ehXDDc7yu6OVCa7ibTtJa7caUblR/NhjAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB7439 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,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 T24gVGh1LCAyMDIzLTA2LTE1IGF0IDExOjEyICswMzAwLCBOaWtvbGF5IEJvcmlzb3Ygd3JvdGU6 DQo+IA0KPiBPbiA0LjA2LjIzINCzLiAxNzoyNyDRhy4sIEthaSBIdWFuZyB3cm90ZTo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CBieSB0aGUNCj4gLSAgICAgICAgICAgICAgICAqIFRE WCBtb2R1bGUuICBGbHVzaCBjYWNoZSBiZWZvcmUgcmV0dXJuaW5nIFBBTVRzIGJhY2sNCj4gLSAg ICAgICAgICAgICAgICAqIHRvIHRoZSBrZXJuZWwuDQo+IC0gICAgICAgICAgICAgICAgKi8NCj4g LSAgICAgICAgICAgICAgIHdiaW52ZF9vbl9hbGxfY3B1cygpOw0KPiAtICAgICAgICAgICAgICAg LyoNCj4gLSAgICAgICAgICAgICAgICAqIEFjY29yZGluZyB0byB0aGUgVERYIGhhcmR3YXJlIHNw ZWMsIGlmIHRoZSBwbGF0Zm9ybQ0KPiAtICAgICAgICAgICAgICAgICogZG9lc24ndCBoYXZlIHRo ZSAicGFydGlhbCB3cml0ZSBtYWNoaW5lIGNoZWNrIg0KPiAtICAgICAgICAgICAgICAgICogZXJy YXR1bSwgYW55IGtlcm5lbCByZWFkL3dyaXRlIHdpbGwgbmV2ZXIgY2F1c2UgI01DDQo+IC0gICAg ICAgICAgICAgICAgKiBpbiBrZXJuZWwgc3BhY2UsIHRodXMgaXQncyBPSyB0byBub3QgY29udmVy dCBQQU1Ucw0KPiAtICAgICAgICAgICAgICAgICogYmFjayB0byBub3JtYWwuICBCdXQgZG8gdGhl IGNvbnZlcnNpb24gYW55d2F5IGhlcmUNCj4gLSAgICAgICAgICAgICAgICAqIGFzIHN1Z2dlc3Rl ZCBieSB0aGUgVERYIHNwZWMuDQo+IC0gICAgICAgICAgICAgICAgKi8NCj4gLSAgICAgICAgICAg ICAgIHRkbXJzX3Jlc2V0X3BhbXRfYWxsKCZ0ZHhfdGRtcl9saXN0KTsNCj4gLSAgICAgICB9DQo+ ICsgICAgICAgLyoNCj4gKyAgICAgICAgKiBQYXJ0IG9mIFBBTVRzIG1heSBhbHJlYWR5IGhhdmUg YmVlbiBpbml0aWFsaXplZCBieSB0aGUNCj4gKyAgICAgICAgKiBURFggbW9kdWxlLiAgRmx1c2gg Y2FjaGUgYm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