]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: cpufeature: Add "or" to mitigations for multiple errata
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 12 May 2020 14:52:55 +0000 (16:52 +0200)
committerWill Deacon <will@kernel.org>
Tue, 12 May 2020 17:37:13 +0000 (18:37 +0100)
commit4f3c590ebded284a1bf349d500b8a0b6e37ae677
treece882dfa7cb6ad1d186990cf0892790e64c55d04
parent47ef29c57546088330aa2c10fc07e94c7449f85d
arm64: cpufeature: Add "or" to mitigations for multiple errata

Several actions are not mitigations for a single erratum, but for
multiple errata.  However, printing a line like

    CPU features: detected: ARM errata 11655221530923

may give the false impression that all three listed errata have been
detected.  This can confuse the user, who may think his Cortex-A55 is
suddenly affected by a Cortex-A76 erratum.

Add "or" to all descriptions for mitigations for multiple errata, to
make it clear that only one or more of the errata printed are
applicable, and not necessarily all of them.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200512145255.5520-1-geert+renesas@glider.be
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/cpu_errata.c