rsu_try_send_msg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rsu_try_send_msg(9) β€” kernel API manual, bestie edition

okay so bestie, we're in the kernel API manual today and the star of the show is rsu_try_send_msg(9). she's the non-blocking variant of rsu_send_msg() and she is not about to wait around for anybody. main character energy fr fr πŸŽ€


✨ NAME ✨

rsu_try_send_msg β€” bestie's non-blocking variant of rsu_send_msg(). like, she tries, and if it's a no she's out. no waiting, no queuing, no drama ✨


🌸 SYNOPSIS 🌸

int rsu_try_send_msg (struct stratix10_rsu_priv *priv , enum
stratix10_svc_command_code command , unsigned long arg , rsu_callback
callback );

that's the whole vibe. four things in, one int out. slay πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • priv β€” pointer to the rsu private data. it's giving "the personal stash" 🫢
  • command β€” the RSU status or update command. so like, enum stratix10_svc_command_code β€” are we checking in, or are we updating? πŸ‘€
  • arg β€” the request argument, aka the bitstream address or notify status. depends on the mood of the call πŸŽ€
  • callback β€” function pointer for the callback (status or update). she'll call you back, no cap πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

literally the same as rsu_send_msg but β€” and this is the entire personality β€” she returns -EBUSY immediately when another RSU operation is already in flight, instead of waiting for the lock. not her waiting in the queue era anymore πŸ’€

ngl this is the iconique part: no blocking, no sitting around. if the RSU is busy she just says so right away. polite? maybe not. efficient? absolutely. πŸ‘‘

and the return values, bestie:

  • returns 0 on success β€” we ate πŸ“
  • -EBUSY if the RSU is busy β€” she's booked, try later πŸ™ˆ
  • or another negative errno on failure β€” the generic "it went wrong" experience 😭

⭐ SEE ALSO ⭐

the kernel file, because obviously you gotta read the source:

  • ./drivers/firmware/stratix10-rsu.c

and the whole friend group 🫢:


πŸ’œ that's the whole page, bestie. go forth and not block. iykyk.

✨ mwah ✨ this lil page lives over in ./drivers/firmware (that's the source/version vibe πŸŽ€), dated October 2026, and yes the section is rsu_try_send_msg(9). k bye love u, drink water πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from