[PATCH 1/2] nvme-pci: clean up CMB initialization

Keith Busch keith.busch at intel.com
Mon Jan 15 17:51:00 PST 2018


On Mon, Jan 15, 2018 at 04:33:47PM +0100, Christoph Hellwig wrote:
> Refactor the call to nvme_map_cmb, and change the conditions for probing
> for the CMB.  First remove the version check as NVMe TPs always apply
> to earlier versions of the spec as well.  Second check for the whole CMBSZ
> register for support of the CMB feature instead of just the size field
> inside of it to simplify the code a bit.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks good.

Reviewed-by: Keith Busch <keith.busch at intel.com>



More information about the Linux-nvme mailing list