kernel-fxtec-pro1x/arch/x86/power
konrad@kernel.org 4d681be3c3 x86, wakeup, sleep: Use pvops functions for changing GDT entries
We check the TSS descriptor before we try to dereference it.
Also we document what the value '9' actually means using the
AMD64 Architecture Programmer's Manual Volume 2, pg 90:
"Hex value 9: Available 64-bit TSS" and pg 91:
"The available 32-bit TSS (09h), which is redefined as the
available 64-bit TSS."

Without this, on Xen, where the GDT is available as R/O (to
protect the hypervisor from the guest modifying it), we end up
with a pagetable fault.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Link: http://lkml.kernel.org/r/1365194544-14648-5-git-send-email-konrad.wilk@oracle.com
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2013-04-11 15:41:15 -07:00
..
cpu.c x86, wakeup, sleep: Use pvops functions for changing GDT entries 2013-04-11 15:41:15 -07:00
hibernate_32.c x86-32, mm: Remove reference to resume_map_numa_kva() 2013-01-31 14:12:30 -08:00
hibernate_64.c x86, 64bit, mm: hibernate use generic mapping_init 2013-01-29 19:32:59 -08:00
hibernate_asm_32.S x86-32, resume: do a global tlb flush in S4 resume 2010-03-30 11:46:02 -07:00
hibernate_asm_64.S x86: use _types.h headers in asm where available 2009-02-13 11:35:01 -08:00
Makefile x86: Fix resume from suspend when CONFIG_CC_STACKPROTECTOR 2009-07-08 13:20:13 +02:00