Commit 3fde2999 authored by Will Deacon's avatar Will Deacon

arm64: cpufeature: Don't dump useless backtrace on CPU_OUT_OF_SPEC

Unfortunately, it turns out that mismatched CPU features in big.LITTLE
systems are starting to appear in the wild. Whilst we should continue to
taint the kernel with CPU_OUT_OF_SPEC for features that differ in ways
that we can't fix up, dumping a useless backtrace out of the cpufeature
code is pointless and irritating.

This patch removes the backtrace from the taint.
Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 6efd8499
...@@ -639,8 +639,8 @@ void update_cpu_features(int cpu, ...@@ -639,8 +639,8 @@ void update_cpu_features(int cpu,
* Mismatched CPU features are a recipe for disaster. Don't even * Mismatched CPU features are a recipe for disaster. Don't even
* pretend to support them. * pretend to support them.
*/ */
WARN_TAINT_ONCE(taint, TAINT_CPU_OUT_OF_SPEC, pr_warn_once("Unsupported CPU feature variation detected.\n");
"Unsupported CPU feature variation.\n"); add_taint(TAINT_CPU_OUT_OF_SPEC, LOCKDEP_STILL_OK);
} }
u64 read_sanitised_ftr_reg(u32 id) u64 read_sanitised_ftr_reg(u32 id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment