]> www.infradead.org Git - linux.git/commit
x86/bugs: Allow retbleed=stuff only on Intel
authorDavid Kaplan <david.kaplan@amd.com>
Fri, 18 Apr 2025 16:17:14 +0000 (11:17 -0500)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 28 Apr 2025 17:55:50 +0000 (19:55 +0200)
commit83d4b19331f3a5d5829d338a0a64b69c9c28b36e
tree155db3c6984b1ba06e2507e85030cb7e67c1c5fd
parent46d5925b8eb8c7a8d634147c23db24669cfc2f76
x86/bugs: Allow retbleed=stuff only on Intel

The retbleed=stuff mitigation is only applicable for Intel CPUs affected
by retbleed.  If this option is selected for another vendor, print a
warning and fall back to the AUTO option.

Signed-off-by: David Kaplan <david.kaplan@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://lore.kernel.org/20250418161721.1855190-10-david.kaplan@amd.com
arch/x86/kernel/cpu/bugs.c