Skip to content

Commit 8d0f019

Browse files
author
Marc Zyngier
committed
arm64: Add missing Set/Way CMO encodings
Add the missing Set/Way CMOs that apply to tagged memory. Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Steven Price <steven.price@arm.com> Reviewed-by: Oliver Upton <oliver.upton@linux.dev> Link: https://lore.kernel.org/r/20230515204601.1270428-2-maz@kernel.org
1 parent 09cce60 commit 8d0f019

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arch/arm64/include/asm/sysreg.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,14 @@
115115
#define SB_BARRIER_INSN __SYS_BARRIER_INSN(0, 7, 31)
116116

117117
#define SYS_DC_ISW sys_insn(1, 0, 7, 6, 2)
118+
#define SYS_DC_IGSW sys_insn(1, 0, 7, 6, 4)
119+
#define SYS_DC_IGDSW sys_insn(1, 0, 7, 6, 6)
118120
#define SYS_DC_CSW sys_insn(1, 0, 7, 10, 2)
121+
#define SYS_DC_CGSW sys_insn(1, 0, 7, 10, 4)
122+
#define SYS_DC_CGDSW sys_insn(1, 0, 7, 10, 6)
119123
#define SYS_DC_CISW sys_insn(1, 0, 7, 14, 2)
124+
#define SYS_DC_CIGSW sys_insn(1, 0, 7, 14, 4)
125+
#define SYS_DC_CIGDSW sys_insn(1, 0, 7, 14, 6)
120126

121127
/*
122128
* Automatically generated definitions for system registers, the

0 commit comments

Comments
 (0)