# Cross-Host-Bridge Interleave

_Peios Kernel / Hardware and drivers / Driver development / cxl: platform: example-configurations_

> This system has a single socket with two CXL host bridges. Each host bridge has a single CXL memory expander with a 4GB of memory.

<a id="rst-cross-host-bridge-interleave"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

This system has a single socket with two CXL host bridges. Each host bridge has a single CXL memory expander with a 4GB of memory.

Things to note:

- Cross-Bridge interleave is described.

- The expanders are described by a single CFMWS.

- This SRAT describes one node for both host bridges.

- The HMAT describes a single node's performance.

[CEDT](</kernel/hardware/driver-api/cxl-platform-acpi/cedt.md>):



```text
           Subtable Type : 00 [CXL Host Bridge Structure]
                Reserved : 00
                  Length : 0020
  Associated host bridge : 00000007
   Specification version : 00000001
                Reserved : 00000000
           Register base : 0000010370400000
         Register length : 0000000000010000

           Subtable Type : 00 [CXL Host Bridge Structure]
                Reserved : 00
                  Length : 0020
  Associated host bridge : 00000006
   Specification version : 00000001
                Reserved : 00000000
           Register base : 0000010380800000
         Register length : 0000000000010000

           Subtable Type : 01 [CXL Fixed Memory Window Structure]
                Reserved : 00
                  Length : 002C
                Reserved : 00000000
     Window base address : 0000001000000000
             Window size : 0000000200000000
Interleave Members (2^n) : 01
   Interleave Arithmetic : 00
                Reserved : 0000
             Granularity : 00000000
            Restrictions : 0006
                   QtgId : 0001
            First Target : 00000007
           Second Target : 00000006
```

[SRAT](</kernel/hardware/driver-api/cxl-platform-acpi/srat.md>):



```text
        Subtable Type : 01 [Memory Affinity]
               Length : 28
     Proximity Domain : 00000001
            Reserved1 : 0000
         Base Address : 0000001000000000
       Address Length : 0000000200000000
            Reserved2 : 00000000
Flags (decoded below) : 0000000B
            Enabled : 1
      Hot Pluggable : 1
       Non-Volatile : 0
```

[HMAT](</kernel/hardware/driver-api/cxl-platform-acpi/hmat.md>):



```text
              Structure Type : 0001 [SLLBI]
                   Data Type : 00   [Latency]
Target Proximity Domain List : 00000000
Target Proximity Domain List : 00000001
Target Proximity Domain List : 00000002
                       Entry : 0080
                       Entry : 0100

              Structure Type : 0001 [SLLBI]
                   Data Type : 03   [Bandwidth]
Target Proximity Domain List : 00000000
Target Proximity Domain List : 00000001
Target Proximity Domain List : 00000002
                       Entry : 1200
                       Entry : 0400
```

[SLIT](</kernel/hardware/driver-api/cxl-platform-acpi/slit.md>):



```text
   Signature : "SLIT"    [System Locality Information Table]
  Localities : 0000000000000003
Locality   0 : 10 20
Locality   1 : FF 0A
```

[DSDT](</kernel/hardware/driver-api/cxl-platform-acpi/dsdt.md>):



```text
Scope (_SB)
{
  Device (S0D0)
  {
      Name (_HID, "ACPI0016" /* Compute Express Link Host Bridge */)  // _HID: Hardware ID
      ...
      Name (_UID, 0x07)  // _UID: Unique ID
  }
  ...
  Device (S0D5)
  {
      Name (_HID, "ACPI0016" /* Compute Express Link Host Bridge */)  // _HID: Hardware ID
      ...
      Name (_UID, 0x06)  // _UID: Unique ID
  }
}
```
