summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2023-01-23 14:46:00 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2023-01-24 12:49:43 +0100
commit2bbbb4015aa1af62f8002de86de019786ecf63a7 (patch)
treeb92f7a08983b3813a00ddcbce940803b774fede1 /drivers/media
parentarm64: Extend support for CONFIG_FUNCTION_ALIGNMENT (diff)
downloadlinux-2bbbb4015aa1af62f8002de86de019786ecf63a7.tar.xz
linux-2bbbb4015aa1af62f8002de86de019786ecf63a7.zip
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 <mark.rutland@arm.com> Cc: Florent Revest <revest@chromium.org> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20230123134603.1064407-6-mark.rutland@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions