Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Mon Jul 24 18:56:41 2023 +0200
Linux 6.4.6
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Author: Borislav Petkov (AMD) <bp@alien8.de>
Date: Sat Jul 15 13:41:28 2023 +0200
x86/cpu/amd: Add a Zenbleed fix
commit 522b1d69219d8f083173819fde04f994aa051a98 upstream.
Add a fix for the Zen2 VZEROUPPER data corruption bug where under
certain circumstances executing VZEROUPPER can cause register
corruption or leak data.
The optimal fix is through microcode but in the case the proper
microcode revision has not been applied, enable a fallback fix using
a chicken bit.
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Author: Borislav Petkov (AMD) <bp@alien8.de>
Date: Sat Jul 15 13:31:32 2023 +0200
x86/cpu/amd: Move the errata checking functionality up
commit 8b6f687743dacce83dbb0c7cfacf88bab00f808a upstream.
Avoid new and remove old forward declarations.
No functional changes.
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>