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