Files
android_kernel_xiaomi_sm8450/arch/arm64/include/asm
Will Deacon f969f03888 arm64: errata: Fix handling of 1418040 with late CPU onlining
In a surprising turn of events, it transpires that CPU capabilities
configured as ARM64_CPUCAP_WEAK_LOCAL_CPU_FEATURE are never set as the
result of late-onlining. Therefore our handling of erratum 1418040 does
not get activated if it is not required by any of the boot CPUs, even
though we allow late-onlining of an affected CPU.

In order to get things working again, replace the cpus_have_const_cap()
invocation with an explicit check for the current CPU using
this_cpu_has_cap().

Cc: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Cc: Stephen Boyd <swboyd@chromium.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201106114952.10032-1-will@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
2020-11-10 13:09:39 +00:00
..
2020-09-07 15:00:52 +01:00
2020-10-28 13:38:36 +00:00
2019-11-06 14:17:35 +00:00
2020-09-17 16:37:28 +01:00
2019-08-09 11:17:21 +01:00
2020-09-07 15:00:52 +01:00
2020-09-15 18:39:03 +01:00
2020-02-18 18:10:49 +00:00
2020-09-04 12:46:07 +01:00
2020-09-11 16:33:43 +01:00
2020-09-17 16:37:28 +01:00
2020-08-12 10:57:58 -07:00
2020-07-24 13:15:20 +01:00