]> www.infradead.org Git - users/hch/misc.git/commit
arm64: insn: Add support for encoding DSB
authorJames Morse <james.morse@arm.com>
Thu, 9 Dec 2021 15:12:19 +0000 (15:12 +0000)
committerJames Morse <james.morse@arm.com>
Thu, 8 May 2025 14:28:29 +0000 (15:28 +0100)
commit63de8abd97ddb9b758bd8f915ecbd18e1f1a87a0
tree886fb058b210e2e6981c792b5569dd633866c0bf
parent92a09c47464d040866cf2b4cd052bc60555185fb
arm64: insn: Add support for encoding DSB

To generate code in the eBPF epilogue that uses the DSB instruction,
insn.c needs a heler to encode the type and domain.

Re-use the crm encoding logic from the DMB instruction.

Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/insn.h
arch/arm64/lib/insn.c