diff options
author | Sai Praneeth <sai.praneeth.prakhya@intel.com> | 2018-09-11 21:15:21 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-09-26 12:14:50 +0200 |
commit | 9dbbedaa6171247c4c7c40b83f05b200a117c2e0 (patch) | |
tree | f2cc64b3a22a8b678aa8bb4d21b0f49d5f6ae749 /arch/x86/include/asm/efi.h | |
parent | efi/efi_test: add exporting ResetSystem runtime service (diff) | |
download | linux-9dbbedaa6171247c4c7c40b83f05b200a117c2e0.tar.xz linux-9dbbedaa6171247c4c7c40b83f05b200a117c2e0.zip |
efi: Make efi_rts_work accessible to efi page fault handler
After the kernel has booted, if any accesses by firmware causes a page
fault, the efi page fault handler would freeze efi_rts_wq and schedules
a new process. To do this, the efi page fault handler needs
efi_rts_work. Hence, make it accessible.
There will be no race conditions in accessing this structure, because
all the calls to efi runtime services are already serialized.
Tested-by: Bhupesh Sharma <bhsharma@redhat.com>
Suggested-by: Matt Fleming <matt@codeblueprint.co.uk>
Based-on-code-from: Ricardo Neri <ricardo.neri@intel.com>
Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'arch/x86/include/asm/efi.h')
0 files changed, 0 insertions, 0 deletions