rtas_call_unlocked(9)
β¨ rtas_call_unlocked(9) β¨
okay so this is a page from the Kernel API Manual bestie, and it's all about rtas_call_unlocked β a little function that goes and pokes RTAS firmware without doing the whole synchronization thing π
π NAME π
rtas_call_unlocked β literally invoke an RTAS firmware function without synchronization, no cap π«Ά
πΈ SYNOPSIS πΈ
void rtas_call_unlocked (struct rtas_args *args , int token , int nargs
, int nret , ... );
π¦ ARGUMENTS π¦
argsβ the RTAS parameter block that's gonna be used for the call. it's giving "must obey RTAS addressing constraints" energy, so like, respect that fr fr πtokenβ identifies which function is being invoked. iykyk β¨nargsβ how many input parameters there are. does not include the token, bestie, keep that separate πnretβ how many output parameters there are, and yes that count does include the call status π...β the actual list ofnargsinput parameters. slay π
π DESCRIPTION π
so what it does is invoke the RTAS function indicated by token, and the caller should get that token via rtas_function_token. iconic behavior, no notes β
it's similar to rtas_call, but here's the tea: you can only use this one with a limited set of RTAS calls that are specifically exempted from the general requirement that only one RTAS call may be in progress at any time. like, that's the whole rule and these calls are the special exceptions π§
examples include stop-self and ibm,nmi-interlock β those two are the main character exceptions π
π₯ SEE ALSO π₯
- Kernel file
./arch/powerpc/kernel/rtas.c struct rtas_function(9)rtas_function_token(9)rtas_call(9)rtas_busy_delay_time(9)rtas_busy_delay(9)rtas_ibm_suspend_me(9)rtas_activate_firmware(9)get_pseries_errorlog(9)
okay that's the whole page, go forth and call your firmware responsibly π
<cute sign-off>mwah π this came from ./arch/powerpc/kernel and it's dated October 2026 β see u then, bestie πβ¨</cute sign-off>
π¦ 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