public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [edk2-platforms][PATCH v1 0/4] add support for enabling cxl-type3 device as memory expander on Arm/RD platform
@ 2023-10-10 11:38 Sayanta Pattanayak
  2023-10-10 11:38 ` [edk2-devel] [edk2-platforms][PATCH v1 1/4] Platform/Sgi: add remote memory descriptor Sayanta Pattanayak
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sayanta Pattanayak @ 2023-10-10 11:38 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Sami Mujawar

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/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-10 11:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-10 11:38 [edk2-devel] [edk2-platforms][PATCH v1 0/4] add support for enabling cxl-type3 device as memory expander on Arm/RD platform Sayanta Pattanayak
2023-10-10 11:38 ` [edk2-devel] [edk2-platforms][PATCH v1 1/4] Platform/Sgi: add remote memory descriptor Sayanta Pattanayak
2023-10-10 11:38 ` [edk2-devel] [edk2-platforms][PATCH v1 2/4] Platform/Sgi: prepare SRAT, HMAT table Sayanta Pattanayak
2023-10-10 11:38 ` [edk2-devel] [edk2-platforms][PATCH v1 3/4] Platform/ARM: add CXL driver Sayanta Pattanayak
2023-10-10 11:38 ` [edk2-devel] [edk2-platforms][PATCH v1 4/4] Platform/Sgi: add CXL driver support Sayanta Pattanayak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox