From c5df4631328cc2018dd21ec0b2b64ecdd57d0d76 Mon Sep 17 00:00:00 2001 From: Abdur-Rahman Mansoor Date: Tue, 13 Aug 2024 20:12:39 -0400 Subject: [PATCH] show CSTS during shutdown I temporaily added this for easier debugging. --- drivers/nvme/nvme.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvme/nvme.asm b/drivers/nvme/nvme.asm index c0c52a2..8bc9709 100644 --- a/drivers/nvme/nvme.asm +++ b/drivers/nvme/nvme.asm @@ -1306,6 +1306,7 @@ proc nvme_cleanup ; Wait for shutdown processing to complete @@: + DEBUGF DBG_INFO, "nvme: CSTS = 0x%x\n", [edi + NVME_MMIO.CSTS] test byte [edi + NVME_MMIO.CSTS], CSTS_SHST_SHUTDOWN_COMPLETE jnz @b