drivers: nvme: Add precheck and delay for CQE pending status.
authorKevin.xie <kevin.xie@starfivetech.com>
Thu, 24 Nov 2022 08:59:12 +0000 (16:59 +0800)
committerKevin.xie <kevin.xie@starfivetech.com>
Thu, 24 Nov 2022 10:44:58 +0000 (18:44 +0800)
commita8700cb09c164a0c0bcc07b1351802afabe78ea7
tree6b6205a106bc53bec1c35ce87290a5fd060b0553
parent6e4d11671e78dd8dd92ceb9b4e6ad686b9608d02
drivers: nvme: Add precheck and delay for CQE pending status.

To workaroud the NVMe I/O timeout problem in bootup S10udev case
which caused by the CQE update lantancy.

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
drivers/nvme/host/pci.c