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 4FA649411FB for ; Thu, 4 Apr 2024 06:44:18 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=HjXrEyIjJnzoNHlwAHd89EVpx/i8JdQ87OtdcehhxzE=; 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:nodisclaimer:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1712213057; v=1; b=iPXasfqKTvItDqcBX14ElLdgungeaVZAhq44lOHhv5J0tHb0UweacYhd8n5RQ5wfzDgYghON HPn50uu4vN+7EWvPcz445D98EWDme9O0abIfAp0cpUNdbG+sN53gOz2UqhoX/wAqdYMPu4SlOeD IN8lcTmL30UkcPK6onLKUSuHIt8z9bTb0BujKctd2FeJ+GniDkKBDVY8eIXj8U9inzwbObWqPSe ORDJ5kdXqONtS++J4Qx170KmI7bRzzpKllM69xCaf/fpiN0Ro+1fkyNcdvFMNrGuDrlnXY7S3oP 3eqq9eLfR9ulNLXmRLFrq/cttHjiDxq4TTRICyqXqPsLQ== X-Received: by 127.0.0.2 with SMTP id F4RkYY7687511xBKH2DCNDYv; Wed, 03 Apr 2024 23:44:17 -0700 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.40]) by mx.groups.io with SMTP id smtpd.web10.32475.1712213055898713043 for ; Wed, 03 Apr 2024 23:44:16 -0700 X-Received: from DU7PR01CA0043.eurprd01.prod.exchangelabs.com (2603:10a6:10:50e::21) by DBBPR08MB10602.eurprd08.prod.outlook.com (2603:10a6:10:52c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Thu, 4 Apr 2024 06:44:07 +0000 X-Received: from DB3PEPF00008859.eurprd02.prod.outlook.com (2603:10a6:10:50e:cafe::59) by DU7PR01CA0043.outlook.office365.com (2603:10a6:10:50e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46 via Frontend Transport; Thu, 4 Apr 2024 06:44:07 +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 DB3PEPF00008859.mail.protection.outlook.com (10.167.242.4) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7452.22 via Frontend Transport; Thu, 4 Apr 2024 06:44:07 +0000 X-Received: ("Tessian outbound f0b355493f75:v300"); Thu, 04 Apr 2024 06:44:07 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 83231796eded55f2 X-CR-MTA-TID: 64aa7808 X-Received: from c00eb45226c6.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C5B65AB5-ACAA-4E26-A86E-A0B1A709456C.1; Thu, 04 Apr 2024 06:43:56 +0000 X-Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c00eb45226c6.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 04 Apr 2024 06:43:56 +0000 X-Received: from AM0PR08MB4289.eurprd08.prod.outlook.com (2603:10a6:208:148::12) by GV2PR08MB9879.eurprd08.prod.outlook.com (2603:10a6:150:d2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.26; Thu, 4 Apr 2024 06:43:53 +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.7409.042; Thu, 4 Apr 2024 06:43:53 +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 v1 5/5] Platform/Sgi: Extend SMBIOS support for RD-Fremont Thread-Topic: [edk2-devel] [edk2-platforms][PATCH v1 5/5] Platform/Sgi: Extend SMBIOS support for RD-Fremont Thread-Index: AQHahe3Dld4FZClKDUml3j4R+Z84/LFXqw1j Date: Thu, 4 Apr 2024 06:43:53 +0000 Message-ID: References: <20240403173334.3063987-1-prabin.ca@arm.com> <20240403173334.3063987-6-prabin.ca@arm.com> In-Reply-To: <20240403173334.3063987-6-prabin.ca@arm.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-traffictypediagnostic: AM0PR08MB4289:EE_|GV2PR08MB9879:EE_|DB3PEPF00008859:EE_|DBBPR08MB10602:EE_ 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: 6C7hNw4SVrww/sEx3GM4PDAxkP4bi4cdEGVxXaqOd2pAkd/mQYrZlITitM8X8nzUfFw8Ns19YrsDm3HfapUHDzOcyGgvZdTcJeMdl0omTfSlteL1R00LIXnFxldwRrPJRi8tBSU2tDxcmxK4fMg81gu/8M03/K+m9nPpt7fduXdUBA1q9bFWF+BdvaVWV6NdYCfPHSWGTjydw7Dxhp6Gj1zCFPc8D74qaVqXWq+ChvkAYBK4Ev7kR/lIRdAD5wWDNwjGrpnuk0zaAo+EW1Ry1Q6+pjwkyniGK6PZvjzYe+r0uBZjgr+r7fPVvYCQfmnGirr2lLdAjUmr1+CwbLCuwJzldg4by5B3W8nNsTzu4xmV/skoZ2VSj26TJHQBt9i6WxbkHwYG++eNWz6QpOB8oBZg858PLfW/G11C0p82QdH6+KsBKm8snZ7Q33Ku6jsiyo1doYjSaoJu5G0nGwsfJ33/JKUX36wNP2YIuWc4mqAAHW2N23nT6RNT842mlXrS1+VKe/4GnG/7EnoNmFpnSZT0mK6Tqmkw1y+lSuUcPE5Au2+8Gs2A5j6vH1+YpAhksxRu6YsGrGlpNZ6dmpi6JPeCeMO3vTsJe/woXuzBYiA= 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)(366007);DIR:OUT;SFP:1102; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB9879 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB3PEPF00008859.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f2b90f11-13b5-46a5-638d-08dc5472a085 X-Microsoft-Antispam-Message-Info: jKGDdCoYmEVs1UDh3awlcSd8hSsweLdlwCi2ycZyVl2fvlM0VhvRWyKrmPJQCEgI35mGKJXaSg8KOD9OS9zXy1y/9xbbtYmGZivQwXqrlVas76M8DR88+bOUt4SQdKoDIK3Fpj9HMkeMKA1e34B5j6JR66cTbxJCc76+uzIPAJ+MC1qpd+MCa/oQgI+LHbvMqgpCyXQ/o0PglR30oWRULCsBT3vWpULRgifPgikZsY3N8CUhELCbhdxzaP4A6romtolFW8MB/awdtNeWcBepM9ZLeHdUU2UTG5YEGnB3fAboWPuvAB0AG2MsiMnWtmk7iet/vqQdXILEGQlYwtcBwSwL6PAVWfw5DkXLKaxZhyHO2KJaISN0Xw6dyFKIY+Rm9GIal4R2TINLuWybqH0pKSLi4/UilpJV7S3B6wSDDk9fQX/b7Am87AfPw6ANLT6aUZTG+OYGJWPG/hd2m5Z8rJCROf5Z6Aj+zKCwKpKWTHCAn9ALnUiQ9cXVmzP7ikiHCidjceVhKXKNtJ5sIKP/8/5ujuFZCj6JY3TZlDnSXNEv1aJxaKThd+ByjqwSvUMSjDBFar0VOgOfrsSDLvENHDp2PxHIO1IpaOh2PApPIVJh9LO0ZdhOngbuUUFYLYbGXjP9tPvTHatIPE6vYlemFtkLCmxJJ3B7zJpcj6jIibgqfbaxMNMgGJ96FC4OGVMkz0noI3jBx7QqfouF2GErwA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2024 06:44:07.5712 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f2b90f11-13b5-46a5-638d-08dc5472a085 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: DB3PEPF00008859.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB10602 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 Resent-Date: Wed, 03 Apr 2024 23:44:16 -0700 Resent-From: yeoreum.yun@arm.com Reply-To: devel@edk2.groups.io,yeoreum.yun@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: ijAIskXTtKvK66cvDFUF9LRxx7686176AA= 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=iPXasfqK; 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: 03 April 2024 18:33 To: devel@edk2.groups.io Cc: Ard Biesheuvel; Leif Lindholm; Sami Mujawar; Thomas Abraham Subject: [edk2-devel] [edk2-platforms][PATCH v1 5/5] 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 (#117383): https://edk2.groups.io/g/devel/message/117383 Mute This Topic: https://groups.io/mt/105313657/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 (#117405): https://edk2.groups.io/g/devel/message/117405 Mute This Topic: https://groups.io/mt/105313657/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-