mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
f725f36d1e59d403bba1f4932e2dc2e148221fb9
The buffer which sends the commands to host1x was shared for all tasks in the engine. This causes a problem with the setkey() function as it gets called asynchronous to the crypto engine queue. Modifying the same cmdbuf in setkey() will corrupt the ongoing host1x task and in turn break the encryption/decryption operation. Hence use a separate cmdbuf for setkey(). Bug 4883011 Signed-off-by: Akhil R <akhilrajeev@nvidia.com> Change-Id: Ia6a5376e2c8dfc98e11414666ebf9ade41f10fee Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3328437 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Description
No description provided