Skip to content

MediaTek eMMC inline encryption support

Peng Zhou linux-devicetree linux-mmc 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v24 patches 13 repliesSuperseded

Changes in v3 from the cover letter

- Removed "mmc: Mediatek: enable crypto hardware engine" patch temporarily. Needs finding a better way for enable crypto hardware IP through ATF, so remove "mmc: Mediatek: enable crypto hardware engine" patch temporarily, we could enable it in ATF directly when boot up which will be a workaround solution. Discussing about this, see: https://lore.kernel.org/linux-mmc/
YE%[email protected]/T/#t
- We will put the above mentioned patch in a single patch

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mmc: Mediatek: add Inline Crypto Engine supportdrivers/mmc/host/mtk-sd.c+14 -10 replies
2/3arm64: dts: Mediatek: MT6779: add mmc node with ICE settingarch/arm64/boot/dts/mediatek/mt6779.dtsi+14 -00 replies
3/3dt-bingdings: mmc: Mediatek: add ICE clockDocumentation/devicetree/bindings/mmc/mtk-sd.yaml+4 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH RESEND v3 0/3] MediaTek eMMC inline encryption support

Hello,

Mediatek eMMC hardware IP has Inline Crypto Engine (ICE), we support inline encryption now.

For Inline Crypto Engine (ICE), see:
- https://lore.kernel.org/linux-arm-msm/
[email protected]/T/

This patchset supports Mediatek eMMC inline encryption which meets the upcoming version of the eMMC specification such as v5.1 or v5.2.

Patch 1-2, add crypto property and crypto clock, patch 3, document the device tree description about crypto clock.

Please noted that there is a special way of on/off crypto hardware IP in our SoCs, the enable bit must be controlled under ARM highest security level, that means must in ARM trusted firmware(ATF).

Changed in v3:
- Removed "mmc: Mediatek: enable crypto hardware engine" patch temporarily. Needs finding a better way for enable crypto hardware IP through ATF, so remove "mmc: Mediatek: enable crypto hardware engine" patch temporarily, we could enable it in ATF directly when boot up which will be a workaround solution. Discussing about this, see: https://lore.kernel.org/linux-mmc/
YE%[email protected]/T/#t
- We will put the above mentioned patch in a single patch

Peng Zhou (3):
mmc: Mediatek: add Inline Crypto Engine support
arm64: dts: Mediatek: MT6779: add mmc node with ICE setting
dt-bingdings: mmc: Mediatek: add ICE clock

 Documentation/devicetree/bindings/mmc/mtk-sd.yaml |  6 ++++--
 arch/arm64/boot/dts/mediatek/mt6779.dtsi          | 14 ++++++++++++++
 drivers/mmc/host/mtk-sd.c                         | 15 ++++++++++++++-
 3 files changed, 32 insertions(+), 3 deletions(-)