Skip to content
Commit 14e4ec9c authored by Borislav Petkov (AMD)'s avatar Borislav Petkov (AMD)
Browse files

x86/lib/memmove: Decouple ERMS from FSRM



Up until now it was perceived that FSRM is an improvement to ERMS and
thus it was made dependent on latter.

However, there are AMD BIOSes out there which allow for disabling of
either features and thus preventing kernels from booting due to the CMP
disappearing and thus breaking the logic in the memmove() function.

Similar observation happens on some VM migration scenarios.

Patch the proper sequences depending on which feature is enabled.

Reported-by: default avatarDaniel Verkamp <dverkamp@chromium.org>
Reported-by: default avatarJiri Slaby <jirislaby@kernel.org>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/Y/yK0dyzI0MMdTie@zn.tnic
parent 270a69c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment