mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 21:06:48 +07:00
771865dc5a
commit 19cd3403cb0d522dd5e10188eef85817de29e26e upstream.
Without CRC32 support, this fails to link:
arm-linux-gnueabi-ld: drivers/lightnvm/pblk-init.o: in function `pblk_init':
pblk-init.c:(.text+0x2654): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/lightnvm/pblk-init.o: in function `pblk_exit':
pblk-init.c:(.text+0x2a7c): undefined reference to `crc32_le'
Fixes: a4bd217b43
("lightnvm: physical block device (pblk) target")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Open-Channel SSD NVM configuration
|
|
#
|
|
|
|
menuconfig NVM
|
|
bool "Open-Channel SSD target support"
|
|
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.
|
|
|
|
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
|