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

Akinobu Mita akinobu.mita at gmail.com
Mon Sep 4 08:23:28 PDT 2017


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>
-- 
2.7.4




More information about the Linux-nvme mailing list