commit | 99477f051ef857a1e0600cb98858fc74c007e1ff | [log] [tgz] |
---|---|---|
author | sah01 <sahil@arm.com> | Wed Dec 08 06:29:59 2021 +0000 |
committer | sahil <sahil@arm.com> | Wed Dec 08 21:00:45 2021 +0530 |
tree | 2da2e017cb22cb2876b0ea305e263bf25f5bfe3e | |
parent | 0628fe3fff7f66c92a5ae0a545996bc3f3daba82 [diff] |
fix(scmi): make msg_header variable volatile When tf-a is built with the llvm toolchain, the compiler optimizes the variable in some way which results in SCMI_MSG_GET_TOKEN assert failure in multiple places. This patch makes the msg_header variable in mailbox_mem struct volatile, which seems to fix the issue. Signed-off-by: sahil <sahil@arm.com> Change-Id: I1d28b30a6472fc23ed85adff9cf73dfb536e39cc