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 28A89740039 for ; Mon, 11 Mar 2024 14:35:16 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=I/3Vt437c0f2kog03NfEhHw/fEmIQ4tblipnGiaz+1w=; c=relaxed/simple; d=groups.io; h=Received-SPF:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:Authentication-Results-Original:nodisclaimer:MIME-Version:Original-Authentication-Results: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=20240206; t=1710167714; v=1; b=TVbnWzMJgENAt+yZQ4cmDWhVkw1LPZVXQQx+qnoFN27mGA62Zan3D2IP1zAwIlnHf/gQ+daX dUUHvO81vBevMBm92SueiUljfAtLqwW6WjVu/o0WAbkTyIgCHcBLwHrYOzxFiOJKA7jxEku8PCv KBwb7rAwq9k7geRwUC3+wN7LqESkBihUMEZcB7wudIJwAZt9tXBY1CPeOSy0o3O29iDnQCpgKBJ IDOSTksN1gU+SxAH4KgBM1wk2JC6ywvZoQIwroeDj7b7b35JJH+C3PeBe8ygPtz2fLRg5dTtvza 65EnXYYPRdveQsg4/okOQ4K6coc7yc/RNsFtUWrdYgXBg== X-Received: by 127.0.0.2 with SMTP id ULJDYY7687511xNh02ZVLEfp; Mon, 11 Mar 2024 07:35:14 -0700 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.66]) by mx.groups.io with SMTP id smtpd.web10.64323.1710167713927712309 for ; Mon, 11 Mar 2024 07:35:14 -0700 X-Received: from AS8PR04CA0031.eurprd04.prod.outlook.com (2603:10a6:20b:312::6) by AM0PR08MB5505.eurprd08.prod.outlook.com (2603:10a6:208:18e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35; Mon, 11 Mar 2024 14:35:10 +0000 X-Received: from AM3PEPF0000A791.eurprd04.prod.outlook.com (2603:10a6:20b:312:cafe::9e) by AS8PR04CA0031.outlook.office365.com (2603:10a6:20b:312::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35 via Frontend Transport; Mon, 11 Mar 2024 14:35:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM3PEPF0000A791.mail.protection.outlook.com (10.167.16.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.12 via Frontend Transport; Mon, 11 Mar 2024 14:35:10 +0000 X-Received: ("Tessian outbound ca5b6496b02a:v276"); Mon, 11 Mar 2024 14:35:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 55c21e2387a7d9e9 X-CR-MTA-TID: 64aa7808 X-Received: from d85e71d40c16.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1F118DC7-9878-40A4-B712-7390C6EC7C98.1; Mon, 11 Mar 2024 14:35:04 +0000 X-Received: from EUR02-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d85e71d40c16.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 11 Mar 2024 14:35:04 +0000 X-Received: from AM0PR08MB4289.eurprd08.prod.outlook.com (2603:10a6:208:148::12) by AS2PR08MB8951.eurprd08.prod.outlook.com (2603:10a6:20b:5fa::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.34; Mon, 11 Mar 2024 14:35:02 +0000 X-Received: from AM0PR08MB4289.eurprd08.prod.outlook.com ([fe80::4a5d:48:bf49:a524]) by AM0PR08MB4289.eurprd08.prod.outlook.com ([fe80::4a5d:48:bf49:a524%7]) with mapi id 15.20.7362.035; Mon, 11 Mar 2024 14:35:02 +0000 From: "levi.yun" To: "devel@edk2.groups.io" , Prabin CA CC: Ard Biesheuvel , Leif Lindholm , Sami Mujawar , Thomas Abraham Subject: Re: [edk2-devel] [edk2-platforms][PATCH v5 7/9] Platform/Sgi: Extend SMBIOS support for RD-Fremont Thread-Topic: [edk2-devel] [edk2-platforms][PATCH v5 7/9] Platform/Sgi: Extend SMBIOS support for RD-Fremont Thread-Index: AQHac7bmh9mNcFYvyU2X6bvLSybIFbEymyud Date: Mon, 11 Mar 2024 07:35:14 -0700 Message-ID: References: <20240311131416.823580-1-prabin.ca@arm.com> <20240311131416.823580-8-prabin.ca@arm.com> In-Reply-To: <20240311131416.823580-8-prabin.ca@arm.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AM0PR08MB4289:EE_|AS2PR08MB8951:EE_|AM3PEPF0000A791:EE_|AM0PR08MB5505:EE_ X-MS-Office365-Filtering-Correlation-Id: 1911ef32-5436-45cf-fadf-08dc41d874c7 x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Pr+JNoNCrkl6VgUkDD094iPegci/KBbkHQGVf4v07OVMRuewSFW4ioZu7iUGkIil/zLb7dDnoUUraeG+Pvub7KelmV4kKzyhUdlIxsb1R13LZ7vYXQUfFoohkFkqOuL3ebbj/zIP9i+tdoOtYMsm8Eva8hcOzorfOhims4c9P3Is8ClL8wxwDKlralch2UEZUxn08cF3ke4aYzmE2ykXyBR0lTjfpJGFO9tfwa649TVKVdQe76hlKd96+qO9ArUSupFnXDNGRj55alom8eisQCdPkoO4oIwiy1BQtMWklGeu/+C0bLoh/wg0EMQUUuHflSiuMSX0yAuMTr06ra8fggHyL4yIFrwJMavmyHZpUEx4GOa2hgfhrFolYx8fctiGSV9dXpkuQbsXSH1fZQBrP4d5OEkB+N/aiRRYGk7OhT7yOg1Ocvljf2CbdfUB1mpECQo0XIFK8n0mcgG0zEBQmQ/dEwt8o5jQoGl5GO2B4phWy2EL47Z+E1vkaXJL7fVxtb8670FW9PjkAuDUICbDMXGPDHBBvTjZSzF+NKXZsaTKpNlz4X3TzssgkGb5C8F4gFnpJ+QTiD+4+nG1zR9oULtSR6nYIHWQK9ufYBCz39r1v2aun8RKvCPZIRUhn70AB7/YAt+q4/+Am1grOyBRYnHqZMw+8SrsowHr5S56gL4y5GkXr+46u+FLFdCuur69 X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR08MB4289.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(38070700009);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB8951 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM3PEPF0000A791.eurprd04.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 0e06ab7b-eec4-4438-725d-08dc41d86fb0 X-Microsoft-Antispam-Message-Info: CfLH+4KveEaR2sCPmSuixp6CuU844UgfFBBdAFRU39jjI+v95sf1+++5w3pD1L5A7awHlDUgCDHL15JgGCmDuAazLGyOtlGO0XX9PT24YFaIVhXWQSZCve0ra+pFur3w8Lw+ZlPKFqmLPHfDWeo15fJbUuWOqP/awco/yNPa02ASCPz1i84/HhJCLRjHVlcCue04gKIq6upZOiPF2eTJMA7gJlo4x5gW8YKcqXSs8lS/lxgpeBIdMAZmH8ar11ePSm99e/Mmne+qaJdGuBDkN0fX7FvW3ki11LUk5RDI2Lz+qAd3PxbbXtjMQlEKgRwCQcH1XWrMZBTUjSvipXOktopOBV6rY6PmXl6MXPlTzH+X5z28qsRNlIJVdeArxLIzX823revAkmAYK9v/xKs9aeHhDUbQNFb7kaWDv4O4IlUsjZu8rLkJUvBsPhEG2vSAky5IgOYvqiT12u7QzriZvTLeyiEJB9yVIolUNCFlrWg8qccL+2PcW507UxmL29FsgQfEQwodQlSdyL0/uK0oR8H761c0T7pxvzo/gSmQtyaP2luBjhJpOfspQy5c+Og81kehfq8yVMta9kALiL/tycgUB+qjlm1Vfeo0PO7UkSeg2pX511KgjFomyOdye5HTOW/Hp4TQZl1b3h834YGUBKTdgMdcn6224OyfIB8dE02EJsvCqEvYbobILROcZUybrnv7IqK/jscq72Fvakc0cQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Mar 2024 14:35:10.7147 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1911ef32-5436-45cf-fadf-08dc41d874c7 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM3PEPF0000A791.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5505 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,yeoreum.yun@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: iBQ6caSe3sjeyYAGB7CcV1Frx7686176AA= Content-Language: en-GB Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=TVbnWzMJ; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.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 Reviewed-by: levi.yun ________________________________________ From: devel@edk2.groups.io on behalf of Prabin CA vi= a groups.io Sent: 11 March 2024 13:14 To: devel@edk2.groups.io Cc: Ard Biesheuvel; Leif Lindholm; Sami Mujawar; Thomas Abraham Subject: [edk2-devel] [edk2-platforms][PATCH v5 7/9] Platform/Sgi: Extend S= MBIOS support for RD-Fremont Extend the SMBIOS support for RD-Fremont platform. RD-Fremont is a 16 core platform with Poseidon CPU. Each of the CPUs include 64KB L1 Data cache, 64KB L1 Instruction cache and 2MB L2 cache. The platform also includes system level cache of 32MB and 8GB of RAM. Signed-off-by: Prabin CA --- Platform/ARM/SgiPkg/Include/SgiPlatform.h = | 5 +++++ Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type1SystemInformation.c = | 5 ++++- Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type4ProcessorInformation.c = | 5 ++++- Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type7CacheInformation.c = | 1 + Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c = | 6 ++++++ 5 files changed, 20 insertions(+), 2 deletions(-) diff --git a/Platform/ARM/SgiPkg/Include/SgiPlatform.h b/Platform/ARM/SgiPk= g/Include/SgiPlatform.h index 6fa39d407bc9..acfa45910aed 100644 --- a/Platform/ARM/SgiPkg/Include/SgiPlatform.h +++ b/Platform/ARM/SgiPkg/Include/SgiPlatform.h @@ -51,6 +51,10 @@ #define RD_V2_PART_NUM 0x7F2 #define RD_V2_CONF_ID 0x1 +// RD-Fremont Platform Identification values +#define RD_Fremont_PART_NUM 0x7EE +#define RD_Fremont_CONF_ID 0x1 + #define SGI_CONFIG_MASK 0x0F #define SGI_CONFIG_SHIFT 0x1C #define SGI_PART_NUM_MASK 0xFFF @@ -90,6 +94,7 @@ typedef enum { RdN2Cfg1, RdN2Cfg2, RdV2, + RdFremont, } ARM_RD_PRODUCT_ID; // Arm ProductId look-up table diff --git a/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type1SystemInfor= mation.c b/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type1SystemInforma= tion.c index edf2a5f63c63..9c28b051ebc2 100644 --- a/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type1SystemInformation.= c +++ b/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type1SystemInformation.= c @@ -34,7 +34,8 @@ "RdN2\0" \ "RdN2Cfg1\0" \ "RdN2Cfg2\0" \ - "RdV2\0" + "RdV2\0" \ + "RdFremont\0" typedef enum { ManufacturerName =3D 1, @@ -74,6 +75,8 @@ STATIC GUID mSmbiosUid[] =3D { {0xd2946d07, 0x8057, 0x4c26, {0xbf, 0x53, 0x78, 0xa6, 0x5b, 0xe1, 0xc1, = 0x60}}, /* Rd-V2 */ {0x3b1180a3, 0x0744, 0x4194, {0xae, 0x2e, 0xed, 0xa5, 0xbc, 0x2e, 0x43, = 0x45}}, + /* Rd-Fremont */ + {0x904b28d6, 0x0662, 0x11ed, {0xb9, 0x39, 0x02, 0x42, 0xac, 0x12, 0x00, = 0x02}}, }; /* System information */ diff --git a/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type4ProcessorIn= formation.c b/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type4ProcessorI= nformation.c index ee269f707714..c39c1553f6aa 100644 --- a/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type4ProcessorInformati= on.c +++ b/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type4ProcessorInformati= on.c @@ -44,6 +44,7 @@ "Neoverse-N2\0" \ "Neoverse-N2\0" \ "Neoverse-V2\0" \ + "Neoverse-Poseidon\0" \ "000-0\0" /* Serial number */ \ "783-3\0" \ "786-1\0" \ @@ -54,7 +55,8 @@ "7B7-1\0" \ "7B6-1\0" \ "7B7-1\0" \ - "7F2-1\0" + "7F2-1\0" \ + "7EE-1\0" typedef enum { PartNumber =3D 1, @@ -181,6 +183,7 @@ InstallType4ProcessorInformation ( case RdN2: case RdN2Cfg1: case RdV2: + case RdFremont: mArmRdSmbiosType4.Base.CoreCount =3D CoreCount; mArmRdSmbiosType4.Base.EnabledCoreCount =3D CoreCount; mArmRdSmbiosType4.Base.ThreadCount =3D CoreCount; diff --git a/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type7CacheInform= ation.c b/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type7CacheInformati= on.c index 4af72919a3f1..4cdea5b3b763 100644 --- a/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type7CacheInformation.c +++ b/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type7CacheInformation.c @@ -335,6 +335,7 @@ InstallType7CacheInformation ( mArmRdSmbiosType7[4].Base.Associativity =3D CacheAssociativity16Way; break; case RdV2: + case RdFremont: /* L1 instruction cache */ mArmRdSmbiosType7[0].Base.MaximumCacheSize2 =3D 64; // 64KB mArmRdSmbiosType7[0].Base.InstalledSize2 =3D 64; // 64KB diff --git a/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c b/Platfo= rm/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c index 14b06796ae9c..ae31be142d12 100644 --- a/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c +++ b/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c @@ -85,6 +85,12 @@ STATIC CONST SGI_PRODUCT_ID_LOOKUP SgiProductIdLookup[] = =3D { RD_V2_CONF_ID, 0 }, + { + RdFremont, + RD_Fremont_PART_NUM, + RD_Fremont_CONF_ID, + 0 + }, }; EFI_BOOT_MODE -- 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116619): https://edk2.groups.io/g/devel/message/116619 Mute This Topic: https://groups.io/mt/104862636/7717249 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [yeoreum.yun@arm.com] -=3D-=3D-=3D-=3D-=3D-=3D IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you. -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116644): https://edk2.groups.io/g/devel/message/116644 Mute This Topic: https://groups.io/mt/104862636/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-