nvme: log additional message for controller status
PATCH v2 1/1 nvme: log additional message for controller status
Log the controller status to know more about issue if it lies within kernel nvme subsytem or controller is unhealthy.
--- drivers/nvme/host/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/nvme/host/core.c +2 -2
@@ -2079,8 +2079,8 @@ static int nvme_wait_ready(struct nvme_ctrl *ctrl, u64 cap, bool enabled)return -EINTR ;if (time_after (jiffies, timeout)) {dev_err (ctrl->device, -"Device not ready; aborting %s\n" , enabled ? -"initialisation" :"reset" ); +"Device not ready; aborting %s, CSTS=0x%x\n" , + enabled ?"initialisation" :"reset" , csts);return -ENODEV ; } }
Signature · 7 lines
1.8.3.1 _______________________________________________ linux-nvme mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-nvme
Looks good.
Quoted 4 lines · Rupesh Girase
Log the controller status to know more about issue if it lies within kernel nvme subsytem or controller is unhealthy.
Signed-off-by Rupesh Girase<[email protected]>
_______________________________________________
linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme
_______________________________________________
linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keith Busch
maintainerQuoted 4 lines · Rupesh Girase
Log the controller status to know more about issue if it lies within kernel nvme subsytem or controller is unhealthy.
Signed-off-by Rupesh Girase <[email protected]>
Applied with the reviews for 5.7, thank you.
_______________________________________________
linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme