linux_dsm_epyc7002/drivers/nvme/host
Akinobu Mita 30f92d62e5 nvme-pci: use appropriate initial chunk size for HMB allocation
The initial chunk size for host memory buffer allocation is currently
PAGE_SIZE << MAX_ORDER.  MAX_ORDER order allocation is usually failed
without CONFIG_DMA_CMA.  So the HMB allocation is retried with chunk size
PAGE_SIZE << (MAX_ORDER - 1) in general, but there is no problem if the
retry allocation works correctly.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
[hch: rebased]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Cc: stable@vger.kernel.org
2017-09-11 12:29:38 -04:00
..
core.c nvme: fix lightnvm check 2017-09-11 12:29:36 -04:00
fabrics.c nvme-fabrics: generate spec-compliant UUID NQNs 2017-09-01 09:48:01 +02:00
fabrics.h nvme: read the subsystem NQN from Identify Controller 2017-06-28 08:14:13 -06:00
fc.c nvme-fc: Reattach to localports on re-registration 2017-08-28 23:00:40 +03:00
Kconfig nvme: Remove SCSI translations 2017-06-28 08:14:13 -06:00
lightnvm.c nvme: fix lightnvm check 2017-09-11 12:29:36 -04:00
Makefile nvme: Makefile: remove dead build rule 2017-06-29 09:43:23 -06:00
nvme.h nvme: fix lightnvm check 2017-09-11 12:29:36 -04:00
pci.c nvme-pci: use appropriate initial chunk size for HMB allocation 2017-09-11 12:29:38 -04:00
rdma.c Merge branch 'for-4.14/block-postmerge' of git://git.kernel.dk/linux-block 2017-09-09 12:49:01 -07:00