• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Open-Channel SSD NVM configuration
4#
5
6menuconfig NVM
7	bool "Open-Channel SSD target support"
8	depends on BLOCK && BROKEN
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
18if NVM
19
20config NVM_PBLK
21	tristate "Physical Block Device Open-Channel SSD target"
22	select CRC32
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
30if NVM_PBLK
31
32config 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
40endif # NVM_PBLK_DEBUG
41
42endif # NVM
43