]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
nvme: Quirks for PM1725 controllers
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 28 Jun 2017 02:27:57 +0000 (22:27 -0400)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 17 Jul 2017 14:01:03 +0000 (16:01 +0200)
commit956bcee9b5bb7bd7be9534d6ccbda2d0f4d7b355
tree1bfeecb7d047dc21c04230db9757910b68b04ab6
parentbb5eeb163b9acad6701316648ae8c89f186ec465
nvme: Quirks for PM1725 controllers

BugLink: http://bugs.launchpad.net/bugs/1704435
PM1725 controllers have a couple of quirks that need to be handled in
the driver:

 - I/O queue depth must be limited to 64 entries on controllers that do
   not report MQES.

 - The host interface registers go offline briefly while resetting the
   chip. Thus a delay is needed before checking whether the controller
   is ready.

Note that the admin queue depth is also limited to 64 on older versions
of this board. Since our NVME_AQ_DEPTH is now 32 that is no longer an
issue.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
(backported from d554b5e1ca64d23e4f839e6531490fee8479fbaf)
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
drivers/nvme/host/pci.c