diff options
author | Hector Martin <marcan@marcan.st> | 2022-07-31 15:31:31 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-26 15:00:05 -0400 |
commit | e9ac3a939d4f11e9cdcdcb2bad090f4cb1929a85 (patch) | |
tree | 3e3f9ca106fbbb370da86642ecc1df0a7f6fe968 /disk | |
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)
Diffstat (limited to 'disk')
0 files changed, 0 insertions, 0 deletions