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 DCA27941944 for ; Fri, 8 Mar 2024 13:05:09 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=W9UQ+A8nRIzeAO46ju00UUdY5wcfVeJwZpdGs5C4wzI=; 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=1709903108; v=1; b=s8/lEQ9hMhdPqfbJAILI6plorL7wKM08Jd1oGRfSeFBGq3yCMPRUyZaUUKG8nm+x6orAY2Gq PrC7ZPAIJzU3gPd60ZUnWS6hB5mXnXVeZeZ5EGLjnodJdWUvQnN8gzTiSzi796F5+H6gqfVEADz ciVx3+KDXAaNya4Tmx4SIT3nHnU9wPQoy9D1Y48Cxoejgg23hyqoglnzOStKkG3oNK1j1tdSEva X89SqagWI2kFOwxM4agfqCyPeJgF4Y1vZ+9a/AdZTdvjn7SRweK9wHKh5s3CGs7oWYAMKqGTUgw JeeCtydDL96cBU26mI6Wr/zg0e0xGKEpOUwrXE52Zcygg== X-Received: by 127.0.0.2 with SMTP id fucrYY7687511xQb6LUa1msA; Fri, 08 Mar 2024 05:05:08 -0800 X-Received: from EUR01-HE1-obe.outbound.protection.outlook.com (EUR01-HE1-obe.outbound.protection.outlook.com [40.107.13.83]) by mx.groups.io with SMTP id smtpd.web10.21341.1709903107415020907 for ; Fri, 08 Mar 2024 05:05:08 -0800 X-Received: from AS9PR06CA0626.eurprd06.prod.outlook.com (2603:10a6:20b:46e::35) by PAXPR08MB6687.eurprd08.prod.outlook.com (2603:10a6:102:132::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.29; Fri, 8 Mar 2024 13:05:01 +0000 X-Received: from AM2PEPF0001C713.eurprd05.prod.outlook.com (2603:10a6:20b:46e:cafe::24) by AS9PR06CA0626.outlook.office365.com (2603:10a6:20b:46e::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26 via Frontend Transport; Fri, 8 Mar 2024 13:05:01 +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 AM2PEPF0001C713.mail.protection.outlook.com (10.167.16.183) 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:01 +0000 X-Received: ("Tessian outbound 7b0d57313a48:v276"); Fri, 08 Mar 2024 13:05:01 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 34f02f49d7f223f6 X-CR-MTA-TID: 64aa7808 X-Received: from 728a4c0a9cde.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 55881A57-9D68-4C6C-B06D-426E217B82C7.1; Fri, 08 Mar 2024 13:04:54 +0000 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 728a4c0a9cde.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 08 Mar 2024 13:04:54 +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:04: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.7362.024; Fri, 8 Mar 2024 13:04: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 v4 2/8] Platform/Sgi: Refactor system memory base and size definitions Thread-Topic: [edk2-devel] [edk2-platforms][PATCH v4 2/8] Platform/Sgi: Refactor system memory base and size definitions Thread-Index: AQHaa/a7wvRXpn/xaEezbSMYQ8gpArEt2n3I Date: Fri, 08 Mar 2024 05:05:08 -0800 Message-ID: References: <20240301163231.2889922-1-prabin.ca@arm.com> <20240301163231.2889922-3-prabin.ca@arm.com> In-Reply-To: <20240301163231.2889922-3-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_|AM2PEPF0001C713:EE_|PAXPR08MB6687:EE_ X-MS-Office365-Filtering-Correlation-Id: ab2a726a-3247-4814-7df1-08dc3f705d39 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: bz/PJJEWGum8zflCH+wn/bwXBjYGH6ESVMa7rk8A5J+qiAfw3pIZGLFRG4pfS3aPXIwQ0cs21w/FecqtedU/CaC598ql5ChU0e0Z3BP6xYrC+NhEsz2dxlhgE64CRh5kd8iXubwUTUHEhILlw0rPYcAqAtiNpLHZiLy+n1Hu/UfIIFiwSEpIMkrLyyiC39WtA90brecvlf+xLP29d/Yhb8MMx/jNmahwiUTgTJWOzM/wPQZyieNkKPJhEf+FEC+nJHUZFLqEllV1thgWiaW2HXRdzWyvVU64Yi8RmZoCF0r2u1B3itQjEkGE5f1Yf1qBTBCxObnFBIAXNg44r8mzs+Or/lz5P9iBcjDazKpKv/MVDPu5Qu6bNAt1hFR8gK8N1Jo1pM8/eowlvsSiInFFafGZ+EUEk2U2JXQt0cjTIY2UA+QLTaRJPqIPP6zOCLTEA+Ql0r4WeDLZw1R0+2rh/zng/Pcq9RNJems6cP2TAJy9lDRiAmemh1lW+VcFmdj5V2BOd0Botm+gMIY13k5sDpvVglfRjG9t0YBv/df9RIQ0Zm5Dt/+bXiPoqrdFledtwmRsUTKUJF+PD9inGKuLjVTDNZuR9i+H5X/Rzhjq60pdxP1r50T7nUR2mKQ1P2kOyLMYZ3n5kr9MPHr9Bf8OKh4JfqeZJJnAiIcGEaKST/n9oRO5BSj0MtjrMnCe63ms 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: AM2PEPF0001C713.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 6fdcfc2a-4b7f-498b-75ac-08dc3f705885 X-Microsoft-Antispam-Message-Info: 5HBJTdPe2nZecRAlcDNVIGHM0NKP66LDfJwmt6Hbe3EWOXqKf3lV9h3OhafAVGa6+RjCkUd1SMAWi1mrZUHIJtQKHmXZ8+lxzJA+Z7EbtaMNE3UDap9xHPDfEbqqUSrvsrwklIcICdsvQHyydaNEK4OVUPX0hVG+9irHIgkQGkX9x8b5LNevOcOnd6wSYuTlpESE3PHbY22QdFbQiVnhiFidtc8lW55dnMkaOSlE6nrD2j3MSpW62aCFsaE+OAvQWm5EH/f5vDl44WbgJ8Blq9d2Le5w+rQ6+z6NxxVfFfcPk/dReRd5/Hy0SR7VaFlLdaRx7njSV4BKAcCjmwgoFZ8NpFJusjQIwz2CTiFHvDdeOKL+CHQv5TA5D7m7ByjeqVJJ5vbG2CU3iAnAt7Wcx+L27kiFjcX3FG1UBrt+MUDg/0x97w5tcy+KqEuzM3jbS9eGItBziwkXBLDJWR1lVLYoDBVjSnlDHBezCt5Mes6duH11OcEBiZzOcNf6UmB64Cz1/jwpkj2yzX+5jRGXn7vVP4Famb7H0R9JvaoBWUnCDdpcp+TkNeV7pCDnDsiGAOqMoIZbliwwwQ8f+QtJXz+ifeffF4KrLOrCDW2LU+NsYu1TD5ySp0KWvKz7tfSy3665wZWaHgnBU0Z55gq1oSaxeLm6DZkeOvl6cgf3Djb7fbO4LK4NquwxZZkfs4Vkor4ZBvJq0Ji9M78uieSQXQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2024 13:05:01.2234 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ab2a726a-3247-4814-7df1-08dc3f705d39 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: AM2PEPF0001C713.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6687 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: euJUW3Vg5DEcawfdpW6pwZmQx7686176AA= 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="s8/lEQ9h"; 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 2/8] Platform/Sgi: Refactor= system memory base and size definitions In preparation of adding the next generation of reference design platform that have different memory map, refactor the PcdSystemMemoryBase and PcdSystemMemorySize PCD definitions from the common PCD definitions file into the various platform generation specific memory map PCD definitions file. Signed-off-by: Prabin CA --- Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc | 8 +++++++- Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc | 8 +++++++- Platform/ARM/SgiPkg/SgiPlatform.dsc.inc | 6 +----- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc b/Platform/ARM/SgiPkg= /SgiMemoryMap.dsc.inc index 0cffff577c42..eab43b23ec6d 100644 --- a/Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc +++ b/Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc @@ -1,5 +1,5 @@ # -# Copyright (c) 2020 - 2022, Arm Limited. All rights reserved. +# Copyright (c) 2020 - 2024, Arm Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -67,3 +67,9 @@ [PcdsFixedAtBuild.common] gArmSgiTokenSpaceGuid.PcdGpioController0BaseAddress|0x1C1D0000 gArmSgiTokenSpaceGuid.PcdGpioController0Size|0x00010000 gArmSgiTokenSpaceGuid.PcdGpioController0Interrupt|136 + + # System Memory (1GB - 16MB of Trusted DRAM at the top of the + # 32bit address space) + gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000 + gArmTokenSpaceGuid.PcdSystemMemorySize|0x7F000000 + diff --git a/Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc b/Platform/ARM/SgiPk= g/SgiMemoryMap2.dsc.inc index de1d8ea24b89..35e27d42d5a2 100644 --- a/Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc +++ b/Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc @@ -1,5 +1,5 @@ # -# Copyright (c) 2020 - 2023, Arm Limited. All rights reserved. +# Copyright (c) 2020 - 2024, Arm Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -75,3 +75,9 @@ [PcdsFixedAtBuild.common] # IO virtualization block gArmSgiTokenSpaceGuid.PcdIoVirtSocExpBlk0Base|0x1080000000 + + # System Memory (1GB - 16MB of Trusted DRAM at the top of the + # 32bit address space) + gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000 + gArmTokenSpaceGuid.PcdSystemMemorySize|0x7F000000 + diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc b/Platform/ARM/SgiPkg/= SgiPlatform.dsc.inc index 26ecd9ed59a7..1cfe07c7e4ed 100644 --- a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc +++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc @@ -1,5 +1,5 @@ # -# Copyright (c) 2018 - 2022, ARM Limited. All rights reserved. +# Copyright (c) 2018 - 2024, Arm Limited. All rights reserved. # (C) Copyright 2021 Hewlett Packard Enterprise Development LP
# # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -131,10 +131,6 @@ [PcdsFixedAtBuild.common] gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x40000 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x0 - # System Memory (1GB - 16MB of Trusted DRAM at the top of the 32bit addr= ess space) - gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000 - gArmTokenSpaceGuid.PcdSystemMemorySize|0x7F000000 - # ACPI Table Version gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20 -- 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116271): https://edk2.groups.io/g/devel/message/116271 Mute This Topic: https://groups.io/mt/104668515/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 (#116514): https://edk2.groups.io/g/devel/message/116514 Mute This Topic: https://groups.io/mt/104668515/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-