android_kernel_samsung_a7y1.../arch/x86/boot
Ard Biesheuvel 91edbf3696 x86/efistub: Disable paging at mixed mode entry
commit 4911ee401b7ceff8f38e0ac597cbf503d71e690c upstream.

The EFI mixed mode entry code goes through the ordinary startup_32()
routine before jumping into the kernel's EFI boot code in 64-bit
mode. The 32-bit startup code must be entered with paging disabled,
but this is not documented as a requirement for the EFI handover
protocol, and so we should disable paging explicitly when entering
the kernel from 32-bit EFI firmware.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Cc: <stable@vger.kernel.org>
Cc: Arvind Sankar <nivedita@alum.mit.edu>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: https://lkml.kernel.org/r/20191224132909.102540-4-ardb@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:37:47 +02:00
..
compressed x86/efistub: Disable paging at mixed mode entry 2020-04-07 13:37:47 +02:00
tools A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
a20.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bioscall.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bitops.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
boot.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cmdline.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
code16gcc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
copy.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpu.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpucheck.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuflags.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuflags.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ctype.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
early_serial_console.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
edd.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
header.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
install.sh A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
main.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile x86/build: Specify elf_i386 linker emulation explicitly for i386 objects 2020-04-06 14:56:37 +02:00
memory.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mkcpustr.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mtools.conf.in A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pmjump.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
printf.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
regs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
setup.ld A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
string.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
string.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tty.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
version.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vesa.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
video-bios.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
video-mode.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
video-vesa.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
video-vga.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
video.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
video.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30