From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.9634.1622618163834830657 for ; Wed, 02 Jun 2021 00:16:04 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: khasim.mohammed@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 957B26D; Wed, 2 Jun 2021 00:16:02 -0700 (PDT) Received: from usa.arm.com (unknown [10.163.35.111]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 20F8D3F73D; Wed, 2 Jun 2021 00:15:59 -0700 (PDT) From: "Khasim Mohammed" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Sami Mujawar , Khasim Syed Mohammed Subject: [edk2-platforms][PATCH V1 0/4]N1Sdp ACPI table and configuration manager support Date: Wed, 2 Jun 2021 12:45:48 +0530 Message-Id: <20210602071552.1207-1-khasim.mohammed@arm.com> X-Mailer: git-send-email 2.17.1 Resending the patches again as the previous two sets didn't make it to the mailing list. 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 Khasim Syed Mohammed (4): Silicon/ARM/NeoverseN1Soc: Add mem regions to support multi-chip usecase Platform/ARM/N1Sdp: Introduce platform DXE driver Platform/ARM/N1Sdp: Enable N1Sdp platform specific configurations Platform/ARM/N1Sdp: Configuration Manager for N1Sdp Platform/ARM/N1Sdp/N1SdpPlatform.dec | 100 + Silicon/ARM/NeoverseN1Soc/NeoverseN1Soc.dec | 35 +- .../ConfigurationManager.dsc.inc | 16 + Platform/ARM/N1Sdp/N1SdpPlatform.dsc | 38 +- Platform/ARM/N1Sdp/N1SdpPlatform.fdf | 22 +- .../ConfigurationManagerDxe.inf | 167 ++ .../N1Sdp/Drivers/PlatformDxe/PlatformDxe.inf | 48 + .../Library/PlatformLib/PlatformLib.inf | 28 +- .../ConfigurationManager.h | 307 +++ .../ConfigurationManagerDxe/Platform.h | 92 + Platform/ARM/N1Sdp/Include/N1SdpAcpiHeader.h | 35 + .../ARM/NeoverseN1Soc/Include/NeoverseN1Soc.h | 10 +- .../ConfigurationManager.c | 2197 +++++++++++++++++ .../ConfigurationManagerDxe/Hmat.c | 103 + .../N1Sdp/Drivers/PlatformDxe/PlatformDxe.c | 52 + .../PciHostBridgeLib/PciHostBridgeLib.c | 18 +- .../Library/PlatformLib/PlatformLib.c | 43 +- .../Library/PlatformLib/PlatformLibMem.c | 84 +- .../AslTables/Dsdt.asl | 477 ++++ .../AslTables/SsdtPci.asl | 247 ++ .../AslTables/SsdtRemotePci.asl | 156 ++ 21 files changed, 4231 insertions(+), 44 deletions(-) create mode 100644 Platform/ARM/N1Sdp/N1SdpPlatform.dec create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManager.dsc.inc create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf create mode 100644 Platform/ARM/N1Sdp/Drivers/PlatformDxe/PlatformDxe.inf create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Platform.h create mode 100644 Platform/ARM/N1Sdp/Include/N1SdpAcpiHeader.h create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Hmat.c create mode 100644 Platform/ARM/N1Sdp/Drivers/PlatformDxe/PlatformDxe.c 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 -- 2.17.1