firmware_request_cache(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

firmware_request_cache(9) 🫢 Kernel API Manual

Okay bestie, this is the firmware_request_cache(9) page from the Kernel API Manual β€” and yes, it’s giving β€œtiny firmware helper with big resume energy” ✨

πŸ’– NAME πŸ’–

firmware_request_cache β€” cache firmware for suspend so resume can use it

🌸 SYNOPSIS 🌸

int firmware_request_cache (struct device *device , const char *name );

πŸŽ€ ARGUMENTS πŸŽ€

  • device β€” device for which firmware should be cached for 🫢
  • name β€” name of firmware file πŸ“

πŸ’… DESCRIPTION πŸ’…

So some devices have this optimization that enables the device to not require loading firmware on system reboot. Iconic, honestly. But that optimization may still require the firmware present on resume from suspend.

That’s where this routine comes in: you can use it to ensure the firmware is present on resume from suspend in these situations. Basically a little β€œkeep it warm for resume” moment πŸ”₯

🚨 Important compatibility tea: this helper is not compatible with drivers which use request_firmware_into_buf or request_firmware_nowait with no uevent set. Not a vibe, just the rules.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/base/firmware_loader/main.c β€” plus the whole squad:


Source/version ./drivers/base/firmware_loader, date October 2026, page firmware_request_cache(9) β€” okay that’s the whole thing, bestie. Stay cached, stay iconic πŸ’–βœ¨πŸ‘‘

πŸ“¦ where this page comes from