arm: add erratum mitigation to __gnu_cmse_nonsecure_call [PR102035]
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 18 Jun 2021 16:16:25 +0000 (17:16 +0100)
committerRichard Earnshaw <rearnsha@arm.com>
Tue, 24 Aug 2021 10:45:13 +0000 (11:45 +0100)
commit574e7950bd6b34e9e2cacce18c802b45505d1d0a
tree5c7752f47e18236e7c7b84e7727b191eadf0eb25
parent3929bca9ca95de9d35e82ae8828b188029e3eb70
arm: add erratum mitigation to __gnu_cmse_nonsecure_call [PR102035]

Add the recommended erratum mitigation sequence to
__gnu_cmse_nonsecure_call for use on Armv8-m.main devices. Since this
is in the library code we cannot know in advance whether the core we
are running on will be affected by this, so always enable it.

libgcc:
PR target/102035
* config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
Add vlldm erratum work-around.
libgcc/config/arm/cmse_nonsecure_call.S