WSL2-Linux-Kernel/arch/x86/kernel/acpi/realmode
H. Peter Anvin 4b4f7280d7 x86 ACPI: normalize segment descriptor register on resume
Some Dell laptops enter resume with apparent garbage in the segment
descriptor registers (almost certainly the result of a botched
transition from protected to real mode.)  The only way to clean that
up is to enter protected mode ourselves and clean out the descriptor
registers.

This fixes resume on Dell XPS M1210 and Dell D620.

Reference: http://bugzilla.kernel.org/show_bug.cgi?id=10927

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: pm list <linux-pm@lists.linux-foundation.org>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Tested-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-07-05 08:25:40 +02:00
..
.gitignore Update .gitignore files 2008-04-25 12:27:32 -07:00
Makefile kbuild, suspend, x86: fix rebuild of wakeup.bin 2008-05-04 20:04:45 +02:00
copy.S x86: move suspend wakeup code to C 2008-04-17 17:41:37 +02:00
video-bios.c x86: move suspend wakeup code to C 2008-04-17 17:41:37 +02:00
video-mode.c x86: move suspend wakeup code to C 2008-04-17 17:41:37 +02:00
video-vesa.c x86: move suspend wakeup code to C 2008-04-17 17:41:37 +02:00
video-vga.c x86: move suspend wakeup code to C 2008-04-17 17:41:37 +02:00
wakemain.c x86: move suspend wakeup code to C 2008-04-17 17:41:37 +02:00
wakeup.S x86 ACPI: normalize segment descriptor register on resume 2008-07-05 08:25:40 +02:00
wakeup.h x86 ACPI: normalize segment descriptor register on resume 2008-07-05 08:25:40 +02:00
wakeup.lds.S x86: wakeup.lds.S - section ordering fix 2008-05-12 21:27:51 +02:00