]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: cpu_errata: Add Kryo to Falkor 1003 errata
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 13 Dec 2017 22:19:37 +0000 (14:19 -0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Sun, 14 Jan 2018 18:49:52 +0000 (18:49 +0000)
commit87a74411cdbd53d15a4855f12a24857fd491ca3a
tree41bcf243c11ea725c6faf92f0cc779b8d1fe0fc3
parent6d059b4a2df5a424f2c2194d5bd651750fb50402
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.

Fixes: a8939aa0cdc7 ("arm64: Work around Falkor erratum 1003")
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Documentation/arm64/silicon-errata.txt
arch/arm64/include/asm/cputype.h
arch/arm64/kernel/cpu_errata.c