linux-bl808/arch/x86
Andy Lutomirski c46f52231e x86/{fault,efi}: Fix and rename efi_recover_from_page_fault()
efi_recover_from_page_fault() doesn't recover -- it does a special EFI
mini-oops.  Rename it to make it clear that it crashes.

While renaming it, I noticed a blatant bug: a page fault oops in a
different thread happening concurrently with an EFI runtime service call
would be misinterpreted as an EFI page fault.  Fix that.

This isn't quite exact. The situation could be improved by using a
special CS for calls into EFI.

 [ bp: Massage commit message and simplify in interrupt check. ]

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/f43b1e80830dc78ed60ed8b0826f4f189254570c.1612924255.git.luto@kernel.org
2021-02-10 18:39:23 +01:00
..
boot EFI updates collected by Ard Biesheuvel: 2020-12-24 12:40:07 -08:00
configs
crypto
entry epoll: wire up syscall epoll_pwait2 2020-12-19 11:18:38 -08:00
events
hyperv
ia32
include x86/{fault,efi}: Fix and rename efi_recover_from_page_fault() 2021-02-10 18:39:23 +01:00
kernel A treewide cleanup of interrupt descriptor (ab)use with all sorts of racy 2020-12-24 13:50:23 -08:00
kvm ARM: 2020-12-20 10:44:05 -08:00
lib
math-emu
mm x86/{fault,efi}: Fix and rename efi_recover_from_page_fault() 2021-02-10 18:39:23 +01:00
net
oprofile
pci ARM: SoC drivers for v5.11 2020-12-16 16:38:41 -08:00
platform x86/{fault,efi}: Fix and rename efi_recover_from_page_fault() 2021-02-10 18:39:23 +01:00
power
purgatory
ras
realmode
tools
um
video
xen EFI updates collected by Ard Biesheuvel: 2020-12-24 12:40:07 -08:00
.gitignore
Kbuild
Kconfig Tracing updates for 5.11 2020-12-17 13:22:17 -08:00
Kconfig.assembler
Kconfig.cpu
Kconfig.debug
Makefile
Makefile.um
Makefile_32.cpu