STRUCT MC_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is the struct mc_priv(9) page from the Kernel API Manual, and it's literally the DDR memory controller's private instance data πŸ’– like, that's the whole vibe. no cap.


✨ SYNOPSIS ✨

the full struct is right here, untouched and iconic β€” do not come for the code, because the code ate:

       struct mc_priv {
           char message[256];
           struct ecc_status stat;
           u32 error_id;
           u32 error_level;
           u32 dwidth;
           u32 part_len;
           u32 regs[REG_MAX];
           u32 adec[ADEC_MAX];
           struct mem_ctl_info *mci[NUM_CONTROLLERS];
           struct rpmsg_endpoint *ept;
           struct cdx_mcdi *mcdi;
        };

πŸŽ€ Members πŸŽ€

  • message β€” the buffer for framing the event specific info; it's giving tiny stage for event tea πŸŽ€
  • stat β€” ECC status information, aka all the ECC tea β˜•
  • error_id β€” the error id, periodt πŸ‘‘
  • error_level β€” the error level, no cap πŸ’…
  • dwidth β€” width of the data bus, and ECC bits are literally not invited 🫢
  • part_len β€” the support of the message received β€” yep, that's the whole description, bestie, no extra lore 🫢
  • regs β€” the registers sent on the rpmsg, slay ✨
  • adec β€” address decode registers, iconic 🌈
  • mci β€” memory controller interface, the mci moment πŸ‘‘
  • ept β€” rpmsg endpoint, obviously πŸ’…
  • mcdi β€” the mcdi handle, fr fr πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ this page is from ./drivers/edac, dated October 2026, and it's for struct mc_priv(9) β€” periodt, bye bestie! 🫢✨

πŸ“¦ where this page comes from