File: memory-hierarchy.rst

package info (click to toggle)
skiboot 7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 35,624 kB
  • sloc: ansic: 221,198; sh: 11,580; cpp: 5,767; python: 3,421; makefile: 1,773; asm: 1,503; perl: 1,479; tcl: 1,188; pascal: 107
file content (26 lines) | stat: -rw-r--r-- 910 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
P9 memory hierarchy
-------------------
P9 Nimbus supports direct attached DDR memory through 4 DDR ports per side
of the processor. Device tree contains memory hierarchy so that one can
traverse from chip to DIMM like below:

  xscom@<addr>/mcbist@<mcbist_id>/mcs@<mcs_id>/mca@<mca_id>/dimm@<resource_id>

Example of dimm node:

.. code-block:: dts

    dimm@d00e {
            memory-id = <0xc>; /* DRAM Device Type. 0xc = DDR4 */
            product-version = <0x32>; /* Module Revision Code */
            device_type = "memory-dimm-ddr4";
            serial-number = <0x15d9ad1c>;
            status = "okay";
            size = <0x4000>;
            phandle = <0xd2>;
            ibm,loc-code = "UOPWR.0000000-Node0-DIMM14";
            part-number = "36ASF2G72PZ-2G6B2   ";
            reg = <0xd00e>;
            manufacturer-id = <0x802c>; /* Vendor ID, we can get vendor name from this ID */
    };