[PATCH v1 0/1] nvme : Add sysfs entry for NVMe CMBs when appropriate
sbates at raithlin.com
Wed Oct 5 19:01:11 PDT 2016
We have had a few attempts at adding CMB properties and control to
sysfs . This patch is based on Jon Derrick's  to some exent but
takes a much more conservative approach by only displaying CMB
properties and not attmpting to control them. Assuming this gets
accepted I do have a follow-on that adds more information to the cmb
Rather nicely we contain these changes solely to pci.c.
Applies cleanly to commit 997198ba1ed691c ("fs/block_dev.c: return the
right error in thaw_bdev()") in Jens' for-4.9/block branch.
Tested on both QEMU and on some real hardware I have access too that can
advertise and expose a CMB.
Changes since v0:
Use direct refernece to nvme_dev cmbsz.
Added Reviewed-By tags.
Stephen Bates (1):
nvme : Add sysfs entry for NVMe CMBs when appropriate
drivers/nvme/host/pci.c | 46 ++++++++++++++++++++++++++++++++++++----------
1 file changed, 36 insertions(+), 10 deletions(-)
More information about the Linux-nvme