STRUCT PECI_DEVICE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’– β€” struct peci_device(9) from the Kernel API Manual

struct peci_device β€” PECI device. That's the NAME section, bestie, and yes this is the Kernel API Manual page for it β€” stay with me, the struct lore is lowkey important πŸ’…βœ¨

🌈 SYNOPSIS 🌈

       struct peci_device {
           struct device dev;
           struct {
             u32 x86_vfm;
             u8 peci_revision;
             u8 socket_id;
           } info;
           u8 addr;
           bool deleted;
        };

🌸 Members 🌸

Okay bestie, here's the member-by-member vibe check πŸ‘‘

  • dev β€” the device object you register the PECI device to in the device model, no cap.
  • info β€” PECI device characteristics, aka the lil' info bundle.
    • info.x86_vfm β€” the device vendor-family-model. yep, all three in one field, iconic.
    • info.peci_revision β€” the PECI revision supported by the PECI device.
    • info.socket_id β€” the socket ID represented by the PECI device.
  • addr β€” the address used on the PECI bus connected to the parent controller.
  • deleted β€” indicates that the PECI device was already deleted. so it's giving "already gone, bestie" πŸ’€

πŸ¦‹ Description πŸ¦‹

A peci_device identifies a single device (i.e. CPU) connected to a PECI bus β€” one CPU, one lil' main character on the bus 🌟. The behaviour exposed to the rest of the system is defined by the PECI driver managing the device. fr fr, the driver is the one steering the vibe here.

πŸŽ€ SEE ALSO πŸŽ€

  • Kernel file ./include/linux/peci.h β€” go read it bestie πŸ“–
  • struct peci_controller_ops(9)
  • struct peci_controller(9)
  • struct peci_request(9)

mwah πŸ’‹ this cutie lives under ./include/linux and is dated October 2026, and it's the struct peci_device(9) page β€” bye bestie, go slay your PECI bus 🫢✨

πŸ“¦ where this page comes from