peci_temp_read(9)
π peci_temp_read(9) β kernel API manual, bestie edition π
okay so we're diving into the PECI corner of the kernel, and this page is literally about reading the max die temp off a PECI target device π‘οΈβ¨ it's giving thermals, it's giving "how hot is this chip actually" β let's go π
πΈ NAME πΈ
peci_temp_read β read the maximum die temperature from a PECI target device π«Ά
β¨ SYNOPSIS β¨
int peci_temp_read (struct peci_device *device , s16 *temp_raw );
π ARGUMENTS π
deviceβ the PECI device that the request is going to be sent to π¨ like, this is your target, your main character, the one we're asking abouttemp_rawβ where to store the read temperature π this is the lil output spot, the container, the place the answer lands
π DESCRIPTION π
It uses the GetTemp PECI command. periodt. that's the whole vibe check β GetTemp is the PECI command doing the work here π₯
β RETURN β
0 if it succeeded π β anything else means errors, and ngl that's a "guess we're debugging" moment π
π¦ SEE ALSO π¦
- Kernel file
./drivers/peci/cpu.c peci_pcs_read(9)peci_pci_local_read(9)peci_ep_pci_local_read(9)peci_mmio_read(9)
go read those too bestie, they're all in the same friend group iykyk π
π no cap: 0 means slayed, any other value means error β don't ignore your return codes, they're telling you something π
okay that's the whole page, you ate that ππ this one lives in ./drivers/peci, and the little vibe stamp at the bottom of the original says October 2026 β iconic date, iconic directory, see you in the next manpage bestie πβ¨π«Ά
π¦ 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