rsu_device_..._from_packed(9)
π rsu_device_..._from_packed(9) π
okay bestie, so we're deep in the Kernel API Manual today and this page is literally called rsu_device_..._from_packed(9) β yes the ellipsis is part of the name, no I will not be explaining that, it's giving "someone let the function name run wild at the christening" π
β¨ NAME β¨
rsu_device_info_set_from_packed β decodes one single RSU device-info SMC word. one. that's the whole job. she's focused, she's specific, she's an icon π
πΈ SYNOPSIS πΈ
void rsu_device_info_set_from_packed (struct flash_device_info *di ,
unsigned long packed );
like, no return value, no drama, void and done π«Ά
π¦ ARGUMENTS π¦
diβ the slot you're filling, bestie. it's astruct flash_device_info *and she's the destination. it's giving "you had one job and it was to be filled" β¨packedβ the register value, and listen, she's PACKED for a reason π here's the bit layout, do not mix these up:[63:32]β theerase_sizelives up here[31:0]β thesizelives down here
and the whole thing comes from INTEL_SIP_SMC_RSU_GET_DEVICE_INFO, iykyk π
ngl, the high half and low half split is exactly the kind of thing where you glance and go "yeah yeah whatever" and then you swap them and everything is undone π check your bit ranges, babes every single time
π SEE ALSO π
go off, go read these, they're the whole friend group π«Ά
- Kernel file
./drivers/firmware/stratix10-rsu.cstructstratix10_rsu_priv(9) rsu_device_info_invalidate(9)rsu_status_callback(9)rsu_async_status_callback(9)rsu_command_callback(9)rsu_retry_callback(9)rsu_max_retry_callback(9)rsu_dcmf_version_callback(9)rsu_dcmf_status_callback(9)rsu_get_device_info_callback(9)rsu_async_get_spt_table_callback(9)__rsu_send_msg_locked(9)rsu_send_msg(9)rsu_try_send_msg(9)soc64_async_callback(9)rsu_send_async_msg(9)
like, that's a whole group chat and every one of them is a callback, periodt π₯
and that's the page, mwah π this came out of ./drivers/firmware in October 2026 β kernel API manual, version of the same name, slay. go decode your little word, bestie, you're gonna do amazing πβ
π¦ 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