Skip to content

nvme-pci: fix rety handling of host memory buffer allocation

Akinobu Mita linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvme-pci: avoid arrary index out of bounds in retry HMB allocationdrivers/nvme/host/pci.c+6 -41 reply
1/2nvme-pci: avoid arrary index out of bounds in retry HMB allocation+0 -00 replies
2/2nvme-pci: use appropriate initial chunk size for HMB allocationdrivers/nvme/host/pci.c+1 -11 reply
2/2nvme-pci: use appropriate initial chunk size for HMB allocation+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] nvme-pci: fix rety handling of host memory buffer allocation

I found a problem in rety handling of host memory buffer allocation when using v4.13 kernel with Toshiba NVMe device which supports HMB.

Akinobu Mita (2):
nvme-pci: avoid arrary index out of bounds in retry HMB allocation
nvme-pci: use appropriate initial chunk size for HMB allocation

 drivers/nvme/host/pci.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
Cc Keith Busch <keith.busch at intel.com>
Cc Jens Axboe <axboe at fb.com>
Cc Christoph Hellwig <hch at lst.de>
Cc Sagi Grimberg <sagi at grimberg.me>
Signature · 1 line
2.7.4