Skip to content
Commit 2ffe68de authored by Sayanta Pattanayak's avatar Sayanta Pattanayak
Browse files

Platform/ARM: add CXL driver



This patch introduces CXL Dxe, which primarily discovers a PCIe device
with CXL capability and configures the same.

This patch creates and registers event notifier based on
gEfiPciEnumerationCompleteProtocolGuid. Once PCIe enumeration is
completed then CXL Dxe triggers function to discover CXL capable device
with memory expander capability and reads out memory range details.

In addition to find out a PCIe device with CXL Mem extended capability,
the module also looks for CXL device with DOE capability. Once DOE
capability is found, then execute DOE operation to fetch CDAT
structures(DSMAS), which carry information about CXL Device Memory
range, type of memory etc. It stores the remote CXL memory details in
local data structure.

Later it installs CXL Protocol interface, which will trigger
AcpiTableGenerator module to fetch CXL memory details using CXL protocol
interfaces for preparation of ACPI tables.

Signed-off-by: Sayanta Pattanayak's avatarSayanta Pattanayak <sayanta.pattanayak@arm.com>
Change-Id: I612ed13b6a6bdb27d8ed4ced87f72a33dbbcc4b4
parent 9fd074cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment