]> Git Repo - linux.git/commit
efi: Make efi_rts_work accessible to efi page fault handler
authorSai Praneeth <[email protected]>
Tue, 11 Sep 2018 19:15:21 +0000 (12:15 -0700)
committerArd Biesheuvel <[email protected]>
Wed, 26 Sep 2018 10:14:50 +0000 (12:14 +0200)
commit9dbbedaa6171247c4c7c40b83f05b200a117c2e0
treef2cc64b3a22a8b678aa8bb4d21b0f49d5f6ae749
parentbcb31c6225c2420344ebc1e87834252b8cf4923c
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 <[email protected]>
Suggested-by: Matt Fleming <[email protected]>
Based-on-code-from: Ricardo Neri <[email protected]>
Signed-off-by: Sai Praneeth Prakhya <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
drivers/firmware/efi/runtime-wrappers.c
include/linux/efi.h
This page took 0.054804 seconds and 4 git commands to generate.