summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8/sec_firmware.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-07-25 00:57:00 +0100
committerTom Rini <trini@konsulko.com>2018-08-03 19:53:54 -0400
commit15b6184971d35a90f19b87338cc6fec756cb55e8 (patch)
tree30aee9deccd71a9ce36e5757eac5d793438c2784 /arch/arm/cpu/armv8/sec_firmware.c
parentbdaf24f8a5736a07fe633e15bbe2cd9fffaf8fe9 (diff)
armv8: Reduce exception handling code
The arm64 exception handling code is quite big, mostly due to architectural alignment requirements. Each exception entry spans 32 instructions, which sounds generous, but is too small to fit all of the save/branch/restore code in there. So at the moment we use only four instructions, branching into shared save and restore routines. To not leave the space for those remaining 28 instructions wasted, let's split the save and restore routines and stuff them into the gaps. This saves about 250 bytes of code, which is helpful for those tight SPLs. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'arch/arm/cpu/armv8/sec_firmware.c')
0 files changed, 0 insertions, 0 deletions