From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=helo; client-ip=104.47.36.58; helo=nam02-sn1-obe.outbound.protection.outlook.com; envelope-from=leo.duran@amd.com; receiver=edk2-devel@lists.01.org Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0058.outbound.protection.outlook.com [104.47.36.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5888521A07A82 for ; Mon, 17 Sep 2018 09:20:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fGkZGmLq451RIoxP7ilFXMwjJbH02tw7xBNaa4r194E=; b=nyqf4nNmMw91IJYfIVNHh/PRqIjX2mKrvX+F4zhytZUsVTNloytUX/mqC647FW/a+9L5hKOi2Ecs5UbT5Na3LDfaHu1VLdR74RYk+B18dq4UEpnTH9dgrQLZ4XWdnmC67tD3c9k+X8jDHOsUBE3ff1/GtjSbQf5S4XE50hWEIME= Received: from CY4PR12MB1815.namprd12.prod.outlook.com (10.175.63.21) by CY4PR12MB1719.namprd12.prod.outlook.com (10.175.62.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Mon, 17 Sep 2018 16:20:44 +0000 Received: from CY4PR12MB1815.namprd12.prod.outlook.com ([fe80::ecd7:135f:4e1b:2d82]) by CY4PR12MB1815.namprd12.prod.outlook.com ([fe80::ecd7:135f:4e1b:2d82%3]) with mapi id 15.20.1143.017; Mon, 17 Sep 2018 16:20:44 +0000 From: "Duran, Leo" To: "Ni, Ruiyu" , Laszlo Ersek , "edk2-devel@lists.01.org" CC: "Dong, Eric" Thread-Topic: [edk2] [PATCH] UefiCpuPkg/MtrrLib: Add flag to skip disabling MTRRs prior to MTRR change. Thread-Index: AQHUSeX3EbC17fDvXkWWIRAmwJTcUaTrbK6AgAANLJCAAO+ogIAAVCzAgAAzL4CAAAHbwIAAj1YAgAEZC8CAAJxFAIAFdsQg Date: Mon, 17 Sep 2018 16:20:44 +0000 Message-ID: References: <1536680498-6554-1-git-send-email-leo.duran@amd.com> <1536680498-6554-2-git-send-email-leo.duran@amd.com> <17c6d6d1-2655-fe06-a8b9-f48141bfb0d7@redhat.com> <610eaa55-c87b-5e0c-4f87-5c1e79ffc5ba@redhat.com> <12abd990-3b08-9159-e7a9-ffd7eb7282b3@redhat.com> <734D49CCEBEEF84792F5B80ED585239D5BE07168@SHSMSX104.ccr.corp.intel.com> <981751ac-68a0-ea2c-7985-2562d1916560@Intel.com> In-Reply-To: <981751ac-68a0-ea2c-7985-2562d1916560@Intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=leo.duran@amd.com; x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR12MB1719; 20:Skp+F0W2HbPJGxs4L67G+DpjvdDY1wEo1BosGquvpECGGTd/qQuDXJjuRXzNDokZSzx3DqyBRKXO248fmoTRcem5BX52aQuFRbD2JSokCNwaB7YrsOuHWdQKefOjzgczoD4xFD717V9xfq0c3BDxe8pvCaxydZX1iZ5MavR9/fyIfUmzY+Ut0iyIWrolUv71/ysqAeP3hAVZYCPb8YFiAq0c1STuYSnw9Q1L/XYt1rXUpM9d0eQzCvfGFHxO38Qn x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 9fcf2527-f83f-405d-fb82-08d61cb984f8 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:CY4PR12MB1719; x-ms-traffictypediagnostic: CY4PR12MB1719: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(767451399110)(162533806227266)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231355)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123564045)(201708071742011)(7699050); SRVR:CY4PR12MB1719; BCL:0; PCL:0; RULEID:; SRVR:CY4PR12MB1719; x-forefront-prvs: 0798146F16 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(396003)(366004)(346002)(136003)(13464003)(189003)(199004)(5250100002)(99286004)(6436002)(74316002)(93886005)(478600001)(229853002)(33656002)(3846002)(6116002)(76176011)(7736002)(7696005)(305945005)(2906002)(5660300001)(14454004)(68736007)(6506007)(53546011)(446003)(11346002)(186003)(486006)(476003)(8936002)(26005)(66066001)(2900100001)(81166006)(97736004)(25786009)(2501003)(316002)(86362001)(53936002)(4326008)(105586002)(256004)(106356001)(55016002)(9686003)(6246003)(81156014)(110136005)(102836004)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1719; H:CY4PR12MB1815.namprd12.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: Q5/d6nnVMG+0Wc3k1OHG/55WYPn7AQga0phO+90kveOM+KAXj6Mwzr/vV8Rar57jgDrH77EeF3C6Q1p73CfxUqrQ55p2HtpoXpzMX21cCCPXj0dXEmeEMMCLdF8Is6vixma+G3w7MSkji48zsgPpUOSfdJvz5BykGCN81AWGRV7Qo690kFGZVS61vzQb1T6nt7iptgXkXDDqJOz+MAEsq++3E6tss+mUi/sUtp+JLCcszsByTtXV/0dU+Swwx155rfNG9RbnRy3Dnxywod+IbyKGVbIxPu7FGApB05aHUa8B947dSo4PU0G0oYrGU0eOx6R1eiwDkycBQi5s0PJckbjlUoWekG/gMkPdvhKR04c= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9fcf2527-f83f-405d-fb82-08d61cb984f8 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2018 16:20:44.3990 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1719 Subject: Re: [PATCH] UefiCpuPkg/MtrrLib: Add flag to skip disabling MTRRs prior to MTRR change. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2018 16:20:50 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE5pLCBSdWl5dSA8cnVpeXUu bmlASW50ZWwuY29tPg0KPiBTZW50OiBUaHVyc2RheSwgU2VwdGVtYmVyIDEzLCAyMDE4IDExOjQ0 IFBNDQo+IFRvOiBEdXJhbiwgTGVvIDxsZW8uZHVyYW5AYW1kLmNvbT47IExhc3psbyBFcnNlayA8 bGVyc2VrQHJlZGhhdC5jb20+Ow0KPiBlZGsyLWRldmVsQGxpc3RzLjAxLm9yZw0KPiBDYzogRG9u ZywgRXJpYyA8ZXJpYy5kb25nQGludGVsLmNvbT4NCj4gU3ViamVjdDogUmU6IFtlZGsyXSBbUEFU Q0hdIFVlZmlDcHV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