diff options
author | Mark Rutland <[email protected]> | 2018-12-07 18:39:25 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2018-12-13 16:42:46 +0000 |
commit | 7503197562567b57ec14feb3a9d5400ebc56812f (patch) | |
tree | 1cf09bc7b7ddac120bb8803735f0b2d3826bdc47 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6984eb47d5c1a74bb44467ee4eee22d680f10785 (diff) |
arm64: add basic pointer authentication support
This patch adds basic support for pointer authentication, allowing
userspace to make use of APIAKey, APIBKey, APDAKey, APDBKey, and
APGAKey. The kernel maintains key values for each process (shared by all
threads within), which are initialised to random values at exec() time.
The ID_AA64ISAR1_EL1.{APA,API,GPA,GPI} fields are exposed to userspace,
to describe that pointer authentication instructions are available and
that the kernel is managing the keys. Two new hwcaps are added for the
same reason: PACA (for address authentication) and PACG (for generic
authentication).
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Mark Rutland <[email protected]>
Signed-off-by: Kristina Martsenko <[email protected]>
Tested-by: Adam Wallis <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Ramana Radhakrishnan <[email protected]>
Cc: Suzuki K Poulose <[email protected]>
Cc: Will Deacon <[email protected]>
[will: Fix sizeof() usage and unroll address key initialisation]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions