android_kernel_xiaomi_sm8350/drivers/acpi
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
..
dispatcher ACPICA: Fix to allow zero-length ASL field declarations 2008-06-11 19:13:47 -04:00
events Merge branches 'release', 'acpica', 'bugzilla-10224', 'bugzilla-9772', 'bugzilla-9916', 'ec', 'eeepc', 'idle', 'misc', 'pm-legacy', 'sysfs-links-2.6.26', 'thermal', 'thinkpad' and 'video' into release 2008-04-30 13:58:00 -04:00
executer ACPICA: Fix for Load operator, load table at the namespace root 2008-06-11 19:13:47 -04:00
hardware ACPICA: Fix to make _SST method optional 2008-06-11 19:13:47 -04:00
namespace ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
parser ACPICA: Fix for access to deleted object <regression> 2008-06-11 19:13:47 -04:00
resources ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
sleep x86 ACPI: normalize segment descriptor register on resume 2008-07-05 08:25:40 +02:00
tables ACPICA: Ignore ACPI table signature for Load() operator 2008-06-11 19:13:47 -04:00
utilities ACPICA: fix stray va_end() caused by mis-merge 2008-06-11 19:13:47 -04:00
ac.c ACPI: no AC status notification 2008-06-14 01:26:37 -04:00
acpi_memhotplug.c
asus_acpi.c
battery.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
bay.c dock: bay: Don't call acpi_walk_namespace() when ACPI is disabled. 2008-06-26 01:55:27 -04:00
blacklist.c
bus.c x86: validate against acpi motherboard resources 2008-04-26 23:41:03 +02:00
button.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
cm_sbs.c
container.c
debug.c
dock.c dock: bay: Don't call acpi_walk_namespace() when ACPI is disabled. 2008-06-26 01:55:27 -04:00
ec.c ACPI: EC: Use msleep instead of udelay while waiting for event. 2008-06-11 19:13:45 -04:00
event.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
fan.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-04-30 11:52:52 -07:00
glue.c ACPI: don't walk tables if ACPI was disabled 2008-06-26 01:55:18 -04:00
Kconfig thermal: add the support for building the generic thermal as a module 2008-04-29 02:44:00 -04:00
Makefile
numa.c ACPI: handle invalid ACPI SLIT table 2008-06-11 19:13:46 -04:00
osl.c flush kacpi_notify_wq before removing notify handler 2008-04-29 02:34:42 -04:00
pci_bind.c
pci_irq.c ACPI: fix Medion _PRT quirk (use "ISA_", not "ISA") 2008-03-25 15:21:30 -07:00
pci_link.c
pci_root.c
power.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-04-30 11:52:52 -07:00
processor_core.c proper prototype for acpi_processor_tstate_has_changed() 2008-06-11 19:13:46 -04:00
processor_idle.c cpuidle acpi driver: fix oops on AC<->DC 2008-06-11 19:13:45 -04:00
processor_perflib.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
processor_thermal.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
processor_throttling.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
sbs.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
sbshc.c ACPI: SBS: remove typo from sbchc.c 2008-03-18 05:13:14 -04:00
sbshc.h
scan.c Merge branches 'release', 'acpica', 'bugzilla-10224', 'bugzilla-9772', 'bugzilla-9916', 'ec', 'eeepc', 'idle', 'misc', 'pm-legacy', 'sysfs-links-2.6.26', 'thermal', 'thinkpad' and 'video' into release 2008-04-30 13:58:00 -04:00
system.c ACPI: use memory_read_from_buffer() 2008-06-11 19:13:47 -04:00
tables.c
thermal.c ACPI: Reject below-freezing temperatures as invalid critical temperatures 2008-06-11 19:13:47 -04:00
toshiba_acpi.c
utils.c ACPICA: Fixes for external Reference Objects 2008-04-22 19:08:51 -04:00
video.c ACPI Exception (video-1721): UNKNOWN_STATUS_CODE, Cant attach device 2008-06-14 01:01:18 -04:00
wmi.c