From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.87]) by mx.groups.io with SMTP id smtpd.web09.389.1635269586843435481 for ; Tue, 26 Oct 2021 10:33:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=Ud4edFL6; spf=pass (domain: arm.com, ip: 40.107.14.87, mailfrom: khasim.mohammed@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u12ziD+3wTZoS4i+mZX+HgyDl9aQTIX4kF+1BPtlEYM=; b=Ud4edFL6+HF8dbBcauo/IfOsPi/9lG9irP9aC4Jp5c0Qf/5pogdh3UA4KzqekbBzXrWaPCVkeiLgvWlGwulc8FUWZFaIo3w5/2Gghxh4naSljlDroDZ+ohamhrMzGLdtVYJWGMWYOPRP/rDOo5QTTxB+2vf5+mpp9hvvrfCkkPI= Received: from AM5P194CA0006.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:8f::16) by VI1PR0802MB2399.eurprd08.prod.outlook.com (2603:10a6:800:bb::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Tue, 26 Oct 2021 17:33:03 +0000 Received: from VE1EUR03FT046.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:8f:cafe::14) by AM5P194CA0006.outlook.office365.com (2603:10a6:203:8f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16 via Frontend Transport; Tue, 26 Oct 2021 17:33:03 +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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT046.mail.protection.outlook.com (10.152.19.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16 via Frontend Transport; Tue, 26 Oct 2021 17:33:02 +0000 Received: ("Tessian outbound a8bfe25d7364:v103"); Tue, 26 Oct 2021 17:33:02 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: dc027593b0fced08 X-CR-MTA-TID: 64aa7808 Received: from 6069223e1882.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 00F5587A-7DB7-4312-901D-92C6B2A092BF.1; Tue, 26 Oct 2021 17:32:55 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 6069223e1882.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Oct 2021 17:32:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NAyXzy6g5/2Vv8DqpD9mtrZch1AqbX+W/Kve1cpChcXI7rastjji1sIcw799x8PbhbSvIAef/pb1z0DVWzhn6z4AFvN9wnTwh2pYjNJSADHEIFkYOP8Cd0BlNU12LWJoSL1N2DBfOpx2TH3VZtpwJehyupSNbLzdh09PCBEH7AMNdzVjfTinl9DofMzKbz0s77nMJFEvuvRRnUjPGxSPJq++b+TlY5LAdJyTSrQu3sbm/0lVgJn9hNnlhBhNZOAyfVPLYWnOhL2yljxMgpBMT0yrc3aoMnO94jP3x6fd5UzAhbQuZF0UoakRZdj6u6LQvHCDaOzZyR+awjWlHAR+RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=u12ziD+3wTZoS4i+mZX+HgyDl9aQTIX4kF+1BPtlEYM=; b=lEptsVJVX+MZuH+IXlEc+1emFWBQf53z7BqMQczwuI5SLhLlDBvRSzmC3xuuflonDlTh7/P41VChsNKHyeeSsfe3ANfuizRA98BWlUhHPbIppnbqYXP+0TnZkOJFPSP6XLFj480qm1tbqpNe5DOlzd8b4agDy7HwT9guWq7w3jzHv9vdBierAh2e1A0gyIXADNL8BaAct7KeGo/yhd+UMgHp2i/eFjlKVg3mQ+k1u5YaarykrdMglAmgxNYJtp/wJ5EzqxOdtA6PCciFd06OW/QqORkNMSU4CuF1ZBbVjELBhsr4O/qNtnpn0758Q4XROEoxhtsOMFJMUBBgZQGUtA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u12ziD+3wTZoS4i+mZX+HgyDl9aQTIX4kF+1BPtlEYM=; b=Ud4edFL6+HF8dbBcauo/IfOsPi/9lG9irP9aC4Jp5c0Qf/5pogdh3UA4KzqekbBzXrWaPCVkeiLgvWlGwulc8FUWZFaIo3w5/2Gghxh4naSljlDroDZ+ohamhrMzGLdtVYJWGMWYOPRP/rDOo5QTTxB+2vf5+mpp9hvvrfCkkPI= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from PA4PR08MB5902.eurprd08.prod.outlook.com (2603:10a6:102:e0::10) by PAXPR08MB6701.eurprd08.prod.outlook.com (2603:10a6:102:132::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Tue, 26 Oct 2021 17:32:53 +0000 Received: from PA4PR08MB5902.eurprd08.prod.outlook.com ([fe80::e5a7:9474:4463:d258]) by PA4PR08MB5902.eurprd08.prod.outlook.com ([fe80::e5a7:9474:4463:d258%2]) with mapi id 15.20.4628.020; Tue, 26 Oct 2021 17:32:53 +0000 From: "Khasim Mohammed" To: devel@edk2.groups.io Cc: nd@arm.com, Khasim Syed Mohammed Subject: [PATCH v3 0/7] N1Sdp ACPI table and configuration manager support Date: Tue, 26 Oct 2021 23:02:27 +0530 Message-Id: <20211026173234.9053-1-khasim.mohammed@arm.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: LO4P123CA0218.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a6::7) To PA4PR08MB5902.eurprd08.prod.outlook.com (2603:10a6:102:e0::10) MIME-Version: 1.0 Received: from e116623.arm.com (217.140.99.251) by LO4P123CA0218.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a6::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16 via Frontend Transport; Tue, 26 Oct 2021 17:32:51 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 125b9a4b-8fa8-4f81-2f26-08d998a6a9c9 X-MS-TrafficTypeDiagnostic: PAXPR08MB6701:|VI1PR0802MB2399: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8273;OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: ZlWwgpIQEXa04FlRU2W/W91QDH1RQjRE6l2AG8cMsOmCnA5EkFpJvxqoWNBOAhfI6NN7FVNiXTRVQX8TLMd1lvOCVbhYVc5FM9zHHfNm+dkddLlgeX7Cr8/ys+jNW+nM9QgpbQ9dRz4u2jisqMLaRLzV6ABmO4AyuH1HFpZncPPSs4QHMQ2IiAJtYDUl9hqS3yLKltDCsf0zsUDNtDnqScDpg0oP6oan0s10z0G9KDoWmyZ1QrvboOzIVg82L3QNj+nNjusz8/fTT4cx2GQWtehdwVlVty6yU8EQSKySXuaYB/EuC8Xeuq03bJaBRnMn5/yRO5IjxKZtPWD20d3ikt88Zxpj/84DPwMXF6ulkpztUJDkgkPtu5vvHlastzoHPVF9jLIEVdo9KYhDZ6W4Vgh7B0fHVeb1XVDqAebB65NUUWpZt+0Ujc+eAMFHI/3ycvqtnvjWQ0yD1EH/SJN+mi5uQU6uUtoNG3WNHjqpHpwSmqxo4irvaW54hvJ+wAa9PmoMSEhEBt7AGayeJhb5Cb5Q9J3/QlALjKAVoCCtMIoEujvuyfugiaydGqD+M//MHsIGh147g2xtGFbTvzveH1zfi8gDjBi151vlDv3dKP5a9+zYKkQuL3L/ttwNi80R8adRpWBc7KdQoPzN7E2qFbbGhRviNBIkfSDbz3SpotmQZXVBYRO/McIJy0R1hFGOoWCk3pvMqvSc9wmIwW2ZYxcdc9KCvUO61Tj2CyzjnEKqPsGfJ6wdRSK5DK8ycdpakpUxMkoYnypzGZ3Q5lo8rkWGOE9yaj2Dx/I/A+ANR1ACzyWW9c6DKAc3tvGW/TGTnwUKSm9V5+iqs59ziulbdWaR7YkEOVWGdjvO1mlx5WI= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR08MB5902.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(19627235002)(186003)(36756003)(6486002)(66476007)(26005)(8936002)(5660300002)(316002)(2616005)(956004)(7696005)(52116002)(38350700002)(6666004)(1076003)(86362001)(966005)(508600001)(66556008)(83380400001)(2906002)(4326008)(6916009)(66946007)(8676002)(38100700002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6701 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Return-Path: Khasim.Mohammed@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: e16c0541-01a8-40ae-20fc-08d998a6a3ab X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fWUqVBrW1iUxs3FzRNdxW6rmm2m9Fh8gc9S7aC2TOptT8sZP9WG+RafGIaGg8mBbhluo0/xOgUX+tvg/mQmFEj+dlW4KLEt0oA8qlFAx8TysO6U6h6Gi2eTVlZNCSlK6tF6VIyqJwSMcKF+sg1xBZq+BjZiC9EOmANZCm20hKw4RVBDpUlKrQ3L533zI1+TGopkaUUKTZv1vA7ztbKmy3LO6o/nBQous4Fv7JscSssjg9fRJcwRykg8RdRY0xX+H+vH3l7Zue3R1rjLyZGnd9uDl7IDv3oHbmjSy+XEXL4h6OkjXUNy1MxnElgH1dI+vgcMSDSyQd+GC5bZjvjahEUO0ZPZ5xOYbXRl32XVZKqK9+Xcn4TGEG0pgcEVX96JPA6UeD34nI9vNY+LnazY+tREcvfSdeq5e8CrtTF/Q8oVZm0XVgap3ohsScbJUqsqwuE2KeNeEGJfmBAMdYs2vha2Ba06Kml3FQiM9MmwW+QS7NqtqtE4nb1jRdFefnRHtpjimSQKln9Oiq3FUunczMXPKambRx9hcegmJttDXTrs75On+Q/yV9vfuup2b94VkEoE6rb4m0MTc/vtQ+pOIW+en6IkX7dPfI3nl5r4WD7+2/SUxuVuPA8k4jYlgSgSCXpPOJ5g/yECVT0g3GByma2jlvmU2VzIsplqn4CxjBG/XIX75XoyvdrcgC1I+85MJVmA3d2dskBEfZ7C1Col3X02sv76zEMcXcdQXxm/v/IAww4WNqtaHDbWaySho67wscIxsfIRHgODVtMFa0ntGgS4hprDBF+i0R2/rRyyogz275tYGK5XuvYaf5tS6cOwJZnII5Zgns3qRgvIUfG0lf3UnUIBilu6MhjxMNRUcJoU= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(46966006)(36840700001)(356005)(70206006)(8936002)(81166007)(186003)(5660300002)(6486002)(8676002)(6916009)(26005)(47076005)(36860700001)(19627235002)(7696005)(6666004)(86362001)(966005)(956004)(70586007)(336012)(1076003)(2616005)(83380400001)(36756003)(82310400003)(4326008)(316002)(2906002)(508600001)(32563001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2021 17:33:02.8610 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 125b9a4b-8fa8-4f81-2f26-08d998a6a9c9 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: VE1EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2399 Content-Type: text/plain I have incorporated all the review comments and suggestions on v2 patches. 1) Was able to successfully run the CI on edk2-platforms enabled by Pierre https://github.com/PierreARM/edk2-platforms/tree/review/N1Sdp_v2 2) Observed three false positive for Dependency Check N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf depends on pkg Platform/ARM/N1Sdp/N1SdpPlatform.dec N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf depends on pkg Silicon/ARM/NeoverseN1Soc/NeoverseN1Soc.dec N1Sdp/Drivers/PlatformDxe/PlatformDxe.inf depends on pkg Platform/ARM/N1Sdp/N1SdpPlatform.dec 3) Duplicate GUIDs were fixed. 4) Coding style and doxygen related issues were fixed. 5) The build successfully boots on N1SDP in both multi and single chip profiles. This patch series implements the configuration manager for N1Sdp platform. It enables support for generating the following ACPI tables: 1. FACP 2. DSDT 3. GTDT 4. APIC 5. SPCR 6. DBG2 7. PPTT 8. IORT 9. MCFG 10. SSDT - PCI 11. SSDT - REMOTE PCI The changes can be seen at: https://github.com/khasim/edk2-platforms-n1sdp/tree/n1sdp-upstream Khasim Syed Mohammed (7): Silicon/ARM/NeoverseN1Soc: Fix missing function documentation Silicon/ARM/NeoverseN1Soc: Define new PCDs and configure memory map Platform/ARM/N1Sdp: Introduce platform DXE driver Platform/ARM/N1Sdp: Enable N1Sdp platform specific configurations Platform/ARM/N1Sdp: Introduce platform specific asl tables Platform/ARM/N1Sdp: Configuration Manager for N1Sdp Platform/ARM/N1Sdp: Enable ACPI tables and configuration manager .../AslTables/Dsdt.asl | 482 ++++ .../AslTables/SsdtPci.asl | 252 ++ .../AslTables/SsdtRemotePci.asl | 161 ++ .../ConfigurationManager.c | 2199 +++++++++++++++++ .../ConfigurationManager.h | 307 +++ .../ConfigurationManagerDxe.inf | 166 ++ .../ConfigurationManagerDxe/Hmat.c | 103 + .../ConfigurationManagerDxe/Platform.h | 92 + .../N1Sdp/Drivers/PlatformDxe/PlatformDxe.c | 59 + .../N1Sdp/Drivers/PlatformDxe/PlatformDxe.inf | 47 + Platform/ARM/N1Sdp/Include/N1SdpAcpiHeader.h | 35 + Platform/ARM/N1Sdp/N1SdpPlatform.dec | 99 + Platform/ARM/N1Sdp/N1SdpPlatform.dsc | 47 +- Platform/ARM/N1Sdp/N1SdpPlatform.fdf | 22 +- .../Library/PlatformLib/PlatformLib.c | 46 +- .../Library/PlatformLib/PlatformLib.inf | 28 +- .../Library/PlatformLib/PlatformLibMem.c | 84 +- Silicon/ARM/NeoverseN1Soc/NeoverseN1Soc.dec | 35 +- 18 files changed, 4233 insertions(+), 31 deletions(-) create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/Dsdt.asl create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtPci.asl create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtRemotePci.asl create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Hmat.c create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Platform.h create mode 100644 Platform/ARM/N1Sdp/Drivers/PlatformDxe/PlatformDxe.c create mode 100644 Platform/ARM/N1Sdp/Drivers/PlatformDxe/PlatformDxe.inf create mode 100644 Platform/ARM/N1Sdp/Include/N1SdpAcpiHeader.h create mode 100644 Platform/ARM/N1Sdp/N1SdpPlatform.dec -- 2.17.1