xref: /OK3568_Linux_fs/kernel/drivers/lightnvm/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Open-Channel SSD NVM configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunmenuconfig NVM
7*4882a593Smuzhiyun	bool "Open-Channel SSD target support"
8*4882a593Smuzhiyun	depends on BLOCK && BROKEN
9*4882a593Smuzhiyun	help
10*4882a593Smuzhiyun	  Say Y here to get to enable Open-channel SSDs.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun	  Open-Channel SSDs implement a set of extension to SSDs, that
13*4882a593Smuzhiyun	  exposes direct access to the underlying non-volatile memory.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	  If you say N, all options in this submenu will be skipped and disabled
16*4882a593Smuzhiyun	  only do this if you know what you are doing.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunif NVM
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunconfig NVM_PBLK
21*4882a593Smuzhiyun	tristate "Physical Block Device Open-Channel SSD target"
22*4882a593Smuzhiyun	select CRC32
23*4882a593Smuzhiyun	help
24*4882a593Smuzhiyun	  Allows an open-channel SSD to be exposed as a block device to the
25*4882a593Smuzhiyun	  host. The target assumes the device exposes raw flash and must be
26*4882a593Smuzhiyun	  explicitly managed by the host.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun	  Please note the disk format is considered EXPERIMENTAL for now.
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunif NVM_PBLK
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunconfig NVM_PBLK_DEBUG
33*4882a593Smuzhiyun	bool "PBlk Debug Support"
34*4882a593Smuzhiyun	default n
35*4882a593Smuzhiyun	help
36*4882a593Smuzhiyun	  Enables debug support for pblk. This includes extra checks, more
37*4882a593Smuzhiyun	  vocal error messages, and extra tracking fields in the pblk sysfs
38*4882a593Smuzhiyun	  entries.
39*4882a593Smuzhiyun
40*4882a593Smuzhiyunendif # NVM_PBLK_DEBUG
41*4882a593Smuzhiyun
42*4882a593Smuzhiyunendif # NVM
43