diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2020-02-20 18:10:01 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-02-24 15:02:25 +0800 |
commit | 26d0fba29c96241de8a9d16f045b1de49875884c (patch) | |
tree | 017674eab079ec078dbb8cdf5a1d7103c08d5099 /crypto/sm4_generic.c | |
parent | 2773fe1d31c42ffae2a9cb9a6055d99dd86e2fee (diff) | |
download | linux-26d0fba29c96241de8a9d16f045b1de49875884c.tar.bz2 |
firmware: imx: scu: Ensure sequential TX
SCU requires that all messages words are written sequentially but linux MU
driver implements multiple independent channels for each register so ordering
between different channels must be ensured by SCU API interface.
Wait for tx_done before every send to ensure that no queueing happens at the
mailbox channel level.
Fixes: edbee095fafb ("firmware: imx: add SCU firmware driver support")
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Cc: <stable@vger.kernel.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by:: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'crypto/sm4_generic.c')
0 files changed, 0 insertions, 0 deletions