aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2023-01-23 13:46:00 +0000
committerCatalin Marinas <[email protected]>2023-01-24 11:49:43 +0000
commit2bbbb4015aa1af62f8002de86de019786ecf63a7 (patch)
treeb92f7a08983b3813a00ddcbce940803b774fede1 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent47a15aa544279d34e14e17ca3b5855e39b946cec (diff)
arm64: insn: Add helpers for BTI
In subsequent patches we'd like to check whether an instruction is a BTI. In preparation for this, add basic instruction helpers for BTI instructions. Per ARM DDI 0487H.a section C6.2.41, BTI is encoded in binary as follows, MSB to LSB: 1101 0101 000 0011 0010 0100 xx01 1111 Where the `xx` bits encode J/C/JC: 00 : (omitted) 01 : C 10 : J 11 : JC Signed-off-by: Mark Rutland <[email protected]> Cc: Florent Revest <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions