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

Commit 16995f67 authored by Stephen Boyd's avatar Stephen Boyd Committed by Gerrit - the friendly Code Review server
Browse files

arm64: cpu_errata: Add Kryo to Falkor 1003 errata



The Kryo CPUs are also affected by the Falkor 1003 errata, so
we need to do the same workaround on Kryo CPUs. The MIDR is
slightly more complicated here, where the PART number is not
always the same when looking at all the bits from 15 to 4. Drop
the lower 8 bits and just look at the top 4 to see if it's '2'
and then consider those as Kryo CPUs. This covers all the
combinations without having to list them all out.

Change-Id: I076e583462e6b71172e9d7dc282703eb8a52499d
Fixes: 38fd94b0275c ("arm64: Work around Falkor erratum 1003")
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Git-commit: bb48711800e6d7aedbf4dfd3367e0ab1270a6bea
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux


[neeraju@codeaurora.org: resolve merge conflicts.
 Take only the Kryo MIDR definition part.]
Signed-off-by: default avatarNeeraj Upadhyay <neeraju@codeaurora.org>
parent 41350121
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment