[edk2-devel] [edk2-platforms][PATCH v1 4/4] Platform/Sgi: add CXL driver support

Sayanta Pattanayak sayanta.pattanayak at arm.com
Tue Oct 10 11:38:29 UTC 2023


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.pattanayak at 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/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list