aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/psci/psci.c
diff options
context:
space:
mode:
authorTao Chiu <[email protected]>2021-04-26 02:53:10 +0000
committerChristoph Hellwig <[email protected]>2021-05-04 07:35:49 +0000
commita97157440e1e69c35d7804d3b72da0c626ef28e6 (patch)
treeb7dce4a25cb6a7388d3218a9c399d19fe97d4218 /drivers/firmware/psci/psci.c
parentnvme: avoid memset for passthrough requests (diff)
downloadkernel-a97157440e1e69c35d7804d3b72da0c626ef28e6.tar.gz
kernel-a97157440e1e69c35d7804d3b72da0c626ef28e6.zip
nvme: move the fabrics queue ready check routines to core
queue_rq() in pci only checks if the dispatched queue (nvmeq) is ready, e.g. not being suspended. Since nvme_alloc_admin_tags() in reset flow restarts the admin queue, users are able to submit admin commands to a controller before reset_work() completes. Commands submitted under this condition may interfere with commands that performs identify, IO queue setup in reset_work(), and may result in a hang described in the following patch. As seen in the fabrics, user commands are prevented from being executed under inproper controller states. We may reuse this logic to maintain a clear admin queue during reset_work(). Signed-off-by: Tao Chiu <[email protected]> Signed-off-by: Cody Wong <[email protected]> Reviewed-by: Leon Chien <[email protected]> Reviewed-by: Keith Busch <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions