diff options
| author | David Kaplan <david.kaplan@amd.com> | 2025-10-03 12:19:36 -0500 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-10-21 12:32:28 +0200 |
| commit | 204ced4108f5d38f6804968fd9543cc69c3f8da6 (patch) | |
| tree | 9401c35f0e97945037f7101a474f24173d23d7fc /arch/x86/kernel/cpu/resctrl/monitor.c | |
| parent | 876f0d43af78639790bee0e57b39d498ae35adcf (diff) | |
x86/bugs: Qualify RETBLEED_INTEL_MSG
When retbleed mitigation is disabled, the kernel already prints an info
message that the system is vulnerable. Recent code restructuring also
inadvertently led to RETBLEED_INTEL_MSG being printed as an error, which is
unnecessary as retbleed mitigation was already explicitly disabled (by config
option, cmdline, etc.).
Qualify this print statement so the warning is not printed unless an actual
retbleed mitigation was selected and is being disabled due to incompatibility
with spectre_v2.
Fixes: e3b78a7ad5ea ("x86/bugs: Restructure retbleed mitigation")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220624
Signed-off-by: David Kaplan <david.kaplan@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20251003171936.155391-1-david.kaplan@amd.com
Diffstat (limited to 'arch/x86/kernel/cpu/resctrl/monitor.c')
0 files changed, 0 insertions, 0 deletions
