Message ID | c7ccee444dbc50a61a703cabeffe28e73de4cda7.1653375268.git.geert@linux-m68k.org |
---|---|
State | Superseded |
Headers | show |
Series | efi: EFI_DISABLE_RUNTIME should depend on EFI | expand |
Hello Geert, On 5/24/22 08:54, Geert Uytterhoeven wrote: > The EFI_DISABLE_RUNTIME config option controls the use of Extensible > Firmware Interface (EFI) runtime services, which matters only if EFI > support is enabled. > Indeed. Sorry for forgetting that dependency when adding the symbol. > Hence add a dependency on EFI, to prevent asking the user about this > control knob when configuring a kernel with EFI support. > I think you wanted to write here "without EFI support" ? > Fixes: a031651ff2144a3d ("efi: Allow to enable EFI runtime services by default on RT") > Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> > --- Acked-by: Javier Martinez Canillas <javierm@redhat.com>
diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig index 4720ba98cec312e7..ff6e7bfa8355cfc2 100644 --- a/drivers/firmware/efi/Kconfig +++ b/drivers/firmware/efi/Kconfig @@ -299,6 +299,7 @@ config EFI_CUSTOM_SSDT_OVERLAYS config EFI_DISABLE_RUNTIME bool "Disable EFI runtime services support by default" + depends on EFI default y if PREEMPT_RT help Allow to disable the EFI runtime services support by default. This can
The EFI_DISABLE_RUNTIME config option controls the use of Extensible Firmware Interface (EFI) runtime services, which matters only if EFI support is enabled. Hence add a dependency on EFI, to prevent asking the user about this control knob when configuring a kernel with EFI support. Fixes: a031651ff2144a3d ("efi: Allow to enable EFI runtime services by default on RT") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- drivers/firmware/efi/Kconfig | 1 + 1 file changed, 1 insertion(+)