aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorDaniel Wagner <[email protected]>2025-05-02 08:58:00 +0000
committerChristoph Hellwig <[email protected]>2025-05-07 07:01:20 +0000
commit650415fca0a97472fdd79725e35152614d1aad76 (patch)
tree29e4d55523b1669070869a8a5c4f24233a6c5bba /rust/helpers/mutex.c
parentblock: only update request sector if needed (diff)
downloadkernel-650415fca0a97472fdd79725e35152614d1aad76.tar.gz
kernel-650415fca0a97472fdd79725e35152614d1aad76.zip
nvme: unblock ctrl state transition for firmware update
The original nvme subsystem design didn't have a CONNECTING state; the state machine allowed transitions from RESETTING to LIVE directly. With the introduction of nvme fabrics the CONNECTING state was introduce. Over time the nvme-pci started to use the CONNECTING state as well. Eventually, a bug fix for the nvme-fc started to depend that the only valid transition to LIVE was from CONNECTING. Though this change didn't update the firmware update handler which was still depending on RESETTING to LIVE transition. The simplest way to address it for the time being is to switch into CONNECTING state before going to LIVE state. Fixes: d2fe192348f9 ("nvme: only allow entering LIVE from CONNECTING state") Reported-by: Guenter Roeck <[email protected]> Signed-off-by: Daniel Wagner <[email protected]> Closes: https://lore.kernel.org/all/[email protected] Reviewed-by: Keith Busch <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions