diff options
author | Dimitris Papastamos <dimitris.papastamos@arm.com> | 2018-01-11 15:29:36 +0000 |
---|---|---|
committer | Dimitris Papastamos <dimitris.papastamos@arm.com> | 2018-01-29 09:58:57 +0000 |
commit | d9bd656cf5a4d0c21597a956c3711d08626ecfd0 (patch) | |
tree | 48eb356187fe2cc59032ae157d9de82e9c557c7d /lib/psci/psci_setup.c | |
parent | 6eabbb07d7ee2aac3a8e8e734649c8eaa8385af6 (diff) |
Optimize/cleanup BPIALL workaround
In the initial implementation of this workaround we used a dedicated
workaround context to save/restore state. This patch reduces the
footprint as no additional context is needed.
Additionally, this patch reduces the memory loads and stores by 20%,
reduces the instruction count and exploits static branch prediction to
optimize the SMC path.
Change-Id: Ia9f6bf06fbf8a9037cfe7f1f1fb32e8aec38ec7d
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
Diffstat (limited to 'lib/psci/psci_setup.c')
0 files changed, 0 insertions, 0 deletions