STRUCT PECI_DEVICE(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms