summaryrefslogtreecommitdiff
path: root/drivers/vfio
diff options
context:
space:
mode:
authorIuliana Prodan <iuliana.prodan@nxp.com>2020-03-04 16:06:26 +0200
committerIuliana Prodan <iuliana.prodan@nxp.com>2020-03-06 11:50:16 +0200
commitfc7c45cf829d1ed562f04cc219b5a79419ffa0c1 (patch)
tree100c0afc05082ecfb18fa5f5f4fe037881f7061a /drivers/vfio
parent359d8f37b464afea3718796fdd6eb27b0d2df8b1 (diff)
MLK-23396: crypto: caam - ensure CAAM context is not sharing the cacheline
In caam_hash_state struct, caam_ctx buffer needs to have a separate cacheline, not sharing it with "update" callback. On imx8, the cacheline size is 64 and the MAX_CTX_LEN, from caam_ctx buffer, is (8 + 64). Therefore, add a ____cacheline_aligned to the update callback, in caam_hash_state struct, to ensure that caam_ctx buffer is not sharing the cacheline. Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions