blob: 8f39f9ba5c80e8ecb5e6493aa0fde6c0e4834aa0 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Matias Bjørlingcd9e9802015-10-28 19:54:55 +01002#
3# Open-Channel SSD NVM configuration
4#
5
6menuconfig NVM
7 bool "Open-Channel SSD target support"
Matias Bjørling73569e12018-10-09 13:11:31 +02008 depends on BLOCK
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
Javier Gonzáleza4bd2172017-04-15 20:55:50 +020020config NVM_PBLK
21 tristate "Physical Block Device Open-Channel SSD target"
Matias Bjørling880eda52018-07-13 10:48:37 +020022 help
23 Allows an open-channel SSD to be exposed as a block device to the
24 host. The target assumes the device exposes raw flash and must be
25 explicitly managed by the host.
Javier Gonzáleza4bd2172017-04-15 20:55:50 +020026
Matias Bjørling880eda52018-07-13 10:48:37 +020027 Please note the disk format is considered EXPERIMENTAL for now.
28
29if NVM_PBLK
30
31config NVM_PBLK_DEBUG
32 bool "PBlk Debug Support"
33 default n
34 help
35 Enables debug support for pblk. This includes extra checks, more
36 vocal error messages, and extra tracking fields in the pblk sysfs
37 entries.
38
39endif # NVM_PBLK_DEBUG
Javier Gonzáleza4bd2172017-04-15 20:55:50 +020040
Matias Bjørlingcd9e9802015-10-28 19:54:55 +010041endif # NVM