]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/cpu: Log CPU flag cmdline hacks more verbosely
authorBrendan Jackman <jackmanb@google.com>
Mon, 3 Mar 2025 15:45:39 +0000 (15:45 +0000)
committerIngo Molnar <mingo@kernel.org>
Tue, 4 Mar 2025 10:15:12 +0000 (11:15 +0100)
commitd0ba9bcf001c7907e4755b0e498f5ff9d1a228ef
tree9226779fee84195a3dcf65921689bcb811cdd905
parent681955761bf6845241c6d33e2fb222f5e92c8b89
x86/cpu: Log CPU flag cmdline hacks more verbosely

Since using these options is very dangerous, make details as visible as
possible:

- Instead of a single message for each of the cmdline options, print a
  separate pr_warn() for each individual flag.

- Say explicitly whether the flag is a "feature" or a "bug".

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Brendan Jackman <jackmanb@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20250303-setcpuid-taint-louder-v1-3-8d255032cb4c@google.com
arch/x86/kernel/cpu/common.c