From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0077.outbound.protection.outlook.com [104.47.42.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8E5062095D9DD for ; Tue, 1 Aug 2017 12:29:58 -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; bh=IMDr6XLKPRfYVQn5xihf9GSiWhT7plvNw5Klt/9vNh0=; b=Rrrb3pctVvoYMopNXmIr1mmxgVLGEjkTihpKzqVOENbR0a6d2J4XVkemrHiThO/4opl/m+wA9PkX8KUEIC8Rm6zmoVutyZPQTY6BNe5ZSXuVQ0lHuDW/Bx5aGq4/hSqM/e0yf4bTCA6mXEAxLWJ4Q0GZTV/UiSHLKYZURci2j+8= Received: from DM5PR12MB1243.namprd12.prod.outlook.com (10.168.237.22) by DM5PR12MB1244.namprd12.prod.outlook.com (10.168.237.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22; Tue, 1 Aug 2017 19:32:07 +0000 Received: from DM5PR12MB1243.namprd12.prod.outlook.com ([10.168.237.22]) by DM5PR12MB1243.namprd12.prod.outlook.com ([10.168.237.22]) with mapi id 15.01.1304.023; Tue, 1 Aug 2017 19:32:06 +0000 From: "Duran, Leo" To: "edk2-devel@lists.01.org" Thread-Topic: [PATCH v4 0/2] UefiCpuPkg: Add CPUID support for AMD. Thread-Index: AQHS5vPi++ciW00Xq0SS9eZa/WO+jKJwKrQA Date: Tue, 1 Aug 2017 19:32:06 +0000 Message-ID: References: <1497653820-15192-1-git-send-email-leo.duran@amd.com> In-Reply-To: <1497653820-15192-1-git-send-email-leo.duran@amd.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; DM5PR12MB1244; 20:jx8KRFOTHUiBSHIcB+LLtd6FxrYRIypU+zEpvyjS+t17So+FM2iTUWgSAE9SRhVi82lKtosugHXMCUswDyofaL8M4EAlRsm+vvrjwSdg+17EVHbU91GqWFaySpdD7ucKXTu/FjsNIXdBDJqExxCTKU2TLxFwxzFTWqpDR7V9A0Xe39jZ434AJPX04Yec74Qn4dv7Q7tkD3Ch10UBpYXW9hodH6HlYFAHgUFuMxDRHpZEWMJcjUQYjlAZ/0XPR/ZH x-ms-office365-filtering-correlation-id: 3ad3459a-3286-4492-003b-08d4d913fee3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM5PR12MB1244; x-ms-traffictypediagnostic: DM5PR12MB1244: x-exchange-antispam-report-test: UriScan:(767451399110)(162533806227266); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123558100)(20161123560025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR12MB1244; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR12MB1244; x-forefront-prvs: 0386B406AA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(39450400003)(39840400002)(39850400002)(39410400002)(39400400002)(377454003)(199003)(189002)(13464003)(55016002)(478600001)(102836003)(6116002)(3846002)(2501003)(3660700001)(3280700002)(74316002)(14454004)(229853002)(6916009)(2906002)(966005)(77096006)(7696004)(6506006)(53546010)(2950100002)(5660300001)(86362001)(66066001)(7736002)(305945005)(68736007)(8936002)(6246003)(81156014)(101416001)(38730400002)(110136004)(81166006)(8676002)(5640700003)(99286003)(53936002)(105586002)(6436002)(2900100001)(6306002)(9686003)(106356001)(2351001)(33656002)(97736004)(189998001)(25786009)(54356999)(76176999)(50986999)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR12MB1244; H:DM5PR12MB1243.namprd12.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Aug 2017 19:32:06.7790 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1244 Subject: Re: [PATCH v4 0/2] UefiCpuPkg: Add CPUID support for AMD. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2017 19:29:58 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: Duran, Leo > Sent: Friday, June 16, 2017 5:57 PM > To: edk2-devel@lists.01.org > Cc: Duran, Leo > Subject: [PATCH v4 0/2] UefiCpuPkg: Add CPUID support for AMD. Please ignore this PATCH v4. PATCH v3 of this series has been merged upstream: commit 061ead7a2dcc ("UefiCpuPkg: Modify GetProcessorLocationByApicId() to = support AMD."). I will push a new patch today that incorporates cleanups from PATCH v4,=20 and provide enhanced functionality. Leo. >=20 > This patch-set requires and builds upon this submission: > https://lists.01.org/pipermail/edk2-devel/2017-May/010867.html >=20 > Changes since v3: > - Check AMD signature before checking CPUID_Fn8000_001E. >=20 > Changes since v2: > - Account for actual thread count (e.g., SMT disabled). >=20 > Changes since v1: > - Revert to (MaxCoresPerPackage =3D 1) when CPUID is not explicit. >=20 > Leo Duran (2): > UefiCpuPkg: Add CPUID definitions for AMD. > UefiCpuPkg: Modify GetProcessorLocationByApicId() to support AMD. >=20 > UefiCpuPkg/Include/Register/Amd/Cpuid.h | 599 > ++++++++++++++++++++- > UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c | 140 +++-- > .../BaseXApicX2ApicLib/BaseXApicX2ApicLib.c | 140 +++-- > 3 files changed, 806 insertions(+), 73 deletions(-) >=20 > -- > 2.7.4