Skip to content

Commit b8fc780

Browse files
brooniewilldeacon
authored andcommitted
arm64: cpufeature: Add missing .field_width for GIC system registers
This was missed when making specification of a field standard. Fixes: 0a2eec8 ("arm64: cpufeature: Always specify and use a field width for capabilities") Reported-by: Qian Cai <quic_qiancai@quicinc.com> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20220302134225.159217-1-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
1 parent 0a32c88 commit b8fc780

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm64/kernel/cpufeature.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,6 +1947,7 @@ static const struct arm64_cpu_capabilities arm64_features[] = {
19471947
.matches = has_useable_gicv3_cpuif,
19481948
.sys_reg = SYS_ID_AA64PFR0_EL1,
19491949
.field_pos = ID_AA64PFR0_GIC_SHIFT,
1950+
.field_width = 4,
19501951
.sign = FTR_UNSIGNED,
19511952
.min_field_value = 1,
19521953
},

0 commit comments

Comments
 (0)