Skip to contentSkip to conversation

EFI fix for v4.19-rc

GIT PULL New Ard Biesheuvel 2 participants 3 messages Sep 18, 2018 EFI

lore
Share & tools
lore
#0 lore raw

The following changes since commit 11da3a7f84f19c26da6f86af878298694ede0804:

Linux 4.19-rc3 (2018-09-09 17:26:43 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git efi-urgent

for you to fetch changes up to d310959365942b100f79b56bcce859968fe7ca9c:

efi/libstub/arm: default EFI_ARMSTUB_DTB_LOADER to y (2018-09-12 16:41:41 +0200)

----------------------------------------------------------------
Apply a fix from Scott to make the ARM stub's DTB loader opt-out rather than opt-in.

----------------------------------------------------------------
Scott Branden (1):
efi/libstub/arm: default EFI_ARMSTUB_DTB_LOADER to y

 drivers/firmware/efi/Kconfig | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
#1 lore raw

PATCH 1/1 efi/libstub/arm: default EFI_ARMSTUB_DTB_LOADER to y

From: Scott Branden <[email protected]>

Default EFI_ARMSTUB_DTB_LOADER to y to allow the dtb= command line parameter to function with efi loader.

Required for development purposes and to boot on existing bootloaders that do not support devicetree provided by the firmware or by the bootloader.

Fixes 3d7ee348aa41 ("efi/libstub/arm: Add opt-in Kconfig option ...")
---
 drivers/firmware/efi/Kconfig | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
drivers/firmware/efi/Kconfig +6 -3
index d8e159feb573..89110dfc7127 100644
@@ -90,14 +90,17 @@ config EFI_ARMSTUB
 config EFI_ARMSTUB_DTB_LOADER
 	bool "Enable the DTB loader"
 	depends on EFI_ARMSTUB
+	default y
 	help
 	  Select this config option to add support for the dtb= command
 	  line parameter, allowing a device tree blob to be loaded into
 	  memory from the EFI System Partition by the stub.
 
-	  The device tree is typically provided by the platform or by
-	  the bootloader, so this option is mostly for development
-	  purposes only.
+	  If the device tree is provided by the platform or by
+	  the bootloader this option may not be needed.
+	  But, for various development reasons and to maintain existing
+	  functionality for bootloaders that do not have such support
+	  this option is necessary.
 
 config EFI_BOOTLOADER_CONTROL
 	tristate "EFI Bootloader Control"
Signature · 1 line
2.17.1
#2 lore raw
In reply to Ard Biesheuvel
Quoted 8 lines · Ard Biesheuvel

The following changes since commit 11da3a7f84f19c26da6f86af878298694ede0804:

Linux 4.19-rc3 (2018-09-09 17:26:43 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git efi-urgent

Quoted 7 lines

for you to fetch changes up to d310959365942b100f79b56bcce859968fe7ca9c:

efi/libstub/arm: default EFI_ARMSTUB_DTB_LOADER to y (2018-09-12 16:41:41 +0200)

----------------------------------------------------------------
Apply a fix from Scott to make the ARM stub's DTB loader opt-out rather than opt-in.

Pulled. Thanks Ard!

tglx