Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
cd9e9808 MB |
2 | # |
3 | # Open-Channel SSD NVM configuration | |
4 | # | |
5 | ||
6 | menuconfig NVM | |
7 | bool "Open-Channel SSD target support" | |
73569e11 | 8 | depends on BLOCK |
cd9e9808 MB |
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 | ||
880eda54 MB |
20 | config NVM_PBLK |
21 | tristate "Physical Block Device Open-Channel SSD target" | |
19cd3403 | 22 | select CRC32 |
880eda54 MB |
23 | help |
24 | Allows an open-channel SSD to be exposed as a block device to the | |
25 | host. The target assumes the device exposes raw flash and must be | |
26 | explicitly managed by the host. | |
cd9e9808 | 27 | |
880eda54 | 28 | Please note the disk format is considered EXPERIMENTAL for now. |
cd9e9808 | 29 | |
880eda54 | 30 | if NVM_PBLK |
cd9e9808 | 31 | |
880eda54 MB |
32 | config NVM_PBLK_DEBUG |
33 | bool "PBlk Debug Support" | |
34 | default n | |
35 | help | |
36 | Enables debug support for pblk. This includes extra checks, more | |
37 | vocal error messages, and extra tracking fields in the pblk sysfs | |
38 | entries. | |
a4bd217b | 39 | |
880eda54 | 40 | endif # NVM_PBLK_DEBUG |
a4bd217b | 41 | |
cd9e9808 | 42 | endif # NVM |