summaryrefslogtreecommitdiff
path: root/lib/stdlib/strlen.c
diff options
context:
space:
mode:
authorDimitris Papastamos <dimitris.papastamos@arm.com>2018-05-31 11:38:33 +0100
committerDimitris Papastamos <dimitris.papastamos@arm.com>2018-06-07 14:34:45 +0100
commit2b91536625f9f740a49dfaa784b0544aadf787f8 (patch)
tree508d7644d2d27fe6c8b747c819f42e36fc89a4c3 /lib/stdlib/strlen.c
parentd003b190938fa9e50ad351015da4b5225c78ce14 (diff)
Fast path SMCCC_ARCH_WORKAROUND_1 calls from AArch32
When SMCCC_ARCH_WORKAROUND_1 is invoked from a lower EL running in AArch32 state, ensure that the SMC call will take a shortcut in EL3. This minimizes the time it takes to apply the mitigation in EL3. When lower ELs run in AArch32, it is preferred that they execute the `BPIALL` instruction to invalidate the BTB. However, on some cores the `BPIALL` instruction may be a no-op and thus would benefit from making the SMCCC_ARCH_WORKAROUND_1 call go through the fast path. Change-Id: Ia38abd92efe2c4b4a8efa7b70f260e43c5bda8a5 Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
Diffstat (limited to 'lib/stdlib/strlen.c')
0 files changed, 0 insertions, 0 deletions