{
  "slug": "hdm-decoder",
  "term": "Host-managed device memory decoder",
  "aliases": [
    "HDM decoder",
    "CXL HDM decoder"
  ],
  "definition": "An HDM decoder describes address ranges and interleaving used to route accesses to CXL device memory or translate them at an endpoint.",
  "status": "unknown",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "note": "In the Linux 6.17 decoder model, root and switch decoders route host physical addresses (HPA); endpoints translate them into device physical addresses (DPA). Root decoders represent platform memory windows and need not be separate hardware blocks. [c1]\n\nInterleave ways and granularity distribute addresses among targets. Root and switch settings describe their immediate downstream targets; endpoint and region settings describe the entire interleave set. These settings must be consistent, but need not be identical at every level. [c1]\n\nLinux 6.17 can expose /dev/daxN.Y for application-managed mmap() access or convert capacity to page-allocator memory through dax_kmem. [c2] The underlying memory may still be volatile. [c3]",
  "related": [
    "cxl-memory",
    "cxl-type-3-device",
    "dax",
    "byte-addressable-storage",
    "cxl-memory-pooling"
  ],
  "citations": [
    {
      "id": "c1",
      "title": "Linux 6.17: CXL Driver Operation, Decoders and Regions.",
      "url": "https://docs.kernel.org/6.17/driver-api/cxl/linux/cxl-driver.html",
      "accessed": "2026-10-27"
    },
    {
      "id": "c2",
      "title": "Linux 6.17: DAX Driver Operation, device DAX and dax_kmem.",
      "url": "https://docs.kernel.org/6.17/driver-api/cxl/linux/dax-driver.html",
      "accessed": "2026-10-27"
    },
    {
      "id": "c3",
      "title": "Linux 6.17: Devices and Protocols, CXL memory and Type-3 devices.",
      "url": "https://docs.kernel.org/6.17/driver-api/cxl/devices/device-types.html",
      "accessed": "2026-10-27"
    }
  ],
  "updated": "2026-11-16",
  "provenance": [
    "Decoder taxonomy follows the version-pinned Linux 6.17 driver model. Endpoint-only HPA-to-DPA translation is an explicit Linux assumption; this is not a universal platform support claim. [c1]",
    "The lifecycle field is unknown because a decoder mechanism has no independently established product lifecycle."
  ]
}
