aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorHector Martin <[email protected]>2025-02-13 16:12:58 +0000
committerKeith Busch <[email protected]>2025-02-18 15:41:10 +0000
commit3f22421f6a240b33ab8ffbf662bf0a8f336f405b (patch)
treeb3ec7d712ffca5fedb96364a4ffb36a71bb8dc11 /net/unix/sysctl_net_unix.c
parentapple-nvme: Release power domains when probe fails (diff)
downloadkernel-3f22421f6a240b33ab8ffbf662bf0a8f336f405b.tar.gz
kernel-3f22421f6a240b33ab8ffbf662bf0a8f336f405b.zip
apple-nvme: Support coprocessors left idle
iBoot on at least some firmwares/machines leaves ANS2 running, requiring a wake command instead of a CPU boot (and if we reset ANS2 in that state, everything breaks). Only stop the CPU if RTKit was running, and only do the reset dance if the CPU is stopped. Normal shutdown handoff: - RTKit not yet running - CPU detected not running - Reset - CPU powerup - RTKit boot wait ANS2 left running/idle: - RTKit not yet running - CPU detected running - RTKit wake message Sleep/resume cycle: - RTKit shutdown - CPU stopped - (sleep here) - CPU detected not running - Reset - CPU powerup - RTKit boot wait Shutdown or device removal: - RTKit shutdown - CPU stopped Therefore, the CPU running bit serves as a consistent flag of whether the coprocessor is fully stopped or just idle. Signed-off-by: Hector Martin <[email protected]> Reviewed-by: Neal Gompa <[email protected]> Reviewed-by: Sven Peter <[email protected]> Signed-off-by: Alyssa Rosenzweig <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions