arm-trusted-firmware/common
Louis Mayencourt b8b31ad000 backtrace: Strip PAC field when PAUTH is enabled
When pointer authentication is enabled, the LR value saved on the stack
contains a Pointer Authentication Code (PAC). It must be stripped to
retrieve the return address.

The PAC field is stored on the high bits of the address and defined as:
- PAC field = Xn[54:bottom_PAC_bit], when address tagging is used.
- PAC field = Xn[63:56, 54:bottom_PAC_bit], without address tagging.

With bottom_PAC_bit = 64 - TCR_ELx.TnSZ

Change-Id: I21d804e58200dfeca1da4c2554690bed5d191936
Signed-off-by: Louis Mayencourt <louis.mayencourt@arm.com>
2019-07-17 10:43:48 +01:00
..
aarch32 ARMv7 may not support Virtualization Extensions 2017-11-08 14:38:33 +01:00
aarch64 Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
backtrace backtrace: Strip PAC field when PAUTH is enabled 2019-07-17 10:43:48 +01:00
bl_common.c Correctly check for support of Address Authentication 2019-03-01 10:13:39 +00:00
desc_image_load.c plat/arm: Save BL2 descriptors to reserved memory. 2019-01-23 16:01:19 +00:00
fdt_wrappers.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
image_decompress.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
runtime_svc.c Remove support for the SMC Calling Convention 2.0 2019-01-30 16:01:49 +00:00
tf_log.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00