Debian Codegraph @

Documentation/driver-api/cxl/platform/example-configurations/hb-interleave.rst

raw
1 .. SPDX-License-Identifier: GPL-2.0
2
3 ============================
4 Cross-Host-Bridge Interleave
5 ============================
6 This system has a single socket with two CXL host bridges. Each host bridge
7 has a single CXL memory expander with a 4GB of memory.
8
9 Things to note:
10
11 * Cross-Bridge interleave is described.
12 * The expanders are described by a single CFMWS.
13 * This SRAT describes one node for both host bridges.
14 * The HMAT describes a single node's performance.
15
16 :doc:`CEDT <../acpi/cedt>`::
17
18 Subtable Type : 00 [CXL Host Bridge Structure]
19 Reserved : 00
20 Length : 0020
21 Associated host bridge : 00000007
22 Specification version : 00000001
23 Reserved : 00000000
24 Register base : 0000010370400000
25 Register length : 0000000000010000
26
27 Subtable Type : 00 [CXL Host Bridge Structure]
28 Reserved : 00
29 Length : 0020
30 Associated host bridge : 00000006
31 Specification version : 00000001
32 Reserved : 00000000
33 Register base : 0000010380800000
34 Register length : 0000000000010000
35
36 Subtable Type : 01 [CXL Fixed Memory Window Structure]
37 Reserved : 00
38 Length : 002C
39 Reserved : 00000000
40 Window base address : 0000001000000000
41 Window size : 0000000200000000
42 Interleave Members (2^n) : 01
43 Interleave Arithmetic : 00
44 Reserved : 0000
45 Granularity : 00000000
46 Restrictions : 0006
47 QtgId : 0001
48 First Target : 00000007
49 Second Target : 00000006
50
51 :doc:`SRAT <../acpi/srat>`::
52
53 Subtable Type : 01 [Memory Affinity]
54 Length : 28
55 Proximity Domain : 00000001
56 Reserved1 : 0000
57 Base Address : 0000001000000000
58 Address Length : 0000000200000000
59 Reserved2 : 00000000
60 Flags (decoded below) : 0000000B
61 Enabled : 1
62 Hot Pluggable : 1
63 Non-Volatile : 0
64
65 :doc:`HMAT <../acpi/hmat>`::
66
67 Structure Type : 0001 [SLLBI]
68 Data Type : 00 [Latency]
69 Target Proximity Domain List : 00000000
70 Target Proximity Domain List : 00000001
71 Target Proximity Domain List : 00000002
72 Entry : 0080
73 Entry : 0100
74
75 Structure Type : 0001 [SLLBI]
76 Data Type : 03 [Bandwidth]
77 Target Proximity Domain List : 00000000
78 Target Proximity Domain List : 00000001
79 Target Proximity Domain List : 00000002
80 Entry : 1200
81 Entry : 0400
82
83 :doc:`SLIT <../acpi/slit>`::
84
85 Signature : "SLIT" [System Locality Information Table]
86 Localities : 0000000000000003
87 Locality 0 : 10 20
88 Locality 1 : FF 0A
89
90 :doc:`DSDT <../acpi/dsdt>`::
91
92 Scope (_SB)
93 {
94 Device (S0D0)
95 {
96 Name (_HID, "ACPI0016" /* Compute Express Link Host Bridge */) // _HID: Hardware ID
97 ...
98 Name (_UID, 0x07) // _UID: Unique ID
99 }
100 ...
101 Device (S0D5)
102 {
103 Name (_HID, "ACPI0016" /* Compute Express Link Host Bridge */) // _HID: Hardware ID
104 ...
105 Name (_UID, 0x06) // _UID: Unique ID
106 }
107 }