android_kernel_xiaomi_sm8350/arch/x86_64
Eric W. Biederman 26374c7b7d [PATCH] Reload CS when startup_64 is used.
In long mode the %cs is largely a relic.  However there are a few cases
like iret where it matters that we have a valid value.  Without this
patch it is possible to enter the kernel in startup_64 without setting
%cs to a valid value.  With this patch we don't care what %cs value
we enter the kernel with, so long as the cs shadow register indicates
it is a privileged code segment.

Thanks to Magnus Damm for finding this problem and posting the
first workable patch.  I have moved the jump to set %cs down a
few instructions so we don't need to take an extra jump.  Which
keeps the code simpler.

Signed-of-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andi Kleen <ak@suse.de>
2006-09-26 10:52:38 +02:00
..
boot [PATCH] Fix boot code head.S warning 2006-09-26 10:52:37 +02:00
crypto [CRYPTO] api: Get rid of flags argument to setkey 2006-09-21 11:41:02 +10:00
ia32 [PATCH] Fix sparse warnings in compat aout code 2006-09-26 10:52:33 +02:00
kernel [PATCH] Reload CS when startup_64 is used. 2006-09-26 10:52:38 +02:00
lib [PATCH] annotate arch/x86_64/lib/*.S 2006-09-26 10:52:32 +02:00
mm [PATCH] Use proper accessors to change PSE bits in change_page_attr() 2006-09-26 10:52:37 +02:00
oprofile [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
pci [PATCH] fix bus numbering format in mmconfig warning 2006-09-26 10:52:35 +02:00
defconfig [PATCH] Update defconfig 2006-09-26 10:52:26 +02:00
Kconfig [PATCH] i386/x86-64: Improve Kconfig description of CRASH_DUMP 2006-09-26 10:52:35 +02:00
Kconfig.debug [PATCH] lockdep: irqtrace subsystem, x86_64 support 2006-07-03 15:27:03 -07:00
Makefile [PATCH] x86: Detect CFI support in the assembler at runtime 2006-09-26 10:52:30 +02:00