blob: 10c08982185a572ff05683461d514e86c8920f96 [file] [log] [blame]
Matias Bjørlingcd9e9802015-10-28 19:54:55 +01001#
2# Open-Channel SSD NVM configuration
3#
4
5menuconfig NVM
6 bool "Open-Channel SSD target support"
Rakesh Pandit32c662c2017-10-13 14:45:55 +02007 depends on BLOCK && HAS_DMA && PCI
8 select BLK_DEV_NVME
Matias Bjørlingcd9e9802015-10-28 19:54:55 +01009 help
10 Say Y here to get to enable Open-channel SSDs.
11
12 Open-Channel SSDs implement a set of extension to SSDs, that
13 exposes direct access to the underlying non-volatile memory.
14
15 If you say N, all options in this submenu will be skipped and disabled
16 only do this if you know what you are doing.
17
18if NVM
19
20config NVM_DEBUG
21 bool "Open-Channel SSD debugging support"
Matias Bjørling41586242015-12-06 11:25:51 +010022 default n
Matias Bjørlingcd9e9802015-10-28 19:54:55 +010023 ---help---
24 Exposes a debug management interface to create/remove targets at:
25
26 /sys/module/lnvm/parameters/configure_debug
27
28 It is required to create/remove targets without IOCTLs.
29
Javier Gonzáleza4bd2172017-04-15 20:55:50 +020030config NVM_PBLK
31 tristate "Physical Block Device Open-Channel SSD target"
32 ---help---
33 Allows an open-channel SSD to be exposed as a block device to the
34 host. The target assumes the device exposes raw flash and must be
35 explicitly managed by the host.
36
37 Please note the disk format is considered EXPERIMENTAL for now.
38
Matias Bjørlingcd9e9802015-10-28 19:54:55 +010039endif # NVM