commit | 19104f74405048348a31d87aa9bacdb6f923040a | [log] [tgz] |
---|---|---|
author | Hector Martin <marcan@marcan.st> | Sun Jul 31 15:31:31 2022 +0900 |
committer | Tom Rini <trini@konsulko.com> | Fri Aug 26 15:00:05 2022 -0400 |
tree | 3e3f9ca106fbbb370da86642ecc1df0a7f6fe968 | |
parent | bce69634756b63cf6b0094ea056b401f9eccaea8 [diff] |
nvme: Do a clean NVMe shutdown The brute-force controller disable method can end up racing controller initialization and causing a crash when we shut down Apple ANS2 NVMe controllers. Do a proper controlled shutdown, which does block until things are quiesced properly. This is nicer in general for all controllers. Signed-off-by: Hector Martin <marcan@marcan.st> Tested-by: Mark Kettenis <kettenis@openbsd.org> (firefly-rk3399)