OSDN Git Service

docs: Update documentation to reflect what TAINT_CPU_OUT_OF_SPEC means
authorMathieu Chouquet-Stringer <me@mathieu.digital>
Wed, 2 Dec 2020 15:32:43 +0000 (16:32 +0100)
committerJonathan Corbet <corbet@lwn.net>
Tue, 8 Dec 2020 17:53:58 +0000 (10:53 -0700)
commit547f574fd9d5e3925d47fd44decbf6ab6df94b0e
treed133bf10db8dee8d34195e36f64b7fa734e87053
parent907d1f143b0ef6e46bd25b595e9b4f2d20ae869b
docs: Update documentation to reflect what TAINT_CPU_OUT_OF_SPEC means

Here's a patch updating the meaning of TAINT_CPU_OUT_OF_SPEC after
Borislav introduced changes in a7e1f67ed29f and upcoming patches in tip.

TAINT_CPU_OUT_OF_SPEC now means a bit more what it implies as the
flag isn't set just because of a CPU misconfiguration or mismatch.
Historically it was for SMP kernel oops on an officially SMP incapable
processor but now it also covers CPUs whose MSRs have been incorrectly
poked at from userspace, drivers being used on non supported
architectures, broken firmware, mismatched CPUs, ...

Update documentation and script to reflect that.

Signed-off-by: Mathieu Chouquet-Stringer <me@mathieu.digital>
Link: https://lore.kernel.org/r/20201202153244.709752-1-me@mathieu.digital
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/sysctl/kernel.rst
Documentation/admin-guide/tainted-kernels.rst
tools/debugging/kernel-chktaint