summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/Kconfig
blob: 04caa0f2d445c76c2418e8390e265de5e21937c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# SPDX-License-Identifier: GPL-2.0-only
#
# Open-Channel SSD NVM configuration
#

menuconfig NVM
	bool "Open-Channel SSD target support (DEPRECATED)"
	depends on BLOCK
	help
	  Say Y here to get to enable Open-channel SSDs.

	  Open-Channel SSDs implement a set of extension to SSDs, that
	  exposes direct access to the underlying non-volatile memory.

	  If you say N, all options in this submenu will be skipped and disabled
	  only do this if you know what you are doing.

	  This code is deprecated and will be removed in Linux 5.15.

if NVM

config NVM_PBLK
	tristate "Physical Block Device Open-Channel SSD target"
	select CRC32
	help
	  Allows an open-channel SSD to be exposed as a block device to the
	  host. The target assumes the device exposes raw flash and must be
	  explicitly managed by the host.

	  Please note the disk format is considered EXPERIMENTAL for now.

if NVM_PBLK

config NVM_PBLK_DEBUG
	bool "PBlk Debug Support"
	default n
	help
	  Enables debug support for pblk. This includes extra checks, more
	  vocal error messages, and extra tracking fields in the pblk sysfs
	  entries.

endif # NVM_PBLK_DEBUG

endif # NVM