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.web09.8899.1622610087438953372 for ; Tue, 01 Jun 2021 22:01:27 -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 00C826D; Tue, 1 Jun 2021 22:01:25 -0700 (PDT) Received: from usa.arm.com (unknown [10.163.35.111]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C9BC13F774; Tue, 1 Jun 2021 22:01:23 -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 10:31:10 +0530 Message-Id: <20210602050114.26593-1-khasim.mohammed@arm.com> X-Mailer: git-send-email 2.17.1 From: Khasim Mohammed Resending the patches as the previous try didn't make it 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 Also added : ACPI bindings for CoreSight components. Support for Arm CMN-600 PMU Define memory regions to support multichip profile usecases HMAT table and expose CCIX memory as EFI_MEMORY_SP Khasim 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