rtas_busy_delay(9)
π rtas_busy_delay: the Kernel API Manual bestie briefing π
okay so real talk, this one is straight out of the Kernel API Manual and it's lowkey one of the most useful little helpers in the powerpc/RTAS corner of the kernel. the name is rtas_busy_delay and honestly? it's giving "designated driver for your RTAS calls" energy. π¦
β¨ NAME β¨
rtas_busy_delay β the helper for RTAS busy and extended delay statuses. yes, both. she multitasks. π
πΈ SYNOPSIS πΈ
bool __ref rtas_busy_delay (int status );
that's it. one arg, one bool back, and __ref in there because she lives in a special section. no cap. β
π ARGUMENTS π
statusβ a value you got back fromrtas_callor similar APIs that return the status of a RTAS function call. like, literally hand her the status the firmware gave you and she'll do the vibe check on it. π«Ά
π CONTEXT π
Process context. she may sleep or schedule, so do NOT roll up with this in atomic context, bestie. she needs room to nap. π΄
π₯ RETURN π₯
trueβ the status isRTAS_BUSYor an extended delay hint. you may assume the CPU has been yielded if necessary, and that an appropriate delay forstatushas elapsed. generally? you should reattempt the RTAS call which yieldedstatus. she did the waiting so you don't have to, slay. β¨
π DESCRIPTION π
falseβ the status is neitherRTAS_BUSYnor an extended delay hint. you're responsible for handlingstatusyourself now. she's off the clock for this one, it's your main character moment. π
fr fr, thetruebullet lives under RETURN and thefalsebullet lives under DESCRIPTION in the original and honestly? quirky layout, but we respect her choices. both bullets are here, nothing lost. π
π SEE ALSO π
Kernel file ./arch/powerpc/kernel/rtas.c β go read the source, iykyk:
struct rtas_function(9)rtas_function_token(9)rtas_call_unlocked(9)rtas_call(9)rtas_busy_delay_time(9)rtas_ibm_suspend_me(9)rtas_activate_firmware(9)get_pseries_errorlog(9)
go be obsessed with the whole squad, they're all iconic. π§
and that's the whole page, bestie π β brought to you from ./arch/powerpc/kernel, dated October 2026, and yes the date is in the future, don't ask, it's a whole thing. mwah ππΈ
π¦ 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