TSP: Enable pointer authentication support
authorAntonio Nino Diaz <[email protected]>
Tue, 26 Feb 2019 11:41:03 +0000 (11:41 +0000)
committerAntonio Nino Diaz <[email protected]>
Wed, 27 Feb 2019 11:58:10 +0000 (11:58 +0000)
commit67b6ff9f8ccd84cea1627d738f3e2d4eb0a789e1
treece226614498b06f2c9bb078ccb3cc1b189adf1b2
parent88cfd9a604cee29cc6536a43cd136b7eef0b78b9
TSP: Enable pointer authentication support

The size increase after enabling options related to ARMv8.3-PAuth is:

+----------------------------+-------+-------+-------+--------+
|                            |  text |  bss  |  data | rodata |
+----------------------------+-------+-------+-------+--------+
| CTX_INCLUDE_PAUTH_REGS = 1 |   +40 |   +0  |   +0  |   +0   |
|                            |  0.4% |       |       |        |
+----------------------------+-------+-------+-------+--------+
| ENABLE_PAUTH = 1           |  +352 |    +0 |  +16  |   +0   |
|                            |  3.1% |       | 15.8% |        |
+----------------------------+-------+-------+-------+--------+

Results calculated with the following build configuration:

    make PLAT=fvp SPD=tspd DEBUG=1 \
    SDEI_SUPPORT=1                 \
    EL3_EXCEPTION_HANDLING=1       \
    TSP_NS_INTR_ASYNC_PREEMPT=1    \
    CTX_INCLUDE_PAUTH_REGS=1       \
    ENABLE_PAUTH=1

Change-Id: I6cc1fe0b2345c547dcef66f98758c4eb55fe5ee4
Signed-off-by: Antonio Nino Diaz <[email protected]>
bl32/tsp/aarch64/tsp_entrypoint.S
bl32/tsp/tsp.mk
bl32/tsp/tsp_main.c
include/bl32/tsp/tsp.h