Home
last modified time | relevance | path

Searched hist:b8b31ad00046e163c40427758ec8cf976008e99b (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/common/backtrace/
H A Dbacktrace.cb8b31ad00046e163c40427758ec8cf976008e99b Tue Jul 09 10:40:55 UTC 2019 Louis Mayencourt <louis.mayencourt@arm.com> 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>