android_kernel_xiaomi_sdm845/arch
Shaohua Li bdfe6b7c68 pm: acpi hibernation: utilize hardware signature
ACPI defines a hardware signature.  BIOS calculates the signature according to
hardware configure and if hardware changes while hibernated, the signature
will change.  In that case, S4 resume should fail.

Still, there may be systems on which this mechanism does not work correctly,
so it is better to provide a workaround for them.  For this reason, add a new
switch to the acpi_sleep= command line argument allowing one to disable
hardware signature checking.

[shaohua.li@intel.com: build fix]
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Len Brown <lenb@kernel.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: <Valdis.Kletnieks@vt.edu>
Cc: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:24 -07:00
..
alpha alpha: remove the unused ALPHA_CORE_AGP option 2008-07-24 10:47:22 -07:00
arm PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
avr32 PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
blackfin remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
cris mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
frv remove include/linux/pm_legacy.h 2008-07-24 10:47:22 -07:00
h8300 PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
ia64 bootmem: replace node_boot_start in struct bootmem_data 2008-07-24 10:47:20 -07:00
m32r bootmem: replace node_boot_start in struct bootmem_data 2008-07-24 10:47:20 -07:00
m68k PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
m68knommu PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
mips remove include/linux/pm_legacy.h 2008-07-24 10:47:22 -07:00
mn10300 bootmem: replace node_boot_start in struct bootmem_data 2008-07-24 10:47:20 -07:00
parisc mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
powerpc PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
s390 hugetlb: introduce pud_huge 2008-07-24 10:47:18 -07:00
sh bootmem: replace node_boot_start in struct bootmem_data 2008-07-24 10:47:20 -07:00
sparc mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
sparc64 PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
um UML - Fix boot crash 2008-07-23 09:36:56 -07:00
v850 mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
x86 pm: acpi hibernation: utilize hardware signature 2008-07-24 10:47:24 -07:00
xtensa PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig access_process_vm device memory infrastructure 2008-07-24 10:47:15 -07:00