• Antonio Nino Diaz's avatar
    TSP: Enable pointer authentication support · 67b6ff9f
    Antonio Nino Diaz authored
    
    
    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: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
    67b6ff9f
tsp_main.c 14.2 KB