linux_dsm_epyc7002/drivers/nvme/host
Keith Busch 69f4eb9ff7 nvme-pci: make CMB SQ mod-param read-only
A controller reset after a run time change of the CMB module parameter
breaks the driver. An 'on -> off' will have the driver use NULL for the
host memory queue, and 'off -> on' will use mismatched queue depth between
the device and the host.

We could fix both, but there isn't really a good reason to change this
at run time anyway, compared to at module load time, so this patch makes
parameter read-only after after modprobe.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-06-08 12:51:11 -06:00
..
core.c for-4.18/block-20180603 2018-06-04 07:58:06 -07:00
fabrics.c nvme: don't hold nvmf_transports_rwsem for more than transport lookups 2018-06-08 12:51:10 -06:00
fabrics.h nvme: don't hold nvmf_transports_rwsem for more than transport lookups 2018-06-08 12:51:10 -06:00
fault_inject.c nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
fc.c blk-mq: only iterate over inflight requests in blk_mq_tagset_busy_iter 2018-05-30 11:31:34 -06:00
Kconfig IB: Revert "remove redundant INFINIBAND kconfig dependencies" 2018-05-28 10:40:16 -06:00
lightnvm.c lightnvm: remove function name in strings 2018-03-29 17:29:09 -06:00
Makefile nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
multipath.c nvme/multipath: Fix multipath disabled naming collisions 2018-05-03 09:37:50 -06:00
nvme.h for-4.18/block-20180603 2018-06-04 07:58:06 -07:00
pci.c nvme-pci: make CMB SQ mod-param read-only 2018-06-08 12:51:11 -06:00
rdma.c nvme-rdma: correctly check for target keyed sgl support 2018-06-08 12:51:10 -06:00
trace.c nvme: add tracepoint for nvme_setup_cmd 2018-01-26 12:34:40 +01:00
trace.h nvme: change order of qid and cmdid in completion trace 2018-04-26 13:30:08 -06:00