Loading drivers/nvme/host/pci.c +5 −0 Original line number Diff line number Diff line Loading @@ -989,6 +989,11 @@ static inline int nvme_process_cq(struct nvme_queue *nvmeq) while (nvme_cqe_pending(nvmeq)) { found++; /* * load-load control dependency between phase and the rest of * the cqe requires a full read memory barrier */ dma_rmb(); nvme_handle_cqe(nvmeq, nvmeq->cq_head); nvme_update_cq_head(nvmeq); } Loading Loading
drivers/nvme/host/pci.c +5 −0 Original line number Diff line number Diff line Loading @@ -989,6 +989,11 @@ static inline int nvme_process_cq(struct nvme_queue *nvmeq) while (nvme_cqe_pending(nvmeq)) { found++; /* * load-load control dependency between phase and the rest of * the cqe requires a full read memory barrier */ dma_rmb(); nvme_handle_cqe(nvmeq, nvmeq->cq_head); nvme_update_cq_head(nvmeq); } Loading