diff options
author | Stephen Bates <sbates@raithlin.com> | 2016-10-05 20:01:12 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-10-12 11:10:28 -0600 |
commit | 202021c1a63c6ed69b3260e0fe10530c51f1e53e (patch) | |
tree | 48023a64bfabdc013b46797c5f1564b766f41c90 /drivers/nvme/target | |
parent | c5f6ce97c12104668784ee17fb927c52a944d3d8 (diff) | |
download | linux-202021c1a63c6ed69b3260e0fe10530c51f1e53e.tar.gz linux-202021c1a63c6ed69b3260e0fe10530c51f1e53e.tar.bz2 linux-202021c1a63c6ed69b3260e0fe10530c51f1e53e.zip |
nvme : Add sysfs entry for NVMe CMBs when appropriate
Add a sysfs attribute that contains salient information about the NVMe
Controller Memory Buffer when one is present. For now, just display the
information about the CMB available from the control registers. We attach
the CMB attribute file to the existing nvme_ctrl sysfs group so it can
handle the sysfs teardown.
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Stephen Bates <sbates@raithlin.com>
Acked-by Jon Derrick: <jonathan.derrick@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme/target')
0 files changed, 0 insertions, 0 deletions