Merge patch series "Basic inline encryption support for ufs-exynos"
authorMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Jul 2024 02:33:34 +0000 (22:33 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Jul 2024 02:33:34 +0000 (22:33 -0400)
commitaf8e69efd78561496cdd736bb1b4f7edd89b2f6b
treea949e4c837e357c73a5ba939a2f866b0eaa231bc
parente30618a480cbbfc1f49ec65fea86766141b7a1df
parentc96499fcb403b18b0ae0bf2e19a39f24e62dd3ac
Merge patch series "Basic inline encryption support for ufs-exynos"

Eric Biggers <ebiggers@kernel.org> says:

Add support for Flash Memory Protector (FMP), which is the inline
encryption hardware on Exynos and Exynos-based SoCs.

Specifically, add support for the "traditional FMP mode" that works on
many Exynos-based SoCs including gs101.  This is the mode that uses
"software keys" and is compatible with the upstream kernel's existing
inline encryption framework in the block and filesystem layers.  I
plan to add support for the wrapped key support on gs101 at a later
time.

Tested on gs101 (specifically Pixel 6) by running the 'encrypt' group
of xfstests on a filesystem mounted with the 'inlinecrypt' mount
option.

This patchset applies to v6.10-rc6, and it has no prerequisites that
aren't already upstream.

Link: https://lore.kernel.org/r/20240708235330.103590-1-ebiggers@kernel.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c
include/ufs/ufshcd.h