Skip to content

Commit 0ea8c6e

Browse files
committed
linux: Enable support for Self-Encrypting Drives
To quote block/Kconfig: > Builds Logic for interfacing with Opal enabled controllers. > Enabling this option enables users to setup/unlock/lock > Locking ranges for SED devices using the Opal protocol. Without `BLK_SED_OPAL`, it is impossible to resume from sleep when using a locked self-encrypting drive. This configuration option appeared in earlier kernels, but only reached maturity in 4.14 according to discussion at: - Drive-Trust-Alliance/sedutil#90 and - Drive-Trust-Alliance/sedutil#190 This kernel option is enabled in the default kernels shipped with Fedora, Debian, and other mainstream Linux distributions.
1 parent de2bb10 commit 0ea8c6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkgs/os-specific/linux/kernel/common-config.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,8 @@ let
592592

593593
BLK_DEV_INTEGRITY = yes;
594594

595+
BLK_SED_OPAL = whenAtLeast "4.14" yes;
596+
595597
BSD_PROCESS_ACCT_V3 = yes;
596598

597599
BT_HCIUART_BCSP = option yes;

0 commit comments

Comments
 (0)