Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b3fa6bf authored by Kyle Yan's avatar Kyle Yan
Browse files

arm64: Apply Erratum 1024718 to Kryo3xx Cores



Commit <3f571543524cc8d>("arm64: Add work around for Arm Cortex-A55
Erratum 1024718") hardcodes a mismatching MIDR value compared to
our Kryo3xx little cores. Update the MIDR to ours accordingly.

Change-Id: I1e09914232c60c5e035379dbe34feed92022677c
Signed-off-by: default avatarKyle Yan <kyan@codeaurora.org>
parent 55967afa
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -291,9 +291,9 @@ ENTRY(__cpu_setup)
	cmp	x9, #2
	b.lt	1f
#ifdef CONFIG_ARM64_ERRATUM_1024718
	/* Disable hardware DBM on Cortex-A55 r0p0, r0p1 & r1p0 */
	cpu_midr_match MIDR_CORTEX_A55, MIDR_CPU_VAR_REV(0, 0),\
			MIDR_CPU_VAR_REV(1, 0), x1, x2, x3, x4
	/* Disable hardware DBM on Kryo3S */
	cpu_midr_match MIDR_KRYO3S, MIDR_CPU_VAR_REV(7, 12), \
			MIDR_CPU_VAR_REV(7, 13), x1, x2, x3, x4
	cbnz	x1, 1f
#endif
	orr	x10, x10, #TCR_HD		// hardware Dirty flag update