fh_err_get_info(9)
π fh_err_get_info β the Kernel API Manual page, bestie edition π
okay so this is a page from the Kernel API Manual (fh_err_get_info(9)), and honestly it's giving "short but iconic." sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
fh_err_get_info β get platform error information.
and there's this little tag-along note attached to it: @queue id: 0 for guest error event queue 1 for global error event queue π«Ά like, that's the whole vibe of the queue situation right there.
πΈ SYNOPSIS πΈ
unsigned int fh_err_get_info (int queue , uint32_t *bufsize , uint32_t addr_hi , uint32_t addr_lo , int peek );
that's the whole signature, no cap. five things go in, an unsigned int comes out π
π¦ ARGUMENTS π¦
ngl bestie, the original page literally does not describe these π every single one says -- undescribed --. so I'm not gonna make stuff up (that's not the move), but here's the roster so you know who's on the cast list:
queueβ-- undescribed --(but heeey, remember the NAME section said0= guest error event queue,1= global error event queue π)bufsizeβ-- undescribed --addr_hiβ-- undescribed --addr_loβ-- undescribed --peekβ-- undescribed --
lowkey the manpage author left us on read for all five of these π but we respect the documented facts and nothing more, periodt.
π DESCRIPTION π
okay here's the actual tea β β this is a pointer to store the platform error data, and the platform error data is returned in registers r4 - r11. like, that's the whole bit. registers r4 through r11 are carrying the payload, bestie, main character energy fr fr π₯
and the return situation: it returns 0 for success, or an error code. so 0 = we ate, anything else = something went sideways π
π§ SEE ALSO π§
the kernel file in question is ./arch/powerpc/include/asm/fsl_hcalls.h, and here's the whole friend group of related calls β go say hi to all of them:
fh_send_nmi(9)fh_partition_get_dtprop(9)fh_partition_restart(9)fh_partition_get_status(9)fh_partition_start(9)fh_partition_stop(9)struct fh_sg_list(9)fh_partition_memcpy(9)fh_dma_enable(9)fh_dma_disable(9)fh_vmpic_get_msir(9)fh_system_reset(9)fh_get_core_state(9)fh_enter_nap(9)fh_exit_nap(9)fh_claim_device(9)
like, that's a whole squad π and yes, struct fh_sg_list(9) is in there too β structs can hang, we don't gatekeep π
<div align="center">π« and that's the page!! π«</div>
signing off with the receipts π«Ά: this one ships from the source/version line ./arch/powerpc/include/asm, dated October 2026, and it's filed under fh_err_get_info(9) forever and ever. slay, go read the docs, ily, bye!! πβ¨π
π¦ 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