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.63; 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-sn1nam02on0063.outbound.protection.outlook.com [104.47.36.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 136132110A3D2 for ; Thu, 14 Jun 2018 07:08:13 -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=/f29IMP16c3Daqdj4+NYhzs+hbfGagonFQ0ASDrH8iM=; b=3VkQelARp4ymreN133IYQCKiDRv3NOa/A+NicSaNK1wU5KRoVPXYypgj6MuaY0DwI1gDytp0d447WiiaTirwWLR8AMnZaxF0qQRbegEe+iEyxcMQ+WFSVAROvb6pf0lRkzxaREkO8HC1ivzXPu8BatXIbT9BT1jwEmgWDfGfnVY= Received: from CY4PR12MB1815.namprd12.prod.outlook.com (10.175.63.21) by CY4PR12MB1912.namprd12.prod.outlook.com (10.175.82.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.16; Thu, 14 Jun 2018 14:08:11 +0000 Received: from CY4PR12MB1815.namprd12.prod.outlook.com ([fe80::6f:4d87:1352:6ac0]) by CY4PR12MB1815.namprd12.prod.outlook.com ([fe80::6f:4d87:1352:6ac0%7]) with mapi id 15.20.0863.016; Thu, 14 Jun 2018 14:08:08 +0000 From: "Duran, Leo" To: Laszlo Ersek , "edk2-devel@lists.01.org" CC: Jordan Justen , Jeff Fan , Liming Gao , "Singh, Brijesh" , Paolo Bonzini , Igor Mammedov Thread-Topic: [edk2] [PATCH] UefiCpuPkg/LocalApicLib: Exclude second SendIpi sequence on AMD processors. Thread-Index: AQHUA1K6hU4bPEfU/0iTCrzDGOUuq6ReqW+AgAEhZcA= Date: Thu, 14 Jun 2018 14:08:08 +0000 Message-ID: References: <1528920674-24912-1-git-send-email-leo.duran@amd.com> <1528920674-24912-2-git-send-email-leo.duran@amd.com> <9e2b3f74-c37e-06d9-293e-04976713ce8c@redhat.com> In-Reply-To: <9e2b3f74-c37e-06d9-293e-04976713ce8c@redhat.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; CY4PR12MB1912; 7:KvSml/15f88WjgjYwhQ/dcEQmB4cDHWZM8Wqj7LMdjbRsx5iBg+TP4dK8wIPk8vQ4jwYf3rAeb6O0gj0S85SfPXb402AKOSdLMo4V0tCQHSJbE2AnPuMnWM/2jasovP6yT1DV65hXryFqDoNku/vRlpBqPYa8/wVJRscyJgIca4WjIIc7qOHJ//n5XXSWOwPSBj11+fH0R8VoSjkDcPH6Tl6U8euyw8CrkPhUG7jvudP+k9VdTS8N2wwV6VWu+WF; 20:bS0OqeS+dX9/GbuacO3tUuTsSRlNtIUKNNN8e5LIOkWoxbvTX1TsN45mddPztd+JY+SwwZX6qvKVvVOA86bBdfhn7HcOv+qJ6thEokrbvaFGIslmQVPZEwPro2TWq+5NbMRClemy8/H+dIvwW3kGXPW9CcOSq6PiQpKvL5A8equ8kyqdYZTdwZ1WOzXdIzjvFrj2cPhaRuM56U2Oib5BjI/sBPSYVxObjHoy6Q71nV9LuInCAM4wScOTEFdNp6PN x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(376002)(366004)(39380400002)(396003)(39860400002)(346002)(189003)(199004)(13464003)(478600001)(55016002)(6436002)(97736004)(2900100001)(6246003)(105586002)(53936002)(3280700002)(86362001)(575784001)(106356001)(110136005)(76176011)(102836004)(2906002)(7696005)(229853002)(54906003)(99286004)(9686003)(6506007)(26005)(186003)(316002)(3660700001)(53546011)(7736002)(14454004)(8676002)(81156014)(305945005)(4326008)(2501003)(33656002)(68736007)(81166006)(3846002)(74316002)(6116002)(5250100002)(486006)(8936002)(446003)(66066001)(5660300001)(476003)(11346002)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1912; H:CY4PR12MB1815.namprd12.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-office365-filtering-correlation-id: 3c779fda-949f-4a91-a926-08d5d2004198 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:CY4PR12MB1912; x-ms-traffictypediagnostic: CY4PR12MB1912: 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)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:CY4PR12MB1912; BCL:0; PCL:0; RULEID:; SRVR:CY4PR12MB1912; x-forefront-prvs: 0703B549E4 received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: wsgX+DxxDM0jdoCWurHikb3DLXU6mpWQzklPqCG+WYsjn+KvuaE8rf/aZx6/2n10g57YIXiEFzSWq96Ez56RWrucUY+NMPlD4pcEeaG/9FkfMUCYX4B/wWC9qZc+CVmZ27F7nmFej5op8EozIjgDtRGcE566R81tGPs0SKzRDOxFjeOuq+9CNjNSboBiN5m2 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c779fda-949f-4a91-a926-08d5d2004198 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2018 14:08:08.2998 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1912 Subject: Re: [PATCH] UefiCpuPkg/LocalApicLib: Exclude second SendIpi sequence on AMD processors. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 14:08:14 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTGFzemxvIEVyc2VrIDxs ZXJzZWtAcmVkaGF0LmNvbT4NCj4gU2VudDogV2VkbmVzZGF5LCBKdW5lIDEzLCAyMDE4IDM6NTAg UE0NCj4gVG86IER1cmFuLCBMZW8gPGxlby5kdXJhbkBhbWQuY29tPjsgZWRrMi1kZXZlbEBsaXN0 cy4wMS5vcmcNCj4gQ2M6IEpvcmRhbiBKdXN0ZW4gPGpvcmRhbi5sLmp1c3RlbkBpbnRlbC5jb20+ OyBKZWZmIEZhbg0KPiA8amVmZi5mYW5AaW50ZWwuY29tPjsgTGltaW5nIEdhbyA8bGltaW5nLmdh b0BpbnRlbC5jb20+OyBTaW5naCwgQnJpamVzaA0KPiA8YnJpamVzaC5zaW5naEBhbWQuY29tPjsg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