From: Keith Busch Date: Tue, 4 Apr 2017 22:18:12 +0000 (-0400) Subject: nvme/pci: Don't set reserved SQ create flags X-Git-Tag: MMI-PSA29.97-13-9~5704^2~38^2~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=81c1cd98351bec779c4587865b62bfbac72ee811;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git nvme/pci: Don't set reserved SQ create flags The QPRIO field is only valid if weighted round robin arbitration is used, and this driver doesn't enable that controller configuration option. Signed-off-by: Keith Busch Reviewed-by: Christoph Hellwig Reviewed-by: Sagi Grimberg --- diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index d9e2bd07ed56..af783a33e93a 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -785,7 +785,7 @@ static int adapter_alloc_sq(struct nvme_dev *dev, u16 qid, struct nvme_queue *nvmeq) { struct nvme_command c; - int flags = NVME_QUEUE_PHYS_CONTIG | NVME_SQ_PRIO_MEDIUM; + int flags = NVME_QUEUE_PHYS_CONTIG; /* * Note: we (ab)use the fact the the prp fields survive if no data