Home
last modified time | relevance | path

Searched hist:"14 e4ec9c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/lib/
H A Dmemmove_64.S14e4ec9c Sun Feb 26 14:04:26 CST 2023 Borislav Petkov (AMD) <bp@alien8.de> 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: Daniel Verkamp <dverkamp@chromium.org>
Reported-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/Y/yK0dyzI0MMdTie@zn.tnic