From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0620.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe46::620]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E5E0521B0E529 for ; Wed, 24 May 2017 15:55:44 -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=TVRBiKooyMV824BKpjNGgC9JmqRtk8S7IFJ/GH37bHo=; b=gJfQVNJzdDKYd3/pcu1N2GFJ8/x2E2He645ZuI1ajQ7mM4P/uOKpNLQ/zUiwObj7KUEUeQw6DIe68WCVEb5e/7LuJPmhvrIjA5CXx0Wa1c1sIe6+EX8iG07aedOmj3M2ZWCpqONyu5FD4ar2HEFsWEKVsZl7md89Ti/WepVi9N8= Authentication-Results: lists.01.org; dkim=none (message not signed) header.d=none;lists.01.org; dmarc=none action=none header.from=amd.com; Received: from leduran-Precision-WorkStation-T5400.amd.com (165.204.77.1) by DM5PR12MB1242.namprd12.prod.outlook.com (10.168.237.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Wed, 24 May 2017 22:55:40 +0000 From: Leo Duran To: CC: Jordan Justen , Jeff Fan , Liming Gao , Leo Duran Date: Wed, 24 May 2017 17:55:10 -0500 Message-ID: <1495666512-9606-1-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: SN1PR19CA0039.namprd19.prod.outlook.com (10.163.220.49) To DM5PR12MB1242.namprd12.prod.outlook.com (10.168.237.21) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR12MB1242: X-MS-Office365-Filtering-Correlation-Id: a8b75407-de56-450d-6dff-08d4a2f80075 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(201703131423075)(201703031133081); SRVR:DM5PR12MB1242; X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1242; 3:y6vZvDdBp7eEnQwGSPbFlXRrxQfba5P7000WZidPg7bYwysYWLJGi10p/P9KmlP62b2oDsJxVGDZlYH+YnTp8yjkxpvRLOrVCm3NZRdQCiM8ili4TguDZeEY975r4OGpgqzUH+MqD/nIELR43D9dsXP10b9c//elHEy0PEuoaNMXXP3BLxAaEDVcD3mNYCaFdB9cvBx4PHCXeuy01rJr0IYMZ04IKijWBBkA/3pmyXRY4JHF6eJqCX+AKjAXOaZrNZyZ42DyVPkgAvbtjjH7osSFte/kk/EC1Zkqd1X2mGCoAi5EMXnbS1GKFXOBCmuehwLVhXjDCHDXDzEbOL+21Iw9BCdYDGJSsFV8Za0zyTM=; 25:Pa/JXhwHuTcSh6vnh8xqGVHSthNCOKnlKVMEyxFNggz43iqvA1ApxhxbCJuyynSM/acUbZeEPyxOuTRFN2rap2SK7YQP6e6QeckKH4+1dFVuUEnXjkP5Amxi8eK5JFIVQ1RygvYaKN0Dsp12hl1B1rmG1XPXWfQxalMccZ/yzYixiDwDY6kke0e4xjbaM6zIkyf1wHpqJaCYsH0wpM81iQ0SxXCzK4veALskrSuUNrK/2u5gzJqV0Wp8rSMkN/RsKkJD0csJJPgnJzgJTPCK0LV8vFGvXRhkuEoG3MUV5l1D3i4a501NGtFEoNBY/VzvXTGnBfqK5dUVUNqFXdHoG0/X/ZgmGB03Gv8iMcgKivZVSKcpCpxi/DBZSQdufCeF47t6NQNiFNov1xiEHYP2At2k6u8rEjn3ggb7cl8zUuKDYw1U77JpRAQvTJr5tEx5eY5ORGDYmd8S/NgfRGQNE/zInHVRPn/CmeFo05eYJ0w= X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1242; 31:A992zvFtaBVoSEhqnowcKG5rJUuR7HIa8RLlWOuNjWVCPltm9N4WOEFSOAc6471MM3+Lx9fvZpnyCKaPVPzCrsEyWSCXBLgxcluO35zNlhveNHPfHsDTvUcEoEXora26ajVMOKkWtS8sKspWpS6uWQzdJNEUNefNkJVgQ49Ys0Bd36dEdpg0LfM8/2fneJTgCf/Cgp2Nke8CFZIFOb3IrYXTAUXQGjwWktE/E9wLjZ8=; 20:8bYqNw00k04ll3DzB32t/jJywi9ghTXp33e0YORyVb+0Cn+9TU16wtI5zcZliiQ4tiAUrO3xgqRD3AvrmvmYYJ/8+Kh7M3LydxlrknHg40qJ/8h3ucntESsyuKil6hc/v+QvQHbDcuaQkaUg75rujab5l3BzjJOE7kkSHXES4KLzB/caPPhuwyKpee1co6z1Oe96jPPK/HjlWk1qlVgNxdkCwbTfoEM5LLBM8VPJjsSnlSHgK8jjRuADF7ME1oAIfQZ+CFzyLmSQ8owoKLJTPPRHiyPyAz7iePmM8ixcSnSRf2CAEm/vWY+SV+GpsH8RerBcJYwrPzqnbpwss8t3APx5JnZn7Pr7NzUVgylJ/YOyg94aYjBqC/tTUpr5u5wnuaefGzYnDTAf7NKuDm6wpdlvrTJexPa+uyAJFty76Pw2Sxrj+Y2OV3mPcyR81GlDMDoLkanuR5Tun8GnE6vUdvjFKXEB4kTgIRRKQXC0dQgFBYOAi7Gz2e4PKHcCf3fH X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(162533806227266); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041248)(20161123560025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(6072148); SRVR:DM5PR12MB1242; BCL:0; PCL:0; RULEID:; SRVR:DM5PR12MB1242; X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1242; 4:52xqZXnZ7kWbfoF4I+Mtd8XwhhXQTJ6K4lMK2zBL4LPFKRfJtLXIkJMtKV6Od+wTFGmM6w+9fRXPHvqeHMF40SI+qbhW6eblompbk/8LDNlubUMyvZjguDkcehpEg88RKw+hubnoOc30lR7Lb7utw8fhkWfhGmTpVct+yN2PDG07cLHBKNY2ciIrjjnalX8BkTyXSKxNXxsP63fiW7/fprIKCZMq3IuW/JYLkuUOsvdyVC7pYdjZkgg26QDbH6DA1UtWhu0PU1AOvt/CG+oD/MgOPXVrQF+hbrjfhdlj4vDIQMwpvuQSEYkj5odzGPnhsWXLbo80SkyMiPA5OKHoPT3BzfZWy9PAlEGw+XYag80xfyxTAf4g7JzJU3gbCH/IxW+Ik4lC6FLPHEpZM56lqJL95xDfOvN4sg5/dy9YzEvNuDlZQ+pPCWts/PkJsd3Tc6g+9FvWKPagG0uRVWsHog95PgK8BvAOq2lD8vC01TPP4o+IFoVF3FLskeVuzFNLz0NxQlMCWqcRHbHeFYozleoFGRq/fSiwwpv/0xUvW1GLagc00C5mvOtxPi6qHmBRu8iLYW0oLhDCGkxOVvU1ZFNn/NOjEbfoOtg5lxP7YteOJ/xMrbnNcwqpm9KUHOgbY5j+eA6LrefImKdHOLZ3Mi9jNKUWSFDziMq3vNxnYZ+bADJlZgMuFCI55dCdUnFQEVF0AFRRHTSIFvayXAE57I9So4oRCdhK594Y8H/O1TJ9tBYwsRVwNt2xVgnZ35FycL3CJymn6HfuJx32Ymaxlhf3Q9bZ+df+SUKY6vyraM9O2kB6IQQvXq5PB2tMCTJOjowtzwZiGFMUwx4O+aDZMM4qmkabKMJvXH7/WSNQKZM= X-Forefront-PRVS: 031763BCAF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39860400002)(39850400002)(39410400002)(39400400002)(39840400002)(39450400003)(38730400002)(25786009)(47776003)(110136004)(66066001)(42186005)(189998001)(4326008)(50226002)(53936002)(53416004)(5003940100001)(478600001)(305945005)(7736002)(6306002)(966005)(2351001)(54906002)(5660300001)(50466002)(6486002)(36756003)(50986999)(6666003)(8676002)(6916009)(86362001)(81166006)(3846002)(6116002)(2906002)(33646002)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR12MB1242; H:leduran-Precision-WorkStation-T5400.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR12MB1242; 23:43H32kngWH1vT7ftgUPhu4BtLlOz1ZewhPyGxi2uk?= =?us-ascii?Q?VkX8ts22CYiVcNQGuJPpk72KWLASgC/uYmO2Ux3oWbbbJ9qzBGMEkK7Oqadz?= =?us-ascii?Q?HF4EJNwJ9k7fFpPScVTXzUmGsQUVZTnQngUZdpFTu8o2SgELYlPo5ympbDks?= =?us-ascii?Q?NthIBFGXuXQr8+FvqpO3KWS6UsHB+nVSjGPAtlZVlw2igo1n4E3a3VvrbmI/?= =?us-ascii?Q?Z3e+okwXWFpnz84/+9f+WrPflrVNJsEDsiJ9S8616Ooj3NOi4CeQhB3FgGkS?= =?us-ascii?Q?Ik9pDsSxhvO1CulF+P7Ekwv8/C8ECBhashzAvnsGiY1yRrDtZeujic4KNskE?= =?us-ascii?Q?tPpGZV5byNbU1yeVJddghBjsKOypqHjSm3XRqYda/+6kI4RGH7Y+ZOYZqGIT?= =?us-ascii?Q?qK05KR8AxuOdxNZfYmbPk1/5Ngkg+r4iPqL1UWlC52mwLpQHfNUoGTTTZAD3?= =?us-ascii?Q?JcpJeWAUXVxDTuh9TD60qSXW3L98VEZC/mRssi6/MHVjF7GubQmcZp3YAmIq?= =?us-ascii?Q?xEiNcOz4qj706D+htSbmdRAmRBeEgTLWroE8rKGSTLFUxdUuVZzg0YCL6A2d?= =?us-ascii?Q?EAVuBph0R0mCFsDNVvS4ZDToH57NPJWw22GxbQR20Q5mEtHmpS4Ag3F50mQP?= =?us-ascii?Q?BVBc+E7g9g8t86MtR3xfkmOFuyajhPeQV/i/ovA8fs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Y027HozYAJAJx5ek=; 5:Z+aPYqQSHsIQTqN6CEzliGnWoR28ztNn5NaIGhag71N0uLaod8DgZPIA+fLEvBdh7/zWEGkTOV6gEIeQDQ+gFGEVgBDS7SS9x8PdFYlCqVW9yNKb1PWyLTaG6OYpRZ+cgh1LuhMSwv+m9OBtfp+4PhyHP4pVc9eCR6yGecQanNo=; 24:x1k+Ul4DOEIXFfcn6SKTUH2lOKx856Pdyl1VrIDK89Ap+SFnKjxbTF+m/lMKF1idvamxuRB+mNvHinB4o6bWqKsqoTmphYSdWQKikHguYzY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1242; 7:pWnhdDrB/sfJDQ9j5vdB9ZLGNkYKNATUotIYIDDV452XiooLPKG8mG7aVszObVDOzH7E7f6Q+8LQt9+IYmXlUdHJnAEtTDrCWm2xA7O6Nu/aaO7QRe27txWC1oN0YnHlkLA9+0Jka0fKFyl9VO4mvffY9ddrPp2VpmwhMzTHTLiPexjCnR91dtpzSHI7hw5+N6sfn6m4youP98A9f0+ON/uKSCwuJayKGhUezl6d+tDCGYua5qsFTTRwcVQlwK5PEHzQ3qLnBYOx6R/5O0D7ngucsUx6MP0igVUjyfxZE2hC5EwTepF53uk9tZDzQaGe1IQg2x0MX4D+5F52OVzgpg==; 20:+Vt2bwkfplUfhnXvEYZ3z9T50T9lQW944UHksjfjSoBAdUT9zLYwJ/7b9l5bOI/rVyC+hYrlUEYmRvtQFHhdA+eXhHMIGjttrpgDxii9nULv+RB26TIUgk6pGzNeYGTAyvUJqWRozX0nQ61zuujpHbg8F0sO1nVyncOn93VRC/PqwtIzLt+uDIE5KWNzSd91+lYbROwqKog60pki2YIXK0Q8deGoWpXBCkuBZlbHHIZ5AGunifrvRMejlPh7PsUm X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2017 22:55:40.6164 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1242 Subject: [PATCH 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: Wed, 24 May 2017 22:55:45 -0000 Content-Type: text/plain This patch-set builds requires and builds upon this submission: https://lists.01.org/pipermail/edk2-devel/2017-May/010867.html Leo Duran (2): UefiCpuPkg: Add content and clean-up CPUID definitions for AMD. UefiCpuPkg: Modify GetProcessorLocationByApicId() to support AMD. UefiCpuPkg/Include/Register/Amd/Cpuid.h | 265 ++++++++++++++++++++- UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c | 85 ++++--- .../BaseXApicX2ApicLib/BaseXApicX2ApicLib.c | 85 ++++--- 3 files changed, 354 insertions(+), 81 deletions(-) mode change 100644 => 100755 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c -- 2.7.4