acpi_storage_d3(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ acpi_storage_d3 ✨

okay so this is a page straight out of the Kernel API Manual, and the main character is acpi_storage_d3(9) πŸ’… she's little but she matters, fr fr.


πŸŽ€ NAME πŸŽ€

acpi_storage_d3 β€” check if D3 should be used in the suspend path 🫢


🌸 SYNOPSIS 🌸

bool acpi_storage_d3 (struct device *dev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device to check. that's literally it, one (1) argument, and she's doing her best πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

So here's the tea, bestie: this function returns true if the platform firmware wants dev to be programmed into D3hot or D3cold (if supported) in the suspend path. and it returns false when there is no specific preference at all. no opinion, no thoughts, head empty 🌸

But like β€” listen β€” on some platforms, if this hint is ignored? dev may remain unresponsive after suspending the platform as a whole. 😭 not the device ghosting you after a suspend. that's genuinely the nightmare scenario, so pls respect the hint.

πŸ’€ also, plot twist: even though the property has storage in the name, it actually gets applied to the PCIe slot. so if you plug a non-storage device in there, the same platform restrictions will likely apply. the name is giving "storage" but the vibe is "slot". iykyk ✨

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file is ./drivers/acpi/device_pm.c, and honestly the whole friend group shows up here β€” every single one of them, no cap:

like, the whole squad. read them, love them, cite them πŸ§šπŸ’œ


🌈 and that's the page!! sign-off time: this one lives in ./drivers/acpi, dated October 2026, and it's brought to you by acpi_storage_d3(9) β€” slay, periodt, go read the kernel source bestie β­πŸ“
πŸ“¦ where this page comes from