CxlDxe discovers CXL capable device with memory expander capability
and reads out memory range details. Platform drivers fetch the remote
memory details and include as part of system memory through ACPI
tables.

Signed-off-by: Sayanta Pattanayak <sayanta.pattana...@arm.com>
---
 Platform/ARM/SgiPkg/SgiPlatform.dsc.inc |  1 +
 Platform/ARM/SgiPkg/SgiPlatform.fdf     | 11 ++++++++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc 
b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
index fbe5b0b705..d1d833d9e6 100644
--- a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
+++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
@@ -314,6 +314,7 @@
   # SRAT/HMAT Table generator
   #
 !if $(EDK2_ENABLE_REMOTE_CXL_MEM) == TRUE
+  edk2-platforms/Platform/ARM/Drivers/CxlDxe/CxlDxe.inf
   Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/AcpiTableGenerator.inf
 !endif
 
diff --git a/Platform/ARM/SgiPkg/SgiPlatform.fdf 
b/Platform/ARM/SgiPkg/SgiPlatform.fdf
index b1a227f22e..ae48719979 100644
--- a/Platform/ARM/SgiPkg/SgiPlatform.fdf
+++ b/Platform/ARM/SgiPkg/SgiPlatform.fdf
@@ -194,10 +194,15 @@ READ_LOCK_STATUS   = TRUE
   INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
   INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
 
-  #
-  # SRAT/HMAT Table generator
-  #
 !if $(EDK2_ENABLE_REMOTE_CXL_MEM) == TRUE
+  #
+  # Cxl Device driver
+  #
+  INF edk2-platforms/Platform/ARM/Drivers/CxlDxe/CxlDxe.inf
+
+  #
+  # SRAT/HMAT Table generator
+  #
   INF Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/AcpiTableGenerator.inf
 !endif
 
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109492): https://edk2.groups.io/g/devel/message/109492
Mute This Topic: https://groups.io/mt/101872997/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to