ANDROID: clocksource/arm_arch_timer: Add workaround for erratum 858921
ARM64_ERRATUM_858921 is presently broken if an affected CPU is a secondary CPU. You may find more details here [1]. Till upstream converges to a acceptable solution, this patch introduces device tree level workaround "qcom,erratum-858921" for impacted QCOM SoCs. The downside of course is that workaround gets applied to non impacted CPUs as well on such systems. This would be reverted with proper fix, once it is concluded at [1]. 1. https://lore.kernel.org/linux-arm-kernel/20230113111648.1977473-1-maz@kernel.org/ Bug: 265374093 Change-Id: I0b17df3d7650787c58dd448455e3a5529bc2a671 Signed-off-by: Srinivasarao Pathipati <quic_spathi@quicinc.com>
This commit is contained in:
committed by
Todd Kjos
parent
6b4d1d8995
commit
28431ab172
@@ -478,6 +478,13 @@ static const struct arch_timer_erratum_workaround ool_workarounds[] = {
|
||||
.read_cntpct_el0 = arm64_858921_read_cntpct_el0,
|
||||
.read_cntvct_el0 = arm64_858921_read_cntvct_el0,
|
||||
},
|
||||
{
|
||||
.match_type = ate_match_dt,
|
||||
.id = "qcom,erratum-858921",
|
||||
.desc = "erratum 858921",
|
||||
.read_cntpct_el0 = arm64_858921_read_cntpct_el0,
|
||||
.read_cntvct_el0 = arm64_858921_read_cntvct_el0,
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_SUN50I_ERRATUM_UNKNOWN1
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user