[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241006135530.17363-1-quic_spuppala@quicinc.com>
Date: Sun, 6 Oct 2024 19:25:28 +0530
From: Seshu Madhavi Puppala <quic_spuppala@...cinc.com>
To: Ulf Hansson <ulf.hansson@...aro.org>,
Adrian Hunter <adrian.hunter@...el.com>
Cc: linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org, quic_rampraka@...cinc.com,
quic_nitirawa@...cinc.com, quic_sachgupt@...cinc.com,
quic_bhaskarv@...cinc.com, quic_neersoni@...cinc.com,
quic_gaurkash@...cinc.com, quic_spuppala@...cinc.com
Subject: [PATCH RFC 0/2] Avoid reprogram all keys to Inline Crypto Engine for MMC runtime suspend resume
Crypto reprogram all keys is called for each MMC runtime
suspend/resume in current upstream design. If this is implemented
as a non-interruptible call to TEE for security, the cpu core is
blocked for execution while this call executes although the crypto
engine already has the keys. For example, glitches in audio/video
streaming applications have been observed due to this. Add mmc_host_ops
hook to control reprogramming keys to crypto engine for socs which dont
require this feature.
This patch addresses the following:
- Adds vendor hook to control reprogram all keys.
- Avoids reprogram of keys for Qualcomm SOCs only.
Seshu Madhavi Puppala (2):
mmc: core: Add vendor hook to control reprogram keys to Crypto Engine
mmc: host: sdhci-msm: Avoid reprogram keys for QCOM socs
drivers/mmc/core/crypto.c | 8 +++++---
drivers/mmc/host/sdhci-msm.c | 6 ++++++
drivers/mmc/host/sdhci.c | 6 ++++++
include/linux/mmc/host.h | 7 +++++++
4 files changed, 24 insertions(+), 3 deletions(-)
--
2.17.1
Powered by blists - more mailing lists