arm64: dts: qcom: msm8996: Add device tree entries to support crypto engine
authorVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Mon, 11 Oct 2021 09:48:22 +0000 (12:48 +0300)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 24 Oct 2021 18:04:07 +0000 (13:04 -0500)
commitef062eb675922d23650ee06808eac2ee08b26e5a
tree5e516cfcb9616cf33b47ae560b45949023b624ef
parentbb270c86ec1603f54ca2777658c646cfa661eb6b
arm64: dts: qcom: msm8996: Add device tree entries to support crypto engine

The change adds description of Qualcomm crypto engine controller and
BAM associated with it. The change is inspired by commit 3e482859f1ef
("dts: qcom: sdm845: Add dt entries to support crypto engine.")

While performance of cryptographic algorithms executed on QCE is lower
than e.g. ones tinkered for ARM NEON, the offloaded execution would
make sense:

    # cryptsetup benchmark | grep aes
    aes-cbc        128b        71.0 MiB/s        71.9 MiB/s
    aes-cbc        256b        62.4 MiB/s        62.4 MiB/s
    aes-xts        256b        70.7 MiB/s        70.8 MiB/s
    aes-xts        512b        62.0 MiB/s        63.3 MiB/s

Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Cc: Thara Gopinath <thara.gopinath@linaro.org>
Acked-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211011094822.1580122-1-vladimir.zapolskiy@linaro.org
arch/arm64/boot/dts/qcom/msm8996.dtsi