Re: [PATCH] nvme: Do a clean NVMe shutdown

2022-08-27 Thread Tom Rini
On Sun, Jul 31, 2022 at 03:31:31PM +0900, Hector Martin wrote: > The brute-force controller disable method can end up racing controller > initilization and causing a crash when we shut down Apple ANS2 NVMe > controllers. Do a proper controlled shutdown, which does block until > things are

Re: [PATCH] nvme: Do a clean NVMe shutdown

2022-07-31 Thread Mark Kettenis
> From: Hector Martin > Date: Sun, 31 Jul 2022 15:31:31 +0900 > > The brute-force controller disable method can end up racing controller > initilization and causing a crash when we shut down Apple ANS2 NVMe > controllers. Do a proper controlled shutdown, which does block until > things are

[PATCH] nvme: Do a clean NVMe shutdown

2022-07-31 Thread Hector Martin
The brute-force controller disable method can end up racing controller initilization 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.