Commit e4d9e6bb authored by Julien Thierry's avatar Julien Thierry Committed by Greg Kroah-Hartman
Browse files

arm64: insn: Add barrier encodings



[ Upstream commit d4b21733 ]

Create necessary functions to encode/decode aarch64 barrier
instructions.

DSB needs special case handling as it has multiple encodings.

Signed-off-by: default avatarJulien Thierry <jthierry@redhat.com>
Link: https://lore.kernel.org/r/20210303170536.1838032-7-jthierry@redhat.com


[will: Don't reject DSB #4]
Signed-off-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: default avatarPu Lehui <pulehui@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9c839c68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment