commit | 526a637caaebe9afc80649c7d351b6c23d76571a | [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 | 166f598d2a36c7d70f3eb0037e9c659185b844d5 [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