lightnvm: expose mccap in identify command
authorMatias Bjørling <m@bjorling.me>
Mon, 16 Nov 2015 14:34:39 +0000 (15:34 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 16 Nov 2015 22:20:27 +0000 (15:20 -0700)
commit12be5edf68e785dd5dc8665db5a88152b49c1fe8
tree56103392277eefac1b259421a9d2e2e73f7f94c1
parent36d5dbc694e0d1b1909506666d7c27b53f7f9674
lightnvm: expose mccap in identify command

The mccap field is required for I/O command option support. It defines the
following flash access modes:

 * SLC mode
 * Erase/Program Suspension
 * Scramble On/Off
 * Encryption

It is slotted in between mpos and cpar, changing the offset for
cpar as well.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/lightnvm.c
include/linux/lightnvm.h