From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 02F1D740038 for ; Fri, 19 Jan 2024 01:48:10 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=hTzrVXRaAxczUrF9javiAYvR8uepvc0+HdaXqp1jIno=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1705628889; v=1; b=pUN2DKljXbawatVE1gohPsk4uyNbmDegPuWQzmlq4MiF4HouaNjQ1WICb3hv8OvqoiJS3vrn aE9oXMdsDsteiqRQwmFIZJD0I+at25xFD7JhCR30EsZaiH/zwi0bFR/SsrWTwoJs1cpnNbl0sz1 1MQsHiGlMkA1VFPFNa2N9AsE= X-Received: by 127.0.0.2 with SMTP id P6JtYY7687511xrotszuOYwi; Thu, 18 Jan 2024 17:48:09 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mx.groups.io with SMTP id smtpd.web10.12013.1705628888898892589 for ; Thu, 18 Jan 2024 17:48:09 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10956"; a="528889" X-IronPort-AV: E=Sophos;i="6.05,203,1701158400"; d="scan'208";a="528889" X-Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2024 17:48:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,203,1701158400"; d="scan'208";a="489863" X-Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orviesa003.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 18 Jan 2024 17:48:09 -0800 X-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; Thu, 18 Jan 2024 17:48:06 -0800 X-Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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; Thu, 18 Jan 2024 17:48:06 -0800 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.169) 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.35; Thu, 18 Jan 2024 17:48:06 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V167IZKsl6iXI4x3e9oyGXmjPPBv0hHQPVyjBMPP7D8dnjAtjxRVLSNp66k3i65LiU0yeHMe3uK8k1la9Tga9sIBcAxw0H3wdgF+i7ohxWJHlxF8msD+7MUMTlnOgUgOWf54hRT09cy2qy7BI/xdPtmp/WfTcLE+p+clGzQcZbJbwPIIRaZrjstiMlH4kTu1wOsZhajzNArdgHpjbsnEkqTELV3qbiVqjZSY3210JPyoB3L5pQQ2kgXreLnoNJUrNbX4yI1T9hsQafy+ovXGisuJgKHVr0pi61m9L0YwSAnjrpO7SDqGPSd9eJaG9+gGkc8PPqSWtxaZ9bFxRVWF5Q== 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=y9K2EdaBH058ZwcHZGmDtqugWOj9PfkjJTMuaDlVWg0=; b=dkWRJsi1ZDToZXJZ9Wwn45y2TFmLBb9n+xfNHqcCKw43UCaGSU3hwmBpQKtekv7IlKxiyhUY9f1SiXVa9AmGLw4z8Adn1SghkKjt5INmcKtg0LIfhVODYBHdxHFbPfy0LyerbadkhelxZz3olFeYxObE8OP7VXntmPfV+LwDnJm6ZDzD+UKF6yfPcX4gZIj5HCbhQfUNoT4aB8/HDCWIHPSiKYMRIrlGAz5YLSpYLpS2/8PRSSQLgdvomogErQvPrm6jDGM/I2Ntq64ZlydoOiRJ/d7aFfCrnFYE447l38Q3J/m8Uv4NWN8plrquiZjd6ZE3kGaioV6oCEMhEeelDQ== 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 X-Received: from PH0PR11MB5048.namprd11.prod.outlook.com (2603:10b6:510:3d::14) by SA2PR11MB5003.namprd11.prod.outlook.com (2603:10b6:806:11e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 01:48:03 +0000 X-Received: from PH0PR11MB5048.namprd11.prod.outlook.com ([fe80::14f8:6a86:25c7:e96b]) by PH0PR11MB5048.namprd11.prod.outlook.com ([fe80::14f8:6a86:25c7:e96b%4]) with mapi id 15.20.7202.024; Fri, 19 Jan 2024 01:48:03 +0000 From: "Zhiguang Liu" To: Pedro Falcato CC: "devel@edk2.groups.io" , "lersek@redhat.com" , "Ni, Ray" , "Kumar, Rahul R" , Gerd Hoffmann , "Lee, Crystal" Subject: Re: [edk2-devel] [PATCH v2] UefiCpuPkg: Fix issue that IsModified is wrongly set in PageTableMap Thread-Topic: [edk2-devel] [PATCH v2] UefiCpuPkg: Fix issue that IsModified is wrongly set in PageTableMap Thread-Index: AQHaSRyWkScBoHmjo0WTj7NUKrpLerDd0+0AgAECLrCAAOupgIAAnWpw Date: Fri, 19 Jan 2024 01:48:03 +0000 Message-ID: References: <20240117080954.1414-1-zhiguang.liu@intel.com> In-Reply-To: Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB5048:EE_|SA2PR11MB5003:EE_ x-ms-office365-filtering-correlation-id: 564563db-3ed7-400c-4ae8-08dc1890acf7 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: ADuIBmKZE4/zyhO8piwai49QHEvuTMIhmK9ODniDUpwFalxJlLw5f8VVhcrth0kyKsI9uQ7PlFUagWL7Z+Gu1Zy8zWSzEV6b+CmGZ+AtgVPZdQvpO7v7i2VADrU8CxFCU0l03x7cHSytLv9n7TmjlqCerZi6XmIQu8rwPMkrTJQtoE/Grw0FDs6sP3jAKkWlRGOOf91kOTIG3buD8/GUcoE32SLfe7PIdDTiGErqwl4zHKGgK/xP9d8hrUUoCUVN++mkwXeWs9cv/5VXbS8sXrmjZfiVbzNtFlWqvvV9cm3afCTzTaZx3czkrREJpgYRDNcrucJmt30DlqFBFCNCGe5ICpM8HKVkYllR+ect8yvb3rDOmXHGGVZPRvSL+adQ2EnpwNtUjssjs033CH/N8iaVN5gtjCOXIs2pOHuJDjCGYywoWC83i+ElXv8lbISISWBw4YJoYsw5EXCdGKHk61wwSvBE89dAWJCtID4NgDfdzC0vApM8TyEpaNuJHhqFTvZ8Y3hty3mTzOMld47hW+rA3IIZ9piQ0Qi27SfDQaHxKozwiu6SSX8ptdQqb4wfOx/JTbfDMJe3+ZbMJWJBMWxIG1e+sLXGTbR+0jtmmvxPr1kor7XNv/j+dRCqxmNF x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RE1Y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TZIeEJkQzRDVlQ4SElmZUg0Y21C?= =?utf-8?B?NURpei9RUk92NTBXSXY4YmlCbnJXNFdPYXBWMFI5cG1UdmhLSWdsV3Q4Y2FV?= =?utf-8?B?dVBUZGthN1E1cjNwWEVyRnVxSGhDMGJiRzV0TjFhcTRuQThjd1c3djdUUVRz?= =?utf-8?B?eEwxRnkycERFWTNnK3FpMWNYN3VGOVdmNkFNWGhzakFkRGIvM2R2SVl6d1Iz?= =?utf-8?B?bVJwd0ZLOUsrdDArOWhzeEFhbmFlWmZXVjkrVm55Zko5QitvVDNHL21uOXNR?= =?utf-8?B?VDZxZnZLSjJMWUFYT1pXR2k5eThmRnhNUDZtQVMrRWFKTzRmTkJGUFVuV3A5?= =?utf-8?Q?1/hq9IgdT6ByQiIlVqAeGiJ+/?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5048.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 564563db-3ed7-400c-4ae8-08dc1890acf7 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jan 2024 01:48:03.5777 (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: bePo93y1hbJZpRYXEXTDpj9yUF6n/K6mY4QMFbxguxDLjMyuoEAVqHIiLUnohJ5/7WJBkxn31UPD8gp+XGRuxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5003 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,zhiguang.liu@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: QnCFeLkR0AqHndru7modQDDXx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=pUN2DKlj; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") aGkgUGVkcm8sDQpUaGFua3MgZm9yIHRoZSBjb21tZW50cy4NCkkgd2lsbCBkZXNjcmliZSBtb3Jl IGFib3V0IGhvdyB0byBmaXggaXQgaW4gdGhlIGNvbW1pdCBtZXNzYWdlLg0KQWJvdXQgdGhlIHJl bmFtaW5nLCBJIGhlc2l0YXRlIGFib3V0IGl0LCBzaW5jZSB0aGVyZSBtYXkgYmUgb3RoZXIgdXNh Z2UgYWJvdXQgdGhpcyBwYXJhbS4gSG93ZXZlciwgSSBkb24ndCB0aGluayBpdCBpcyBhIGJpZyBj b25jZXJuLiBJIHdpbGwga2VlcCBpdCBhcyBpcyBmb3Igbm93Lg0KDQpUaGFua3MNClpoaWd1YW5n DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUGVkcm8gRmFsY2F0byA8 cGVkcm8uZmFsY2F0b0BnbWFpbC5jb20+DQo+IFNlbnQ6IEZyaWRheSwgSmFudWFyeSAxOSwgMjAy NCAxMjoxOSBBTQ0KPiBUbzogTGl1LCBaaGlndWFuZyA8emhpZ3VhbmcubGl1QGludGVsLmNvbT4N Cj4gQ2M6IGRldmVsQGVkazIuZ3JvdXBzLmlvOyBsZXJzZWtAcmVkaGF0LmNvbTsgTmksIFJheSA8 cmF5Lm5pQGludGVsLmNvbT47DQo+IEt1bWFyLCBSYWh1bCBSIDxyYWh1bC5yLmt1bWFyQGludGVs L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