diff options
| author | Eric Biggers <[email protected]> | 2024-07-08 23:53:30 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2024-07-11 02:32:30 +0000 |
| commit | c96499fcb403b18b0ae0bf2e19a39f24e62dd3ac (patch) | |
| tree | 63b798bde63ae19c943fdc4323871103d568421e /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | scsi: ufs: core: Add UFSHCD_QUIRK_KEYS_IN_PRDT (diff) | |
| download | kernel-c96499fcb403b18b0ae0bf2e19a39f24e62dd3ac.tar.gz kernel-c96499fcb403b18b0ae0bf2e19a39f24e62dd3ac.zip | |
scsi: ufs: exynos: Add support for Flash Memory Protector (FMP)
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.
Signed-off-by: Eric Biggers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Peter Griffin <[email protected]>
Tested-by: Peter Griffin <[email protected]>
Reviewed-by: Alim Akhtar <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
