From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.71]) by mx.groups.io with SMTP id smtpd.web08.1640.1633890632549761262 for ; Sun, 10 Oct 2021 11:30:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=SHL93kDc; spf=pass (domain: arm.com, ip: 40.107.21.71, 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=Zw8WKmgX5drwK8qizIRsLKIhASPDZMEiNLc89MD5WCQ=; b=SHL93kDcuSXQbkXFiyi/wWMUzWcyJ7HbgBaoLH7NtaQowWRSluIJ09sXVV+BsR6zoc0RTJgk9acwHysusc3nDC6AkOobZ0DoaQEoTfEg057drO04UwWjSiGUK58+HooscElh3KNGTIjlV6Jix2bGn4jSVl5iQ6myExvvGJpwXuE= Received: from AS8P189CA0022.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:31f::14) by AM6PR08MB4214.eurprd08.prod.outlook.com (2603:10a6:20b:8d::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Sun, 10 Oct 2021 18:30:28 +0000 Received: from AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:31f:cafe::bf) by AS8P189CA0022.outlook.office365.com (2603:10a6:20b:31f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.21 via Frontend Transport; Sun, 10 Oct 2021 18:30:28 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; 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 AM5EUR03FT039.mail.protection.outlook.com (10.152.17.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18 via Frontend Transport; Sun, 10 Oct 2021 18:30:28 +0000 Received: ("Tessian outbound b9598e0ead92:v103"); Sun, 10 Oct 2021 18:30:27 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: bfaa3b2d83bffe87 X-CR-MTA-TID: 64aa7808 Received: from dd2bdf709c97.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id E44D8D79-4042-4D5B-9902-6FDDE4B5AB28.1; Sun, 10 Oct 2021 18:30:20 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id dd2bdf709c97.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Sun, 10 Oct 2021 18:30:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=boINN+7ANTrYYclQIbIlVC0uH6hwt3kGi3EJ4qzWyLXN7WRNb2nzLB9bg0oiVCMvf9kAmms5WEhJC7Kc6SsTXsSP3qdmJXR201EiuWn5HMTdN1X7kNRUSZ/qR9jsn80SWW2ID5RWwJkFLU76+IJ/HlxvzOn6GGUJ2bGsydCmypd/fyy7/N+HHWybZwsNxMpi2PuR5GIfSKX5tm5VnhKzvcpTbaDAn5GZrmu1bWSr6016Prsi1BKUJ2bFexHjjUW9ynjhNIfNy2pyO729CCSnuz8UqZ/8WjGsaIkoTJlGc65q1ZCU9qOF/RzuP+jXvcQ5ICdh12n9O/YNcXX2rpXhKA== 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=Zw8WKmgX5drwK8qizIRsLKIhASPDZMEiNLc89MD5WCQ=; b=jmPzAMT/Q2joBhf/RKRghVosWKFxgBtqH0s/iKt+XkqFqW7/hSEyQ3c9zDB8ji7CrRwjTX7vk4+47jycFP4BmpxYbo4nddk1ite38B8chqeTyUnJ6qa47oitEDJKK38X+zGMVEj/uYOs9LIsa5nkPV6Y+hbWaNl4VPSqsLHJrwhB8iSx6qFqiBNAUIA84jYqiS6kQYR4XgpNKZKFGK6lW/RLlRJYmgM54e4AT4RQRbi7bf0cNGFv2VpYIeI6Wm3DUk9a/U+pCYAE/+hjgvcrCRpuEQqqrsDcW2PHaYjbLdZu5TzLH/1YycktSWqmTVWPN8DLWxIUNpno9uJRlTde1w== 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=Zw8WKmgX5drwK8qizIRsLKIhASPDZMEiNLc89MD5WCQ=; b=SHL93kDcuSXQbkXFiyi/wWMUzWcyJ7HbgBaoLH7NtaQowWRSluIJ09sXVV+BsR6zoc0RTJgk9acwHysusc3nDC6AkOobZ0DoaQEoTfEg057drO04UwWjSiGUK58+HooscElh3KNGTIjlV6Jix2bGn4jSVl5iQ6myExvvGJpwXuE= Authentication-Results-Original: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Received: from PA4PR08MB5902.eurprd08.prod.outlook.com (2603:10a6:102:e0::10) by PAXPR08MB6542.eurprd08.prod.outlook.com (2603:10a6:102:158::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Sun, 10 Oct 2021 18:30:18 +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.4587.025; Sun, 10 Oct 2021 18:30:18 +0000 From: "Khasim Mohammed" To: devel@edk2.groups.io Cc: nd@arm.com, Khasim Syed Mohammed Subject: [PATCH v2 0/7] N1Sdp ACPI table and configuration manager support Date: Sun, 10 Oct 2021 23:59:49 +0530 Message-Id: <20211010182956.13526-1-khasim.mohammed@arm.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: LO4P123CA0392.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18f::19) 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 LO4P123CA0392.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20 via Frontend Transport; Sun, 10 Oct 2021 18:30:17 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3c73464f-d664-4b0a-92f5-08d98c1c08a7 X-MS-TrafficTypeDiagnostic: PAXPR08MB6542:|AM6PR08MB4214: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: VwWjlhjyd0HFul3t7WUZx06iTCwKAejUAMYHp0ieBMQOBkWgoYufCt9spvm4Usf20HKEgRHcCtAeYLSsFG97Nu7XB5WQPXKFSCyFH23EszMw0fGbKN1vsR2PkGW3lNhY3LWAXzOwpA/uAqgKu0zJUdoxsbN4JvvJa7H071Ffb/cMTMUJZoABh+XQOGd5X+8DrKREkR2M2o1EqPPUyfxq2rzNPsuP/ophS/TNZTPD/klXPdnhfdFxvvKZjUnu9ub5hjauJ7qydPOo7NJHOI1pUx6VeO1Ay4q/vI5BJdJnoQi41I7QssarjUhHBR6d+Hb4vfrFSh6ct8fufJ/s1cdI+ZN0MFuk/FutOU4symWAxLiUnw+2uomTFDxsstkvRKQUolMxgEo81msNtyhF/CgDkVtcNv+5pa9lnp919GtKZ8JEBFbSVbRgVJwZ/LYZGiWKEznHTTYqQWWRo597eWZU3Efq0UfBej1JWWmnJnHOvz6z72hV1LCd5fOIsoKB8ZU7sZlAvBx2P1EjqKfFc97PkyAUjVEJ84gb1sgEZRcQ0AW4p33Td3K64b0OV9Z8GWf4AcrTa9a/LWXTNMRLNIOByzXooWVAbmZvkNW0EWv0hx0HM8zmkc1/YXvbJRgbNh+6O8kL3+FmNEcGM5Iq9coNfGyCf5IPxfNt+YeBYsZ7QNUS3GgYgtKTjbizYZ8ckEtJQgIKUq46DwUz3z5lXVA4TB2HhZ0nYdRqcYgj6ejv8M559qbkW6gFGuYz/b0TEWM8mLdRxZ/oep4w+Cni4CQFe5fyeYNywsMjkZD72wGUd1IHDt06tRTPMfA+rf7fFgN+ 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)(1076003)(83380400001)(6666004)(8676002)(8936002)(956004)(2616005)(6486002)(5660300002)(26005)(38100700002)(38350700002)(66946007)(316002)(36756003)(7696005)(186003)(52116002)(66556008)(66476007)(19627235002)(86362001)(2906002)(6916009)(966005)(508600001)(4326008)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6542 Original-Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Return-Path: Khasim.Mohammed@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 0fcfc46d-0765-4a3e-ff6d-08d98c1c02d2 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gBRVfux9U9ZHjEX8U2M8wBMfF7ZTwzYmtN78ZN4CX0eB3eqWKQQCyzVccF+8HqfBFZ4y9TZn1/pgqig6STGzAFHBdtutDRFqoEpnUqJa+66EJ6idv5LCm28YNOw761dWFCzWPtKOKFOAS16Lm96RpZ0+w6xWVprfX1rcMX3FLloA/vIwTXumLtBOJYAPDK/uBjpeuMCR+9fl1q7yeIc/9Ob+xe9pnmXmPi0DcTpFdbTi71Dfp8JIiimLWyhpLeSlAjadoBrEsNlxdqGthZpOdavnFi90Ojzfrkrdz1SstpSPs171ClNcjQtV6spDkiRn5OfDH4hm44kIaZxeiK8DT8VFc2nC9VfLmU0enKoXueBDlFL2R/BQuyfFxZJXbNOLttJ4Jsy6/QcWAqVJbsOwa5XCENKJ+NZzugS+r5w5fWrESoQYaf5Uw6NVnTiFLagfN9SdMg5dc077Auy/i8vNrW4mqSMd7DU+/RA7W8HvZ+Cv9n8N6szXoV3om16d/sTgSRkHKYRJAr9GHzeK2hkRdWT0QOo5E/GHE+nKwtdDSICIw40zZMDRBvSTbnMpGVSdCSi/sxLnIThlELryMCxfh+S4g4OsW6qpKSa10IdXryugUWX97Tk0R/dVL8fqRVDGGPQMSQqCUzUhs854dnRZXYYAuj+4nQynnPVA3X7jiUX9zIirV6uRdlzJFIPbYpc0yJyz0qOk3RkCfQfKWmrbsTU9WLJ68G40ezVsQ1tXHBsqW02oh5IcJ/oGxaTkXBzzxUMoG8+hSIFMLt0n9OIZNPwXKrNwuuQxYeWdQyD7ifiTOr6d0b8UhxFLs7UON8VH 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)(70206006)(36756003)(19627235002)(1076003)(26005)(70586007)(36860700001)(4326008)(508600001)(6486002)(5660300002)(186003)(316002)(8676002)(356005)(47076005)(2906002)(956004)(2616005)(86362001)(7696005)(6916009)(8936002)(336012)(83380400001)(966005)(81166007)(6666004)(82310400003)(32563001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2021 18:30:28.1234 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3c73464f-d664-4b0a-92f5-08d98c1c08a7 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: AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4214 Content-Type: text/plain Apologies for the delayed response, I was unable to work on the review comments provided earlier. I will ensure the response is quick this time. I have incorporated all the review comments and suggestions, 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 .../ConfigurationManager.dsc.inc | 16 + .../AslTables/Dsdt.asl | 477 ++++ .../AslTables/SsdtPci.asl | 247 ++ .../AslTables/SsdtRemotePci.asl | 156 ++ .../ConfigurationManager.c | 2199 +++++++++++++++++ .../ConfigurationManager.h | 307 +++ .../ConfigurationManagerDxe.inf | 167 ++ .../ConfigurationManagerDxe/Hmat.c | 103 + .../ConfigurationManagerDxe/Platform.h | 92 + .../N1Sdp/Drivers/PlatformDxe/PlatformDxe.c | 51 + .../N1Sdp/Drivers/PlatformDxe/PlatformDxe.inf | 44 + Platform/ARM/N1Sdp/Include/N1SdpAcpiHeader.h | 35 + Platform/ARM/N1Sdp/N1SdpPlatform.dec | 99 + Platform/ARM/N1Sdp/N1SdpPlatform.dsc | 38 +- Platform/ARM/N1Sdp/N1SdpPlatform.fdf | 22 +- .../PciHostBridgeLib/PciHostBridgeLib.c | 18 +- .../Library/PlatformLib/PlatformLib.c | 43 +- .../Library/PlatformLib/PlatformLib.inf | 28 +- .../Library/PlatformLib/PlatformLibMem.c | 84 +- Silicon/ARM/NeoverseN1Soc/NeoverseN1Soc.dec | 35 +- 20 files changed, 4222 insertions(+), 39 deletions(-) create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManager.dsc.inc 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