blob: 95b09148167e8d571af9abba6b797c1b82d15ca4 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001# SPDX-License-Identifier: GPL-2.0-only
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002#
3# Open-Channel SSD NVM configuration
4#
5
6menuconfig NVM
7 bool "Open-Channel SSD target support"
Olivier Deprez92d4c212022-12-06 15:05:30 +01008 depends on BLOCK && BROKEN
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00009 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"
Olivier Deprez0e641232021-09-23 10:07:05 +020022 select CRC32
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000023 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