Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19931865rwd; Wed, 28 Jun 2023 17:02:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ljoZTmqd4jW3971F2xo5toYJmxqt20IEc3gvGpHmqiYtEOs7NBICW61uCAtW22u+BBCLv X-Received: by 2002:a17:902:dace:b0:1b2:1d98:2511 with SMTP id q14-20020a170902dace00b001b21d982511mr11354610plx.50.1687996941307; Wed, 28 Jun 2023 17:02:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687996941; cv=pass; d=google.com; s=arc-20160816; b=UY9jfTwGjgvA8nzCPUvk6VBvzxBbhiemzx22fijU8VHJw88qEi7i3xtTjGJBZ50ekY qAhO7FwmZQfTBPjxJ5BgPnfG5pvkHL/nLxwS+eypBTZdInJwCWTvpkV56/eMoY4I4SBv jFltGJTjGZP/tQLK0n709nqhS7QpFh0BcQcplnqRWVq2GOgAIj+lqV65qZCeK93mlCOt LKLwBoi/w0eVmcnKmxTKegICMDuT8Rdc8VlpRtISGRmns7xBCo7WTAJ3N2Z8WWikv+0t Pe1x+2PA5wPfQ8VOwZC4FJx/QNDbd4TXzEyP44FmswvXU3nJJDqXLPEymsVm/NmcR6pV pw3g== 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=18kcT73AmcZ8illrWjQtM4QTNbN4/J4Um5kcuH6xUEs=; fh=dNN5n/7ZmJ5fkVFnMJtPA19/+0NpmpVoUeokYKVv8ss=; b=ZLfPdGKVWVGrTP7i/lcW9x6eIup/MDXl8FHYp3kzmNFX6MEMKuGs48oC1Bi26PMBCt AONiiD/H8frIBsj2Dq8rU9rGHDNUuterQW6pixi/A/n3CrHmGdP/qqwZC5eGgqFu99LS d5J/om0jbudUuNNq8t8x5I0asoWv0BuQD2iN/hkkRE4tKWmQ9OxZdSnRUhslXDfYDdHg foeclaUeq84mRZQtv2LGIOHpKgNJTeL8hWDPQYp/CUwgAh8ehfEsPnQ90RZFHA7X99gV y228oB1xwjEApVPfoK9jueimINRbjqFPzxmL4+0QyMiwpbTCR5FJBcMlWawSRhgbhVbr FTLg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gpd1XY5Y; 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 x10-20020a170902ec8a00b001b02722139asi10277650plg.494.2023.06.28.17.02.07; Wed, 28 Jun 2023 17:02:21 -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=gpd1XY5Y; 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 S231794AbjF2ABF (ORCPT + 99 others); Wed, 28 Jun 2023 20:01:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232527AbjF2AAt (ORCPT ); Wed, 28 Jun 2023 20:00:49 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A002FED; Wed, 28 Jun 2023 17:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687996848; x=1719532848; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=18kcT73AmcZ8illrWjQtM4QTNbN4/J4Um5kcuH6xUEs=; b=gpd1XY5YOcu0F1pKDWzIF4i54lI3H/d2A1t+f53qOpTld0nonI231G8+ XrNzkq0pj2zQQpXDCpyS4l2jlPU4iFHFiRAM3FPmffas3G1nm+nCePMz5 OIGWc6kDIHgtyz0kshxBDoSonOTxvwv/wiBUf/N2ZctPThSoG3qyMo3KY gN9JwErN2MX0+7GyZEXwIhwawXKXglCZDcaQan93QzYlEiF5FsM31Omec pNV/Sk1BMlqOCduVs6D7wFmdWly08sjUZcBlsNG2nOUe5SR3DrRzkIBbO gjSdwxkVRRR17/RJA5FjBlBGL4MSuV5QKp7LUxAWkLMhftJNA2m++2tGh g==; X-IronPort-AV: E=McAfee;i="6600,9927,10755"; a="365450849" X-IronPort-AV: E=Sophos;i="6.01,166,1684825200"; d="scan'208";a="365450849" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2023 17:00:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10755"; a="787201239" X-IronPort-AV: E=Sophos;i="6.01,166,1684825200"; d="scan'208";a="787201239" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga004.fm.intel.com with ESMTP; 28 Jun 2023 17:00:47 -0700 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.2507.27; Wed, 28 Jun 2023 17:00:47 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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.27; Wed, 28 Jun 2023 17:00:46 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.27 via Frontend Transport; Wed, 28 Jun 2023 17:00:46 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Wed, 28 Jun 2023 17:00:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BAap4eGhvQ/QbO8y7opMhDInQmxXLXRQFNHYjTiowYZ5aaAKIAf0Bre6IKkB0ParAICJqkFcgQ/zNi+FPgIHQ3GbAUAuCnszo6icV8KYJXUmebXmmSXjbiUutEej0MCKhPutqJX1vw0Ln7DWbAGO9KcOCmfLHWvDHagiLv0ASoAx+SCvscBzVM8eCK4Kd6VR9Sk/Pl8KZvN7WiRiCYNVHJjXJE102Fy4ZoXmgTtR/C6J7cmAdvZOkhY7tLcr68GVsHLyAhGC17JyfwCpwIaGmiIQZJW5mKLcalGrbQ+eTt8k/7oEnpZyUAOs2tkRzq46F0bZSBeUB8kFZFTrPb4oFw== 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=18kcT73AmcZ8illrWjQtM4QTNbN4/J4Um5kcuH6xUEs=; b=OSWh4Daj/G8HZEn3HQoShpgVnOcX1d3rTP0Efm9dOA+qUWH7JejFkXyrhkMQwQAS4QJvdhg4U496hdXTfAdpflJ2T95Z3I9Uf4q96axu8DkcAemzenmASnQ9enPgnvrAq/p7BTjNzB9p9N6j5vFNudSOgMnF+r+/Gpw+jYS2pkbCaD9JL/svhYghwlob6fmfrxfy/Gt0644tx/KWn7F8ot9MO+wGzG0pDdejlUbwx9Fbwd0evSs1++WLgXYr0TGfS7m1KwvxiIDChAKHaHrCY3aqTy/a/H9g4gxx584UOIIj8DXHVOQvXyNfu2av1U/uazZeV94+9NzEpxYaBOdynw== 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 SA0PR11MB4639.namprd11.prod.outlook.com (2603:10b6:806:70::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Thu, 29 Jun 2023 00:00:44 +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.6521.026; Thu, 29 Jun 2023 00:00:44 +0000 From: "Huang, Kai" To: "peterz@infradead.org" CC: "kvm@vger.kernel.org" , "Raj, Ashok" , "Hansen, Dave" , "david@redhat.com" , "bagasdotme@gmail.com" , "Luck, Tony" , "ak@linux.intel.com" , "Wysocki, Rafael J" , "linux-kernel@vger.kernel.org" , "Christopherson,, Sean" , "mingo@redhat.com" , "pbonzini@redhat.com" , "linux-mm@kvack.org" , "tglx@linutronix.de" , "kirill.shutemov@linux.intel.com" , "Chatre, Reinette" , "Yamahata, Isaku" , "nik.borisov@suse.com" , "hpa@zytor.com" , "Shahar, Sagi" , "imammedo@redhat.com" , "bp@alien8.de" , "Gao, Chao" , "Brown, Len" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "Huang, Ying" , "Williams, Dan J" , "x86@kernel.org" Subject: Re: [PATCH v12 07/22] x86/virt/tdx: Add skeleton to enable TDX on demand Thread-Topic: [PATCH v12 07/22] x86/virt/tdx: Add skeleton to enable TDX on demand Thread-Index: AQHZqDWtW8hO2PRC3kCMr0lha9GzWK+gMa2AgAC3Y4A= Date: Thu, 29 Jun 2023 00:00:44 +0000 Message-ID: <20322f0432e418eaacfe397aa9363f94ada0b902.camel@intel.com> References: <104d324cd68b12e14722ee5d85a660cccccd8892.1687784645.git.kai.huang@intel.com> <20230628130419.GC2438817@hirez.programming.kicks-ass.net> In-Reply-To: <20230628130419.GC2438817@hirez.programming.kicks-ass.net> 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_|SA0PR11MB4639:EE_ x-ms-office365-filtering-correlation-id: eabb828b-a385-467f-1882-08db7833e2a1 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: HKO03sE3tWYrpvdUzxrJbWpO7nJg05FyqsVKV3pNP7rW7wM1Ivb2yBCXqZn47F80MUCP/seVTAT+cCiZd9mWei0aSkz2WxBDpXgsjHkfk79uW/jBjB/R67488Sm2SdupZsHUI0F2uXBF/UsmpwDKWuQpBjr0BKgmr4vxJHdZjO54HdHDL91ViNPo4wbEz1pWj9NS0P3Vn+udfLx7TZHX6qSyzeAG9T5MQb15RzL0hj6VnB/h4vPE6rTllAODpbnSDeUU4OnkgrASG5A+frQTVSyMaH4vSyU7Ua/pL9AKEcRPnrId5//kn7CNzTVG7urk8zKnLws62zD9bLTUOpg6KSIKnH02u3Blv7kQ3Z35R7URPISQ7AYxchJ8eRvgm77Ngo2IVvWqZuKDRuFJDHlvn/a/NKieoQoryy2xEn/CbIZI5MBvJErd/7TY90S7BiTYr3xazkLg6YuILo44XtfCVsRKqHopclQZRw8tD4FYR4uK3sPvYkXDA2QQXhOqs96AiFxEQYD+dmpAFux1BPUa7aifRGsPiHc/MLAgwi+0OqwxJXoyylDN/hWYgYy0pHbNfXPuQr6nFudf+Q0tDRZm5qpzdZ2am8ytDyb16VD3WUNnrP1ZokDx+c0ATif1vdO9 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)(346002)(39860400002)(396003)(136003)(376002)(366004)(451199021)(6512007)(36756003)(5660300002)(38100700002)(86362001)(41300700001)(7416002)(91956017)(66476007)(6916009)(8936002)(8676002)(66446008)(64756008)(316002)(38070700005)(66946007)(122000001)(66556008)(4326008)(82960400001)(76116006)(6486002)(478600001)(2906002)(6506007)(71200400001)(26005)(54906003)(186003)(83380400001)(2616005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RjJzbDU3VmlVaVBxWkoyWnN2ZDA1WXNSV243U0VuTFpNc2s1TDVmRU05OTJD?= =?utf-8?B?aEpyeWNURDBGMWRNVlBxeWJwWGVnMG91V2pQU1RYOEFGeisvOFVlWjVqUXNl?= =?utf-8?B?NUF4aWlpZEJxeHJFakp2U08yNHFGdUIzazVuUUhRbW04czdQd0pRYThwS0NV?= =?utf-8?B?VUN6elp5NzNndEsrczhjZFFDbUJPSH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?UGltNTdaaFNTNzNjYTZKbGtjQVJUcUlTYW1JczFqaE13Z0dKUmFUZXp3M1Ir?= =?utf-8?B?bG56MVdSK0JSNmhwdExITXJrM3p2cmlsT1Z1Y05va0NaZE56YXhOZis2MVIy?= =?utf-8?B?d01WYjdUOUVLbGFXb3J6NGptQU9rM3VveVZKallyS1FVRXZnOThKMjhoSyt3?= =?utf-8?B?VXc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <50E3DE94B478CA45B9D5D797C40ED69F@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: eabb828b-a385-467f-1882-08db7833e2a1 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2023 00:00:44.3382 (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: ulI70SalQKmORoUvtzaZ3kfO2cwAjj2EuJLzpJZO65PpIgPIewUFDGSq0yoHwnQI74Gk+HboUlQDcol5O0Qf4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4639 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,URIBL_BLOCKED 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 T24gV2VkLCAyMDI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