OpenCloudOS-Kernel/arch/x86/power
Borislav Petkov 2632daebaf x86/cpu: Restore AMD's DE_CFG MSR after resume
DE_CFG contains the LFENCE serializing bit, restore it on resume too.
This is relevant to older families due to the way how they do S3.

Unify and correct naming while at it.

Fixes: e4d0e84e49 ("x86/cpu/AMD: Make LFENCE a serializing instruction")
Reported-by: Andrew Cooper <Andrew.Cooper3@citrix.com>
Reported-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2022-11-15 10:15:58 -08:00
..
Makefile clang-lto for v5.12-rc1 (part2) 2021-02-23 15:13:45 -08:00
cpu.c x86/cpu: Restore AMD's DE_CFG MSR after resume 2022-11-15 10:15:58 -08:00
hibernate.c PM: hibernate: x86: Use crc32 instead of md5 for hibernation e820 integrity check 2021-04-21 19:03:37 +02:00
hibernate_32.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
hibernate_64.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
hibernate_asm_32.S x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00
hibernate_asm_64.S x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00