File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 8
8
#define ARM64_ASM_PREAMBLE
9
9
#endif
10
10
11
- /*
12
- * The EL0/EL1 pointer bits used by a pointer authentication code.
13
- * This is dependent on TBI0/TBI1 being enabled, or bits 63:56 would also apply.
14
- */
15
- #define ptrauth_user_pac_mask () GENMASK_ULL(54, vabits_actual)
16
- #define ptrauth_kernel_pac_mask () GENMASK_ULL(63, vabits_actual)
17
-
18
11
#define xpaclri (ptr ) \
19
12
({ \
20
13
register unsigned long __xpaclri_ptr asm("x30") = (ptr); \
Original file line number Diff line number Diff line change 10
10
#include <asm/memory.h>
11
11
#include <asm/sysreg.h>
12
12
13
+ /*
14
+ * The EL0/EL1 pointer bits used by a pointer authentication code.
15
+ * This is dependent on TBI0/TBI1 being enabled, or bits 63:56 would also apply.
16
+ */
17
+ #define ptrauth_user_pac_mask () GENMASK_ULL(54, vabits_actual)
18
+ #define ptrauth_kernel_pac_mask () GENMASK_ULL(63, vabits_actual)
19
+
13
20
#define PR_PAC_ENABLED_KEYS_MASK \
14
21
(PR_PAC_APIAKEY | PR_PAC_APIBKEY | PR_PAC_APDAKEY | PR_PAC_APDBKEY)
15
22
Original file line number Diff line number Diff line change 8
8
#include <asm/cpufeature.h>
9
9
#include <asm/memory.h>
10
10
#include <asm/pgtable-hwdef.h>
11
+ #include <asm/pointer_auth.h>
11
12
12
13
static inline u64 get_tcr_el1_t1sz (void );
13
14
You can’t perform that action at this time.
0 commit comments