commit | e9ac3a939d4f11e9cdcdcb2bad090f4cb1929a85 | [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 | d9f554b62440de542c482fecf9374e8da3ea3602 [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)