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 EA18594162E for ; Mon, 11 Mar 2024 14:29:39 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=354uPsSLihHwOrLe0A5sp5nBXvKx9kzi1+b1eyyvy8w=; 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=1710167378; v=1; b=GRqOglX1Wm+5imQh7+Lc8Tci6e1E6IdNqCAtXFO2+pEq3bnV4IoZ09ZaronOW7AlCmSPjhHw BFBhU/F4ovRF+QL4aLsZGUIStLAAlNjOzXQx3TSYQyL8fZvfqs/41JSSTUDaHMEZJgbQRxgOuXq L7KuILMk+ARxXJdIzhf9jc/hnxHpTStfxfFdlFIFS2qTeXzOuUoQGELaB5yIZvrevRXxnzT7aHE c+Jwih8DWDOsBsWrsfS1G6wZyYdkGDGmuzoCozkUjm1sYOpHIR0K06v81NNjcGSIvD1tcPXv+LU lJLTzYOirzzVRqHzqvH7yd0MlyEagSm5HPbv817MoTNrg== X-Received: by 127.0.0.2 with SMTP id 71ghYY7687511x9Vj7Li1lrD; Mon, 11 Mar 2024 07:29:38 -0700 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.53]) by mx.groups.io with SMTP id smtpd.web11.64355.1710167377716709998 for ; Mon, 11 Mar 2024 07:29:38 -0700 X-Received: from AS9PR06CA0240.eurprd06.prod.outlook.com (2603:10a6:20b:45e::9) by DB5PR08MB10022.eurprd08.prod.outlook.com (2603:10a6:10:4a7::14) 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:29:33 +0000 X-Received: from AMS1EPF00000042.eurprd04.prod.outlook.com (2603:10a6:20b:45e:cafe::4b) by AS9PR06CA0240.outlook.office365.com (2603:10a6:20b:45e::9) 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:29:33 +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 AMS1EPF00000042.mail.protection.outlook.com (10.167.16.39) 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:29:33 +0000 X-Received: ("Tessian outbound 5fdc1e2b2c35:v276"); Mon, 11 Mar 2024 14:29:33 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: fe34835d35d4a97a X-CR-MTA-TID: 64aa7808 X-Received: from 9f5f1dfc0c26.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 10290DF7-EBA6-4957-835E-699379BEEE91.1; Mon, 11 Mar 2024 14:29:27 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9f5f1dfc0c26.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 11 Mar 2024 14:29:27 +0000 X-Received: from AM0PR08MB4289.eurprd08.prod.outlook.com (2603:10a6:208:148::12) by GV1PR08MB8107.eurprd08.prod.outlook.com (2603:10a6:150:94::22) 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:29:24 +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:29:24 +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 3/9] Platform/Sgi: Refactor system memory base and size definitions Thread-Topic: [edk2-devel] [edk2-platforms][PATCH v5 3/9] Platform/Sgi: Refactor system memory base and size definitions Thread-Index: AQHac7Z4kkd01sI6fkaa0znM/ckD77EymZmC Date: Mon, 11 Mar 2024 07:29:38 -0700 Message-ID: References: <20240311131416.823580-1-prabin.ca@arm.com> <20240311131416.823580-4-prabin.ca@arm.com> In-Reply-To: <20240311131416.823580-4-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_|GV1PR08MB8107:EE_|AMS1EPF00000042:EE_|DB5PR08MB10022:EE_ X-MS-Office365-Filtering-Correlation-Id: fcc8abfd-7ce1-43ef-cc19-08dc41d7abb0 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: M1kq4aahx/5AI64ewEYwMdDatFxfdGDQZ3m269cZGD6lltL84p9veIUS9F9K12T6fkezEAaQ817vhBLitnkNDHQw5EbA62zpoXFDiiyfIABXotfvPfTspgLZOdTGlhlgocQhD0aJ+ZQrT4nQU4lFATJkg+Wm3VvIB0bU1LdvSgEKwPkqD4swieWDMTbsqFza58Iglag/WDTlDWlhjCrPCG5QRuEMioMMghjf5O8ZKwz4y2e5CDyACJ30UspjzzZcq1CwzcUUytW8MnskUemDI4oKkIqdjKX7ofmd/6E7LZAgzlD3eLZxUkvz5J7fTWyDqpXDwxg5VpDH7p1o+kyA9334l4yX4teE96hgRTHRnPMklHd4zbMVHqCW2eLyeIuRi0f8KAuXthWIzdbcpiNrkQnfKsGgDiXPmGgP9vi2Au23JNCSgfKrZfVZJBeEbepCqUN+8iS2nU2fQnr2UofYHbBYaSeZumBs4VclEPq3v0URzwnmOOIQEGCTkstrX1xl6iOUTOMFhlTtsD/lVMZnS0rqEUuxLzNMFBKj6KoJtWcz29UvYQUxxEJ46Yvm43sDPJeNK2YpbPdFTI0tc0ZI6bcYHg9tAFIzM/VkAut9Xuw0R5yxLJgY/SFsns3lVQIhh66HNQ5nV2eG7iMihLjcDu+ymPXZB54OAItsi5IkuvRBSvOoWgDUXeRTgwjd1EZ2 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)(1800799015)(376005)(38070700009);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB8107 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: AMS1EPF00000042.eurprd04.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: cb69e1aa-25ea-406b-21b6-08dc41d7a694 X-Microsoft-Antispam-Message-Info: frZVsQX543t0ad6TXdmPXWoGYg/4rmeqZ20WI6gJa3aQIA31fgliLMefVQFyYF3yYWHrf1g4cMbqYY66HDPVwjn4dDoK2TGQL+JklXr0/XmlsDNmhWgucGurYgu4OojVLbY79MFe2kwqnSeiN+zL2+xaaIzNEwu8w0gnI41/faerB+gQUk881DwJ4/DJoGAWd01hjL0ST7zxCnykgx2Yhlyf9s+PnOouFWw5l48hqOARr+P9JRy+Mcp1wdQrxwJG8/+HITT6IwRCMDgcuIjQHOXWQfOGY8bpjOjoOeSopZI+d37ViU4uOBuXOMR8G0uzr8NXcFUX5njLUhZw+jJhpmUc7BXA/TQgDIvI6E6lNcA9qmUOSvKQ6RQkzcJmblFZyn6aObdy0RZkHdDxVYvFN+lSfzZUrLKhh7klPwz7lDfOnIhr9QMKRiprvWzAqLXgcTKl0Cn2ONDtMKbijS6bdSEKgYfNtzWqxkblGEFbVB0FrnJWca0ZTuMDD1rNd4yxAPhinI4W6R7R5h29GB4zjEMXzFWZDdizUU9gEAqi4djXDokVY6bPmj0NC6BijABPy6FqV+yDWkAvKX499qOCCrXC/uzdQutW+1++rj3cvo9ItAO9zUQ4biee/LH2q4nXoTrnFeakfPd5SlhOIkWLOaUH52ooL5y5Go1Y1/fMt9seUjMYbjisb9pmH6Hs5vzk88pBpXoCuC3wV96D7w4LvQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Mar 2024 14:29:33.3563 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fcc8abfd-7ce1-43ef-cc19-08dc41d7abb0 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: AMS1EPF00000042.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR08MB10022 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: WpUvK1BlYbgV7HxcN1vsxp0jx7686176AA= 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=GRqOglX1; 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 3/9] 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 (#116615): https://edk2.groups.io/g/devel/message/116615 Mute This Topic: https://groups.io/mt/104862628/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 (#116639): https://edk2.groups.io/g/devel/message/116639 Mute This Topic: https://groups.io/mt/104862628/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-