svc_normal_to_secure_thread(9)
π svc_normal_to_secure_thread(9) β Kernel API Manual, bestie edition π
okay so we're in the Kernel API Manual, and this page is giving βtiny kthread function with main character energyβ β¨
πΈ NAME πΈ
svc_normal_to_secure_thread β the function to run in the kthread π§
β¨ SYNOPSIS β¨
int svc_normal_to_secure_thread (void *data );
π ARGUMENTS π
dataβ data pointer for kthread function. literally handing the kthread its littledatapointer π«Ά
π¦ DESCRIPTION π¦
okay so picture this: the service layer driver creates the stratix10_svc_smc_hvc_call kthread on CPU node 0 β yes, that exact vibe β and its function stratix10_svc_secure_call_thread is the one used to handle SMC or HVC calls between the kernel driver and the secure monitor software. no cap, that's the whole glow-up of this function β¨
β RETURN β
0 for success or -ENOMEM on error. that's it, bestie π
π SEE ALSO π
Kernel file ./drivers/firmware/stratix10-svc.c is the home base for these icons:
SVC_NUM_DATA_IN_FIFO(9)struct stratix10_svc(9)struct stratix10_svc_sh_memory(9)struct stratix10_svc_data_mem(9)struct stratix10_svc_data(9)struct stratix10_svc_async_handler(9)struct stratix10_async_chan(9)struct stratix10_async_ctrl(9)struct stratix10_svc_chan(9)struct stratix10_svc_controller(9)svc_pa_to_va(9)svc_thread_cmd_data_claim(9)svc_thread_cmd_config_status(9)svc_thread_recv_status_ok(9)svc_normal_to_secure_shm_thread(9)svc_get_sh_memory(9)svc_create_memory_pool(9)svc_smccc_smc(9)svc_smccc_hvc(9)svc_smccc_1_2_full(9)get_invoke_func(9)stratix10_svc_request_channel_byname(9)stratix10_svc_add_async_client(9)stratix10_svc_remove_async_client(9)stratix10_svc_async_send(9)stratix10_svc_async_prepare_response(9)stratix10_svc_async_poll(9)stratix10_svc_async_done(9)stratix10_svc_async_init(9)stratix10_svc_async_exit(9)stratix10_svc_free_channel(9)stratix10_svc_send(9)stratix10_svc_done(9)stratix10_svc_allocate_memory(9)stratix10_svc_free_memory(9)
okay that's the tea β β source/version: ./drivers/firmware, date: October 2026, and this iconic page is svc_normal_to_secure_thread(9). stay slay, bestie πβ¨
π¦ 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