This patch series is about enabling CXL-Type3 capability on Arm reference
design platform.
* Designated 8GB address space is reserved and configured for using as extended
CXL memory.
* During PCIe enumeration process, a CXL device with DOE capability is looked
for. Once discovered, using DOE method CDAT information is fetched and
details like CXL device memory range, memory type collected.
* Thereafter using a registered notifier, SRAT and HMAT tables are updated with
remote CXL memory information.
These additions will enable CXL.Memory device to be used as memory expander on
Arm Reference Design platform.
Link to the branch with this patch series -
https://gitlab.arm.com/infra-solutions/reference-design/platsw/edk2-platforms/-/tree/topics/cxl_v2
Sayanta Pattanayak (4):
Platform/Sgi: add remote memory descriptor
Platform/Sgi: prepare SRAT, HMAT table
Platform/ARM: add CXL driver
Platform/Sgi: add CXL driver support
Platform/ARM/Drivers/CxlDxe/CxlDxe.dec | 21 +
Platform/ARM/SgiPkg/SgiPlatform.dec | 8 +
Platform/ARM/SgiPkg/SgiPlatform.dsc.inc | 12 +
Platform/ARM/SgiPkg/RdN2Cfg1/RdN2Cfg1.dsc | 7 +
Platform/ARM/SgiPkg/SgiPlatform.fdf | 14 +-
Platform/ARM/Drivers/CxlDxe/CxlDxe.inf | 50 ++
Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/AcpiTableGenerator.inf | 68 +++
Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.inf | 4 +
Platform/ARM/Drivers/CxlDxe/CxlDxe.h | 163 ++++++
Platform/ARM/Include/Protocol/Cxl.h | 62 +++
Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/AcpiTableGenerator.h | 39 ++
Platform/ARM/Drivers/CxlDxe/CxlDxe.c | 575 ++++++++++++++++++++
Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/AcpiTableGenerator.c | 106 ++++
Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/HmatTableGenerator.c | 120 ++++
Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/SratTableGenerator.c | 312 +++++++++++
Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLibMem.c | 19 +-
16 files changed, 1577 insertions(+), 3 deletions(-)
create mode 100644 Platform/ARM/Drivers/CxlDxe/CxlDxe.dec
create mode 100644 Platform/ARM/Drivers/CxlDxe/CxlDxe.inf
create mode 100644 Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/AcpiTableGenerator.inf
create mode 100644 Platform/ARM/Drivers/CxlDxe/CxlDxe.h
create mode 100644 Platform/ARM/Include/Protocol/Cxl.h
create mode 100644 Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/AcpiTableGenerator.h
create mode 100644 Platform/ARM/Drivers/CxlDxe/CxlDxe.c
create mode 100644 Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/AcpiTableGenerator.c
create mode 100644 Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/HmatTableGenerator.c
create mode 100644 Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/SratTableGenerator.c
--
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109488): https://edk2.groups.io/g/devel/message/109488
Mute This Topic: https://groups.io/mt/101872993/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-