rtas_busy_delay_time(9)
π rtas_busy_delay_time β a Kernel API Manual moment (section 9, bestie)
okay so this is rtas_busy_delay_time, and honestly? it does exactly one tiny little thing and it does it flawlessly. no notes. the icon behavior. β¨
Basically: you hand it an RTAS status value, and it hands you back the suggested delay time in milliseconds. that's it. that's the whole vibe. π
πΈ SYNOPSIS
unsigned int rtas_busy_delay_time (int status );
π«Ά ARGUMENTS
statusβ a value that came back fromrtas_callor some similar API that returns the status of an RTAS function call. it's giving "receipts from the firmware." keep it exactly as you got it, don't be weird about it. π
π¦ CONTEXT
Any context. literally any. no restrictions, no dress code, main character energy across the board. π
π₯ RETURN
here's the tea, and it's a whole lookbook of numbers:
100000β ifstatusis9905. huge delay. massive. we're waiting a whole 100 seconds. π10000β ifstatusis9904. ten seconds of patience, bestie.1000β ifstatusis9903. one second. cute.100β ifstatusis9902. a lil 100 ms moment.10β ifstatusis9901. blink and it's done.1β ifstatusis either9900or-2.β οΈ lowkey this one is "wrong" for-2, but some callers literally depend on this behavior, so we keep it. the absolute worst case is that they delay for longer than necessary. no cap, that's the entire consequence. π«Ά0β ifstatusis not a busy or extended delay value. so like, not our problem, zero ms, moving on. β¨
ngl the -2 thing is a legacy vibe we're all just respecting at this point. do not "fix" it, do not come for it, it's load-bearing. π
π SEE ALSO
Kernel file ./arch/powerpc/kernel/rtas.c + the whole friend group: struct rtas_function(9), rtas_function_token(9), rtas_call_unlocked(9), rtas_call(9), rtas_busy_delay(9), rtas_ibm_suspend_me(9), rtas_activate_firmware(9), get_pseries_errorlog(9). go say hi to all of them. π
and that's the page! π sourced from ./arch/powerpc/kernel, dated October 2026, and living comfortably in the Kernel API Manual. 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