14cdadfd5SDan Williams.. SPDX-License-Identifier: GPL-2.0 24cdadfd5SDan Williams.. include:: <isonum.txt> 34cdadfd5SDan Williams 44cdadfd5SDan Williams=================================== 54cdadfd5SDan WilliamsCompute Express Link Memory Devices 64cdadfd5SDan Williams=================================== 74cdadfd5SDan Williams 84cdadfd5SDan WilliamsA Compute Express Link Memory Device is a CXL component that implements the 94cdadfd5SDan WilliamsCXL.mem protocol. It contains some amount of volatile memory, persistent memory, 104cdadfd5SDan Williamsor both. It is enumerated as a PCI device for configuration and passing 114cdadfd5SDan Williamsmessages over an MMIO mailbox. Its contribution to the System Physical 124cdadfd5SDan WilliamsAddress space is handled via HDM (Host Managed Device Memory) decoders 134cdadfd5SDan Williamsthat optionally define a device's contribution to an interleaved address 144cdadfd5SDan Williamsrange across multiple devices underneath a host-bridge or interleaved 154cdadfd5SDan Williamsacross host-bridges. 168adaf747SBen Widawsky 178adaf747SBen WidawskyDriver Infrastructure 188adaf747SBen Widawsky===================== 198adaf747SBen Widawsky 208adaf747SBen WidawskyThis section covers the driver infrastructure for a CXL memory device. 218adaf747SBen Widawsky 228adaf747SBen WidawskyCXL Memory Device 238adaf747SBen Widawsky----------------- 248adaf747SBen Widawsky 258adaf747SBen Widawsky.. kernel-doc:: drivers/cxl/mem.c 268adaf747SBen Widawsky :doc: cxl mem 278adaf747SBen Widawsky 288adaf747SBen Widawsky.. kernel-doc:: drivers/cxl/mem.c 298adaf747SBen Widawsky :internal: 30b39cb105SDan Williams 31*5f653f75SDan WilliamsCXL Core 32b39cb105SDan Williams------- 33*5f653f75SDan Williams.. kernel-doc:: drivers/cxl/core.c 34*5f653f75SDan Williams :doc: cxl core 35583fa5e7SBen Widawsky 36583fa5e7SBen WidawskyExternal Interfaces 37583fa5e7SBen Widawsky=================== 38583fa5e7SBen Widawsky 39583fa5e7SBen WidawskyCXL IOCTL Interface 40583fa5e7SBen Widawsky------------------- 41583fa5e7SBen Widawsky 42583fa5e7SBen Widawsky.. kernel-doc:: include/uapi/linux/cxl_mem.h 43583fa5e7SBen Widawsky :doc: UAPI 44583fa5e7SBen Widawsky 45583fa5e7SBen Widawsky.. kernel-doc:: include/uapi/linux/cxl_mem.h 46583fa5e7SBen Widawsky :internal: 47