amd_hfi_online(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to amd_hfi_online(9) from the Kernel API Manual β€” this is the page where we enable workload classification on a CPU, and yes, the group chat is hyped πŸ’–.

🌸 NAME 🌸

amd_hfi_online β€” Enable workload classification on @cpu. That’s the whole assignment, and it ate ✨.

✨ SYNOPSIS ✨

int amd_hfi_online (unsigned int cpu );

πŸŽ€ ARGUMENTS πŸŽ€

  • cpu β€” the CPU in which the workload classification will be enabled. Like, that’s the specific CPU getting the glow-up πŸ’….

πŸ”₯ RETURN πŸ”₯

0 on success, negative error code on failure. No cap: success is literally 0, failure is a negative error code 😭.

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/platform/x86/amd/hfi/hfi.c
  • struct amd_shmem_info(9)
  • struct amd_hfi_classes(9)
  • struct amd_hfi_cpuinfo(9)
  • amd_hfi_offline(9)

These are the linked besties β€” go click around, iykyk πŸ‘‘.


Cute sign-off: source/version ./drivers/platform/x86/amd/hfi, dated October 2026, and the page is still amd_hfi_online(9) πŸ’…πŸ«Ά.

πŸ“¦ where this page comes from