__arm_smccc_smc(9)
β¨ NAME β¨
okay so bestie, welcome to __arm_smccc_smc(9) from the Kernel API Manual π«Άπ. The whole name-vibe is: __arm_smccc_smc β make SMC calls @a0-a7: arguments passed in registers 0 to 7 β¨.
π«Ά SYNOPSIS π«Ά
Here's the signature exactly as it is, no cap:
void __arm_smccc_smc (unsigned long a0 , unsigned long a1 , unsigned long a2 , unsigned long a3 , unsigned long a4 , unsigned long a5 , unsigned long a6 , unsigned long a7 , struct arm_smccc_res *res , struct arm_smccc_quirk *quirk );
π ARGUMENTS π
a0β the original is literally giving-- undescribed --, so that's all we know πa1β same energy, bestie:-- undescribed --π«a2β the docs said-- undescribed --and honestly they meant it πa3β yup,-- undescribed --again πΈa4β-- undescribed --, no extra lore, fr fr πa5β-- undescribed --, that's the whole tea πa6β-- undescribed --, the mystery continues π§a7β-- undescribed --, we stay guessing πresβ result values from registers 0 to 3 β¨quirkβ points to anarm_smccc_quirk, orNULLwhen no quirks are required π«Ά
π DESCRIPTION π
okay so this function is used to make SMC calls following the SMC Calling Convention β¨. The content of the supplied param gets copied to registers 0 to 7 before the SMC instruction does its thing π
. On the way back from the SMC instruction, the return values are updated with the content from register 0 to 3 π«Ά. And the optional quirk structure? It provides vendor specific behavior, periodt π.
π₯ SEE ALSO π₯
Kernel file ./include/linux/arm-smccc.h is where the header lore lives πβ¨.
arm_smccc_1_1_get_conduit(9)arm_smccc_get_version(9)arm_smccc_get_soc_id_version(9)arm_smccc_get_soc_id_revision(9)struct arm_smccc_res(9)struct arm_smccc_1_2_regs(9)arm_smccc_1_2_hvc(9)arm_smccc_1_2_smc(9)struct arm_smccc_quirk(9)__arm_smccc_hvc(9)
okay bye bestie π«Ά this page's source/version is ./include/linux, it's dated October 2026, and the manual page is __arm_smccc_smc(9) β you ate that, fr fr π
β¨
π¦ 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