do_fw_call_hvc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… do_fw_call_hvc(9) β€” the kernel API manual, but make it make sense

okay so bestie, welcome to the manual page for do_fw_call_hvc, coming at you straight from the Kernel API Manual. this is the HVC flavour of the firmware-call life, and yes, there's a whole family of these, don't worry, we'll get to the ~SEE ALSO~ section and you will be fed. πŸ“


✨ NAME ✨

do_fw_call_hvc β€” Call system-level platform management layer (HVC)

like, it rings the doorbell of the platform management layer. via HVC. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

int do_fw_call_hvc (u32 *ret_payload , u32 num_args , ... );

look at her. int going in, arguments coming out. iconic signature tbh. πŸ’…


✨ ARGUMENTS ✨

  • ret_payload β€” Returned value array. this is where the good stuff comes back to you, bestie. it's a pointer, so she writes into your array, she doesn't hand you a new one. 🫢
  • num_args β€” Number of variable arguments should be <= 8. yes, eight is the cap, do not test her. πŸ™ˆ
  • ... β€” variable arguments. the little ... that could. that's it, that's the argument.

✨ DESCRIPTION ✨

Invoke platform management function via HVC HVC-based for communication through hypervisor (no direct communication with ATF).

okay so translate: you're going through the hypervisor with this one. this is the HVC route, which means it is not talking straight to ATF β€” no direct communication with ATF, periodt. if you wanted the direct line, that's a whole other function (spoiler: it's in SEE ALSO, keep scrolling 😭). πŸ”₯


✨ RETURN ✨

Returns status, either success or error+reason.

that's the whole return story β€” success, or error plus a reason. so when it fails you actually get told why, which honestly? more than most people give you. πŸ‘‘


✨ SEE ALSO ✨

grab a snack, this list is long and it's giving extended universe. 🌈

Kernel file ./drivers/firmware/xilinx/zynqmp.c, plus:

that's the whole friend group right there. no cap. πŸ¦‹


heads up bestie: this page lives under ./drivers/firmware/xilinx, and it's dated October 2026 β€” so yes, she's from the future. act accordingly. ✨

and that's the page! mwah πŸ’– stay hydrated, read your SEE ALSOs, and remember: <= 8 args. always. 🧚

πŸ“¦ where this page comes from