Skip to content

Commit a04fbfb

Browse files
Sticklyman1936ctmarinas
authored andcommitted
arm64/sysreg: Add ICH_VMCR_EL2
Add the ICH_VMCR_EL2 register, which is required for the upcoming GICv5 KVM support. This register has two different field encodings, based on if it is used for GICv3 or GICv5-based VMs. The GICv5-specific field encodings are generated with a FEAT_GCIE prefix. This register is already described in the GICv3 KVM code directly. This will be ported across to use the generated encodings as part of an upcoming change. Signed-off-by: Sascha Bischoff <sascha.bischoff@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent a0b130e commit a04fbfb

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

arch/arm64/tools/sysreg

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4669,6 +4669,27 @@ Field 1 V3
46694669
Field 0 En
46704670
EndSysreg
46714671

4672+
Sysreg ICH_VMCR_EL2 3 4 12 11 7
4673+
Prefix FEAT_GCIE
4674+
Res0 63:32
4675+
Field 31:27 VPMR
4676+
Res0 26:1
4677+
Field 0 EN
4678+
EndPrefix
4679+
Res0 63:32
4680+
Field 31:24 VPMR
4681+
Field 23:21 VBPR0
4682+
Field 20:18 VBPR1
4683+
Res0 17:10
4684+
Field 9 VEOIM
4685+
Res0 8:5
4686+
Field 4 VCBPR
4687+
Field 3 VFIQEn
4688+
Field 2 VAckCtl
4689+
Field 1 VENG1
4690+
Field 0 VENG0
4691+
EndSysreg
4692+
46724693
Sysreg CONTEXTIDR_EL2 3 4 13 0 1
46734694
Fields CONTEXTIDR_ELx
46744695
EndSysreg

0 commit comments

Comments
 (0)