Merge tag 'nds32-for-linus-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / lightnvm / Kconfig
1 #
2 # Open-Channel SSD NVM configuration
3 #
4
5 menuconfig NVM
6         bool "Open-Channel SSD target support"
7         depends on BLOCK && PCI
8         select BLK_DEV_NVME
9         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
18 if NVM
19
20 config NVM_DEBUG
21         bool "Open-Channel SSD debugging support"
22         default n
23         ---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
30 config 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
39 endif # NVM