Thread (70 messages) 70 messages, 4 authors, 2023-08-15

Re: [PATCH v3 03/27] arm64: Add missing DC ZVA/GVA/GZVA encodings

From: Jing Zhang <hidden>
Date: 2023-08-10 04:29:45
Also in: kvm, kvmarm

On Tue, Aug 8, 2023 at 4:47 AM Marc Zyngier [off-list ref] wrote:
quoted hunk ↗ jump to hunk
Add the missing DC *VA encodings.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Miguel Luis <redacted>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
---
 arch/arm64/include/asm/sysreg.h | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h
index ed2739897859..5084add86897 100644
--- a/arch/arm64/include/asm/sysreg.h
+++ b/arch/arm64/include/asm/sysreg.h
@@ -150,6 +150,11 @@
 #define SYS_DC_CIGVAC                  sys_insn(1, 3, 7, 14, 3)
 #define SYS_DC_CIGDVAC                 sys_insn(1, 3, 7, 14, 5)

+/* Data cache zero operations */
+#define SYS_DC_ZVA                     sys_insn(1, 3, 7, 4, 1)
+#define SYS_DC_GVA                     sys_insn(1, 3, 7, 4, 3)
+#define SYS_DC_GZVA                    sys_insn(1, 3, 7, 4, 4)
+
Reviewed-by: Jing Zhang <redacted>
 /*
  * Automatically generated definitions for system registers, the
  * manual encodings below are in the process of being converted to
--
2.34.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help