David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | # |
| 3 | # Open-Channel SSD NVM configuration |
| 4 | # |
| 5 | |
| 6 | menuconfig NVM |
| 7 | bool "Open-Channel SSD target support" |
Olivier Deprez | 92d4c21 | 2022-12-06 15:05:30 +0100 | [diff] [blame] | 8 | depends on BLOCK && BROKEN |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [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_PBLK |
| 21 | tristate "Physical Block Device Open-Channel SSD target" |
Olivier Deprez | 0e64123 | 2021-09-23 10:07:05 +0200 | [diff] [blame] | 22 | select CRC32 |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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. |
| 27 | |
| 28 | Please note the disk format is considered EXPERIMENTAL for now. |
| 29 | |
| 30 | if NVM_PBLK |
| 31 | |
| 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. |
| 39 | |
| 40 | endif # NVM_PBLK_DEBUG |
| 41 | |
| 42 | endif # NVM |