The purpose of this series is to add functionality of reading information about the encryption status of OPAL NVMe/SATA and SATA drives and use this information for purposes of IMSM metadata, which introduces restrictions on the possibility of mixing disks with encryption enabled and disabled because of security reasons. Blazej Kucman (5): Add reading Opal NVMe encryption information Add reading SATA encryption information Add key ENCRYPTION_NO_VERIFY to conf imsm: print disk encryption information imsm: drive encryption policy implementation Makefile | 4 +- config.c | 25 +- drive_encryption.c | 724 +++++++++++++++++++++++++++++++++++++++++++++ drive_encryption.h | 37 +++ mdadm.conf.5.in | 16 + mdadm.h | 4 + super-intel.c | 117 +++++++- sysfs.c | 29 ++ 8 files changed, 947 insertions(+), 9 deletions(-) create mode 100644 drive_encryption.c create mode 100644 drive_encryption.h -- 2.35.3