peci_mmio_read(9)
π peci_mmio_read (9) β Kernel API Manual, but make it slay π
okay so bestie, welcome to the peci_mmio_read page β¨ this is a kernel API manual page, and it's genuinely so useful β let me put you on real quick π«Ά
πΈ NAME πΈ
peci_mmio_read β read a 32-bit memory location using a 64-bit bar offset address π
π SYNOPSIS π
int peci_mmio_read (struct peci_device *device , u8 bar , u8 seg , u8
bus , u8 dev , u8 func , u64 address , u32 *data );
literally that's the whole signature, keep it exactly like that, no cap π
π¦ ARGUMENTS π¦
deviceβ the PECI device that this request is going to be sent to π¨barβ PCI barsegβ PCI segmentbusβ busdevβ devicefuncβ functionaddressβ the 64-bit MMIO addressdataβ where you store the read data π
β¨ DESCRIPTION β¨
So what does it actually do? It uses the RdEndpointConfig PECI command. that's the vibe. that's the whole description. iconic of it honestly π
π RETURN π
0if it succeeded π- other values in case of errors π
π SEE ALSO π
Kernel file ./drivers/peci/cpu.c, plus these little besties:
π«Ά quick reminder bestie: every flag, arg, value, and path above is exactly as it appears in the real page β no β¨creative libertiesβ¨ taken with the technical bits π
and that's the whole page, fr fr π¦ this one lives in ./drivers/peci and its date stamp is October 2026 β and remember, it's peci_mmio_read(9), the main character of its own footer π matter of fact, go read peci_temp_read(9) next, iykyk π₯
π¦ 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