Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp740992rdb; Mon, 29 Jan 2024 17:48:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IFzDn6VkxWX9VCwLcu5RhwDAvThu9F1Fftk0HOaFaVCpA/kiJqrMC452V826w4prw9cG/4W X-Received: by 2002:a19:650b:0:b0:510:ee2c:e9c4 with SMTP id z11-20020a19650b000000b00510ee2ce9c4mr4054522lfb.17.1706579294551; Mon, 29 Jan 2024 17:48:14 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f6-20020a056402068600b0055f1ec4a5d1si771561edy.181.2024.01.29.17.48.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 17:48:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43732-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NbJVHgcS; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-43732-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43732-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 36D561F26F23 for ; Tue, 30 Jan 2024 01:39:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 568E9364A5; Tue, 30 Jan 2024 01:38:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="NbJVHgcS" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41BFB1E4A7; Tue, 30 Jan 2024 01:38:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.10 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706578738; cv=fail; b=E4Na5mE3/X98QYjjbNWuZ3Zst2tmWYX5fMKtKTNJdq2cMuIz3q37mGr1tCqIwlY3DNFqqa0mKEzuWLx2D3TaWOTs8T1zwOeLHLMCs8MgPgIf0f8Hv8sYFEwvJca7vGKVNSSvBQnh7v0BwqsHSRn6OUb/Jy9MzFoIvBGOpevix3E= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706578738; c=relaxed/simple; bh=OB2XSDsUaoWvVV0T2Sv9NDaIFBRYTB2U/eQDYmxDxVA=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=aVmf9MsbnJOekVqaYwn1HlF6HiLstgqgjskpq8Q5Ry8oD1/jc4Ftzk8giATS31EG9E/29Gq66C2XF+2IyInJAQZWB+GGjfyuBJc+6pCCEqUeZXLcnSt/5AOfvCuC26yff9+wE6uoSpA3SsDb8KRBDMXCC9pdeagKiDf76VbEhXE= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=NbJVHgcS; arc=fail smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706578736; x=1738114736; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=OB2XSDsUaoWvVV0T2Sv9NDaIFBRYTB2U/eQDYmxDxVA=; b=NbJVHgcSYgnhz6qqU4hgXm2gVVO2El6OW4z/oGKO7ncxFYlbaTjgKneV 7CsNw8EcHc27lKFAtG07xrqKnACtZ85n5B/fjRwNYAXPWFbRnwLzGZ+Qt Ux+/lb/rpVHh6tE4AUDXNQUaCoTIFlRUKd3xVbvQ5sRrB0CakPCG3s1Si DH6tpSBLLRzpFchwXytzwdwEJH8Qr8gx0YgROiO7PtxZ9zkwtGULZwPrI f6UJ6vz6Qps9b4XvBZazQ/eKOv13eFgIzXNlpAI6Qp4+pu1yIHqtzXdOv dkvKaLvQ0Wm8zY2rGxCNdzeYWawRI53yGmI8Y3+mWx9WG+0xd2aYvzocd w==; X-IronPort-AV: E=McAfee;i="6600,9927,10968"; a="16524395" X-IronPort-AV: E=Sophos;i="6.05,227,1701158400"; d="scan'208";a="16524395" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2024 17:38:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10968"; a="788017604" X-IronPort-AV: E=Sophos;i="6.05,227,1701158400"; d="scan'208";a="788017604" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 29 Jan 2024 17:38:54 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 29 Jan 2024 17:38:53 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 29 Jan 2024 17:38:52 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 29 Jan 2024 17:38:52 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.100) 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.35; Mon, 29 Jan 2024 17:38:52 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YeXZ4Dz13bJ/6H7IT7z5Nvk+x43UIQiYun4Z+QRdYEA6M1H40Nv+Gk+0CCNfcy46+ErUoMUgcpcL7SM15f9E+LpxZ7ayDq4u3qknYni37sXS9mZc3DTbCZ/I+tFhtiMgAz8eXkLqB52ZHW5yz4enX8d8vA0S7UMVymybHSCVcci7o/epGHgcFJZeyWpGllIBZNxMfVkI74TzG2yqoBJ6fil/2wB1bP4UsXYgMMbRKa2U+yDR0MtOsCfGmq5r+jNU2O8zHkw5j+Q+NN5ijiM7+F3xUx8HobV99egLV8Y1H3NUhELQ6WN0E85vgCG9nVht0PbsYA0XRQsTHGDyIsJ26g== 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=OB2XSDsUaoWvVV0T2Sv9NDaIFBRYTB2U/eQDYmxDxVA=; b=LPhMAGOl2fet9bzPjb9ezY/JbhnDgVatNdkg56KFg4nyIPBeOGr4Yq0bq0HnjCTxqZsPEgnejeIg6xW0SpEMYtSV3FKYDN/gw/UGGQE+jdaFcHptCJ4R1f98/afi0vyA74wTWfAw4VKqtT3Y3VlJQvffm/QCNZAw1IIpDqQApipEYvD3euRX+pie+g5DKYph2dDXKYZeVlh7K/rFg/Wb2mGF7gGayUvrFeN+giSF+ktKcfnt9xLAFAquJdKQbUN/FV5jvM67d+bWOapvrGWiwHf4cuvmqPAskA0vc52Bd2vVQo6HV6NdMumei516HGeHwd6OEiNaCrVYUqV80hy9LQ== 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 MN0PR11MB5963.namprd11.prod.outlook.com (2603:10b6:208:372::10) by IA1PR11MB7823.namprd11.prod.outlook.com (2603:10b6:208:3f3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.32; Tue, 30 Jan 2024 01:38:45 +0000 Received: from MN0PR11MB5963.namprd11.prod.outlook.com ([fe80::5d40:83fd:94ac:d409]) by MN0PR11MB5963.namprd11.prod.outlook.com ([fe80::5d40:83fd:94ac:d409%7]) with mapi id 15.20.7228.029; Tue, 30 Jan 2024 01:38:45 +0000 From: "Edgecombe, Rick P" To: "Yang, Weijiang" , "Hansen, Dave" , "seanjc@google.com" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "yuan.yao@linux.intel.com" , "kvm@vger.kernel.org" , "pbonzini@redhat.com" CC: "john.allen@amd.com" , "peterz@infradead.org" , "Gao, Chao" , "mlevitsk@redhat.com" Subject: Re: [PATCH v9 06/27] x86/fpu/xstate: Create guest fpstate with guest specific config Thread-Topic: [PATCH v9 06/27] x86/fpu/xstate: Create guest fpstate with guest specific config Thread-Index: AQHaTm8AcGO2MTjOc0GJJZpi7ST9orDxnUAA Date: Tue, 30 Jan 2024 01:38:45 +0000 Message-ID: References: <20240124024200.102792-1-weijiang.yang@intel.com> <20240124024200.102792-7-weijiang.yang@intel.com> In-Reply-To: <20240124024200.102792-7-weijiang.yang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.44.4-0ubuntu2 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: MN0PR11MB5963:EE_|IA1PR11MB7823:EE_ x-ms-office365-filtering-correlation-id: 8945b45d-31f3-48ae-a342-08dc213432f3 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: j4C3Fc8NCxjITr4ucvnJ00lU5mWvqpw1T2DLikwKS23RA539YBBnXqu26RsecVw3E7Aw4+YY06cDgbOhqL50sY6IbUk0Wg1eArdc3G7BhxtrXVdbHBes4pRMqiGJUOYg0SfIQSMLyznF4Lsl4LISltVB5zw1/Kr6NwOcvBhzVle3HWC8u3cl8R8Ixk+IyDnWSI2vowyqXIWiVFeoyzJK+tjCz2HqTKieovcGRTsCL9poV6NAIObFT9tCFpyr0YvRUbZc84HON6xcF/7kzrosfvQP+69LB+Tq/nRqMjMqFNOgVwC+xxJzeyqXe3nHf11+YjV6Ag4iFTUlxtzj/TTJ7kzmz++J7pi0zHrEvglkD5CKxNTCm1Ln2LA4VDDK8qi6ZkufUDgSNBt5iU0Hds83RvlqZYN9Xm9QV2dUCUYULzf9Eor2yQw6j+r7IaqT/uRnazSJ0q1GOJFhDoxzg7VCLO6fdLWVEmFMLM8vEjHKdMqgc//KRx3Bs4/J9nCt6G8RubnXlcCAMGcmwOH8s0/nZH/Gd56FgWYtqFIYGe5TNF0SRO6LHXmcdv3KY3W9Yz21oJG5AgjD8ER3vfOe1W9+FG2eNL4bGIYWHpMHrNh+9b62yuOkC7p6l9IcNzRBWcsy7IAMd3hB1hBGGMlLNg8OTw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN0PR11MB5963.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(376002)(39860400002)(366004)(346002)(136003)(230922051799003)(451199024)(1800799012)(186009)(64100799003)(6512007)(6506007)(66946007)(478600001)(122000001)(38100700002)(316002)(8936002)(8676002)(5660300002)(4326008)(41300700001)(2616005)(71200400001)(6486002)(2906002)(64756008)(66476007)(76116006)(54906003)(110136005)(66556008)(66446008)(26005)(921011)(36756003)(86362001)(82960400001)(38070700009);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TkhMeEdWZzRQczhaengrM2tCaHQxaVpXT0VzT21IRmhJcnFhMTBMRWRoZ0dI?= =?utf-8?B?SG92amd4YjFxL09tUmtOb2JoTERSWlMySW4zOTZBeUM0UzBVS29VMWYyQ3NV?= =?utf-8?B?eVVsWEphdytNTExyd2VVS2l2b3ZxZ3lMOFVQMnRQZ0EvZEtud3NGdmU0REF6?= =?utf-8?B?OHprR28zbS82bTJRblZjQngva1FvMHNGZ0lXK3oyb1JRbW9wL2s4SnlLV0FN?= =?utf-8?B?N0w5Vll0K2pQMGQ2VHVBdkZqazlDMWpzdkxRKytyalVNTVlKUGN2Z3haS2kw?= =?utf-8?B?OWJpRWIxT1d0c2ZyWHJkckpkeTBEeWJYUjFPYXJlNUZsM3dxM21vL0ZhQXpw?= =?utf-8?B?anBNWGdhLzBmWmw1MnlwNVo4SEpNYzZUbnlVdGd3UCtJMTN5Y1AvVzdnK29p?= =?utf-8?B?WDV3TnZoQWhVT2JUYS9YOGZRdUFUbzVWbktmbGtsZ0d3VHhjQ1RnVGVPeUd1?= =?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kJEMWZpMEkzVDR2?= =?utf-8?B?akdBOVdzbDRod0JoUnU2dkc5Rkx5ajJYRlNjbkhPTURCeGdYK3VNOG90aHF3?= =?utf-8?B?Uy9TeGs5SDZsR1MrMjJ1dGQrRlNEcXdPaEtJSDUwNTQ3S0pFcStEZWdSNU44?= =?utf-8?B?eU0zdDJwRHhNeTUwb2pKdGNIampUYmFpaWxTWEUrVWFkMkQrcTBxWWZUZTJI?= =?utf-8?B?YmVvYXF2V0pna1lRRWlPZlYreXhuVGhkTllYZ01tNVVrditwVENwNzJjWWhs?= =?utf-8?B?Y0NscHhncVA1ZU9xM0h2VzNkd3F2eUpTOGlFenJCU1llTEVZMWxUUUIxaUEy?= =?utf-8?B?UDdLMjJiQ2lkYzNPNi9TZXRLVVRDc29WUnlrelE1YW5KeWVlYXFxUFlQOVBV?= =?utf-8?B?enlqWTNzM1d5STV3azZlVDFwbTJBMUNVKzg1SUpINUhKejlMdVJlRVZpWlJv?= =?utf-8?B?dE5MOW05WE0ycGlHSzcyNnhuZzAvMjVkMld6N3BpbktBUlBsbkNVWEVvYmdV?= =?utf-8?B?L0d3T0dRZFRPWVZYa29IMGJsd0tWYTdzL2xacWxnVFVmYlN4MVkrUit0SC95?= =?utf-8?B?MlBCMkxWNWpDRkZwSVh1Vjh3cWdUajJEWnZzN2lSeXJzUWlLTlhjNnN3SVRM?= =?utf-8?B?a1MrSWxLNjIvak1FWkwxbzJBWENKK2l6L1JrMXR2Wms1Z1JOT0VDTjBjV3pE?= =?utf-8?B?WlRtQXloRHN3YVZQL1R5bE9Nc3hKa3BhSE83ZXIrTlFpSndEMW1jME5CcXQ4?= =?utf-8?B?YWl3d2ZGMHVGSmI0eXFrKy9CTEJGem9UVkdoRTJOTFhSWkVhdWpBZE5TWllr?= =?utf-8?B?Vmc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN0PR11MB5963.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8945b45d-31f3-48ae-a342-08dc213432f3 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2024 01:38:45.6590 (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: VUrjoN6pKEIUfXNX5kOZED+lhYglgIlBRJgBbqDrJ4L/yXdkwJc6vIib1WVg3NGzlTSuRVnUg46yM2oC53SImJ9fT4aMajPkRRfgMogrQvs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB7823 X-OriginatorOrg: intel.com T24gVHVlLCAyMDI0LTAxLTIzIGF0IDE4OjQxIC0wODAwLCBZYW5nIFdlaWppYW5nIHdyb3RlOgo+ IC1ib29sIGZwdV9hbGxvY19ndWVzdF9mcHN0YXRlKHN0cnVjdCBmcHVfZ3Vlc3QgKmdmcHUpCj4g K3N0YXRpYyBzdHJ1Y3QgZnBzdGF0ZSAqX19mcHVfYWxsb2NfaW5pdF9ndWVzdF9mcHN0YXRlKHN0 cnVjdAo+IGZwdV9ndWVzdCAqZ2ZwdSkKPiDCoHsKPiDCoMKgwqDCoMKgwqDCoMKgc3RydWN0IGZw c3RhdGUgKmZwc3RhdGU7Cj4gwqDCoMKgwqDCoMKgwqDCoHVuc2lnbmVkIGludCBzaXplOwo+IMKg Cj4gLcKgwqDCoMKgwqDCoMKgc2l6ZSA9IGZwdV91c2VyX2NmZy5kZWZhdWx0X3NpemUgKyBBTElH TihvZmZzZXRvZihzdHJ1Y3QKPiBmcHN0YXRlLCByZWdzKSwgNjQpOwo+ICvCoMKgwqDCoMKgwqDC oC8qCj4gK8KgwqDCoMKgw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