forked from microsoft/WSL2-Linux-Kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linu…
…x/kernel/git/tip/tip Pull x86/efi changes from Peter Anvin: "The bulk of these changes are cleaning up the efivars handling and breaking it up into a tree of files. There are a number of fixes as well. The entire changeset is pretty big, but most of it is code movement. Several of these commits are quite new; the history got very messed up due to a mismerge with the urgent changes for rc8 which completely broke IA64, and so Ingo requested that we rebase it to straighten it out." * 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: efi: remove "kfree(NULL)" efi: locking fix in efivar_entry_set_safe() efi, pstore: Read data from variable store before memcpy() efi, pstore: Remove entry from list when erasing efi, pstore: Initialise 'entry' before iterating efi: split efisubsystem from efivars efivarfs: Move to fs/efivarfs efivars: Move pstore code into the new EFI directory efivars: efivar_entry API efivars: Keep a private global pointer to efivars efi: move utf16 string functions to efi.h x86, efi: Make efi_memblock_x86_reserve_range more readable efivarfs: convert to use simple_open()
- Loading branch information
Showing
22 changed files
with
2,796 additions
and
2,190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,6 +110,7 @@ config DMI | |
|
||
config EFI | ||
bool | ||
select UCS2_STRING | ||
default y | ||
|
||
config SCHED_OMIT_FRAME_POINTER | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
menu "EFI (Extensible Firmware Interface) Support" | ||
depends on EFI | ||
|
||
config EFI_VARS | ||
tristate "EFI Variable Support via sysfs" | ||
depends on EFI | ||
default n | ||
help | ||
If you say Y here, you are able to get EFI (Extensible Firmware | ||
Interface) variable information via sysfs. You may read, | ||
write, create, and destroy EFI variables through this interface. | ||
|
||
Note that using this driver in concert with efibootmgr requires | ||
at least test release version 0.5.0-test3 or later, which is | ||
available from Matt Domsch's website located at: | ||
<http://linux.dell.com/efibootmgr/testing/efibootmgr-0.5.0-test3.tar.gz> | ||
|
||
Subsequent efibootmgr releases may be found at: | ||
<http://linux.dell.com/efibootmgr> | ||
|
||
config EFI_VARS_PSTORE | ||
tristate "Register efivars backend for pstore" | ||
depends on EFI_VARS && PSTORE | ||
default y | ||
help | ||
Say Y here to enable use efivars as a backend to pstore. This | ||
will allow writing console messages, crash dumps, or anything | ||
else supported by pstore to EFI variables. | ||
|
||
config EFI_VARS_PSTORE_DEFAULT_DISABLE | ||
bool "Disable using efivars as a pstore backend by default" | ||
depends on EFI_VARS_PSTORE | ||
default n | ||
help | ||
Saying Y here will disable the use of efivars as a storage | ||
backend for pstore by default. This setting can be overridden | ||
using the efivars module's pstore_disable parameter. | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# | ||
# Makefile for linux kernel | ||
# | ||
obj-y += efi.o vars.o | ||
obj-$(CONFIG_EFI_VARS) += efivars.o | ||
obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o |
Oops, something went wrong.