Matias Bjørling | cd9e980 | 2015-10-28 19:54:55 +0100 | [diff] [blame] | 1 | # |
| 2 | # Open-Channel SSD NVM configuration |
| 3 | # |
| 4 | |
| 5 | menuconfig NVM |
| 6 | bool "Open-Channel SSD target support" |
Rakesh Pandit | 32c662c | 2017-10-13 14:45:55 +0200 | [diff] [blame] | 7 | depends on BLOCK && HAS_DMA && PCI |
| 8 | select BLK_DEV_NVME |
Matias Bjørling | cd9e980 | 2015-10-28 19:54:55 +0100 | [diff] [blame] | 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" |
Matias Bjørling | 4158624 | 2015-12-06 11:25:51 +0100 | [diff] [blame] | 22 | default n |
Matias Bjørling | cd9e980 | 2015-10-28 19:54:55 +0100 | [diff] [blame] | 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 | |
Javier González | a4bd217 | 2017-04-15 20:55:50 +0200 | [diff] [blame] | 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 | |
Matias Bjørling | cd9e980 | 2015-10-28 19:54:55 +0100 | [diff] [blame] | 39 | endif # NVM |