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 3A986AC13C6 for ; Fri, 8 Mar 2024 13:05:53 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=XZgYkitrK8b6YcfAYSIEmDQtiYo3ls34pyGcw3GZJJA=; 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=1709903151; v=1; b=x/5QEseOuIrvKqq49ETqncoZJ4TnjT0hiZHUJhbhP1kFB5mELmZdAzuSo68vzh5cch9uZOUN J65boMhxkmD/X/Q8ZhiGwlCEYUcXK4W33wEh/jwU6vsjEhAMHvoxhuIWjA96SnwgbjojYcBEPQT ahW5S0e2T51d2wBUoXluuDUWOfW2NMv5vcpPntPmEB4x7zLpFzcsIqkl4talYJUCeL1Yn0NJ4+J +pfozxnSv15yPbEP9RLHV6Pbn4B7KWJ3WLPZ8p6RzSJTC9XZWgLGvP9iDyBxINOwBNY8dSKpICQ EXO1lIvaW+mD50uRdPA09Oa43steJRtK9WrD4548IvKHA== X-Received: by 127.0.0.2 with SMTP id mgmNYY7687511xOLh1FqRrXz; Fri, 08 Mar 2024 05:05:51 -0800 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.44]) by mx.groups.io with SMTP id smtpd.web11.21371.1709903150873840056 for ; Fri, 08 Mar 2024 05:05:51 -0800 X-Received: from AS4P195CA0038.EURP195.PROD.OUTLOOK.COM (2603:10a6:20b:65a::21) by GVXPR08MB10713.eurprd08.prod.outlook.com (2603:10a6:150:14c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 8 Mar 2024 13:05:44 +0000 X-Received: from AM4PEPF00027A65.eurprd04.prod.outlook.com (2603:10a6:20b:65a:cafe::b2) by AS4P195CA0038.outlook.office365.com (2603:10a6:20b:65a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.27 via Frontend Transport; Fri, 8 Mar 2024 13:05:44 +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 AM4PEPF00027A65.mail.protection.outlook.com (10.167.16.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.11 via Frontend Transport; Fri, 8 Mar 2024 13:05:44 +0000 X-Received: ("Tessian outbound ca5b6496b02a:v276"); Fri, 08 Mar 2024 13:05:44 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 7b8cd7397e3afb46 X-CR-MTA-TID: 64aa7808 X-Received: from 9531b2db5252.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 66D23824-DEC4-4B20-8370-6695210461D1.1; Fri, 08 Mar 2024 13:05:33 +0000 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9531b2db5252.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 08 Mar 2024 13:05:33 +0000 X-Received: from AM0PR08MB4289.eurprd08.prod.outlook.com (2603:10a6:208:148::12) by AS8PR08MB6630.eurprd08.prod.outlook.com (2603:10a6:20b:337::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.28; Fri, 8 Mar 2024 13:05:32 +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.024; Fri, 8 Mar 2024 13:05:32 +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 v4 6/8] Platform/Sgi: Extend SMBIOS support for RD-Fremont Thread-Topic: [edk2-devel] [edk2-platforms][PATCH v4 6/8] Platform/Sgi: Extend SMBIOS support for RD-Fremont Thread-Index: AQHaa/ciArvLMwl88EubCwmHFrMz67Et2qrk Date: Fri, 08 Mar 2024 05:05:51 -0800 Message-ID: References: <20240301163231.2889922-1-prabin.ca@arm.com> <20240301163231.2889922-7-prabin.ca@arm.com> In-Reply-To: <20240301163231.2889922-7-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_|AS8PR08MB6630:EE_|AM4PEPF00027A65:EE_|GVXPR08MB10713:EE_ X-MS-Office365-Filtering-Correlation-Id: db1acf3f-90cc-40a2-54fc-08dc3f707722 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: pE7ftcZdhGf1SCbgRsWQTbKpZzvYY/ENCge2l9+YOPookA9YoBhPX3yNLDjH1ywFn/Rx4Dv9N2cEimMeVREFisSLnEzI9MR/VnF/WmG4qGX47NpOMFrlw+zpdwjnemdc1lDJPxe+yohm5RUhIjd11fqzEoo5kZh1FOnXb0hgLvINkTOy1H9vN/E9E98OO4AOk9SkrWNBFvs9HRzoZjpRq9WnNCYSpaf8KRcdm/B65Osm7FOFZ3PmcFLLOF+AoABjWzGqc8ADOt3MwZqTCfQuF4FKfz42HWRpz/vX3p+CI/Qq7aI4wWo6MZa9Y71MZf5rt2xRCuOMolpe1g64ahOG/iGENaPe3rOMWy4U04Qji6ajyzjVJbIXJqgZW0MneqN3+b77JuJQfuMoIuRZo2ByUcSXNdG+Y7Gp53KqLD6eDcosd4DzX0VP3dmVObxyhTfiZJUpSf2KbU8TB00jYMzF4lh/Cgwo8ZXx5dQvoJ5wb/+RaGbqbZpyIdJxMD6yT2rBcy6IM4mbULIxsL+HXWmK8Mt3lpqrAwGRz1fUNZluCA9JPJN1cDkY3eHkJg0wLDfRMIETa2uyyrFam8UrS2U+GEbObKnekgsTKeUa0i31qk553TOf9eAHJm1mWrGPPSn4LNKPc+b6YCGcqEuYMF/NN/RGBNNnUInzg3dcasQEk1cQFsS9EOZFdLDsPDHgJVYv 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: AS8PR08MB6630 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: AM4PEPF00027A65.eurprd04.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 2b83c969-e06f-4116-5cb3-08dc3f706fa5 X-Microsoft-Antispam-Message-Info: WH2NcqeZFFkcC47U1xSsPjqJ1/VwZoSMImBTAxiWeed6i9NljQN78rfQUJwH6afMgNgZKoGkIRVdkhllsj9/z2g4i73plr1DVufXbzBVenNGsMsKduTa/bnoztFHAaPo5Ow6DaVmSfi/z8jIeToZ5tkkd9skkrka1lSulBgTcZhSLPSBwuBhAnzGhHQKpV0g0B6iRhVVzN9Yr4AqZ0vUIEfUQRM2o5tdS5cEqA2Gu9ZAlExIsh40jbSu2RFUqgrdTYUbG030w9slhAoWTJ4Ui0eXZRQcZ9SAYp4G80NE/wd4my3IY0ZiMvQe+NjmDIPJy0BgzAjApb8ZjTd2v0qu9qvvelSRCqjLpJ1ays2Z2VY8N9zwSzWU+vQpeQz/iw6V4Jk32LCSh6n8z/QY84zsuuQqiaHLMV21CEO26jFJSvyeUH3Mf1WVaoAbgsSz6VjEYzCXCBSgy0baUVGkQ8tfBvNCoMU1KdsI0vqONB2KuoXj3qSCl6Na3eYuPOSqtbNA82eOEYAMYJ0vbdijpmg9EutIelWQUQaFsfI4bypOdyaonhB1RE8mVbRQCgn0VgPd5YfRS23dr7b4HYE1GptCWoo/cKSjQBYTW74QxNojyyb6WJcGCVS0NTR4soPr7KSRbbM9kz2vyF03Gjf7Qz6vWEAqpO74QjkVnX49jHV1rXvpAQgs5iXyCD2DSEyLmVUj+9M0OTkrCe8QuAVJL7Nbcg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2024 13:05:44.6768 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: db1acf3f-90cc-40a2-54fc-08dc3f707722 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: AM4PEPF00027A65.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR08MB10713 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: 0fbDtN3lRMQKtyOGWAuHdGydx7686176AA= 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="x/5QEseO"; 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: 01 March 2024 16:32 To: devel@edk2.groups.io Cc: Ard Biesheuvel; Leif Lindholm; Sami Mujawar; Thomas Abraham Subject: [edk2-devel] [edk2-platforms][PATCH v4 6/8] 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 (#116275): https://edk2.groups.io/g/devel/message/116275 Mute This Topic: https://groups.io/mt/104668521/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 (#116517): https://edk2.groups.io/g/devel/message/116517 Mute This Topic: https://groups.io/mt/104668521/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-