* [PATCH] efi: make EFI a menuconfig to ease disabling it all
@ 2017-12-09 15:52 ` Vincent Legoll
0 siblings, 0 replies; 11+ messages in thread
From: Vincent Legoll @ 2017-12-09 15:52 UTC (permalink / raw)
To: Matt Fleming, Ard Biesheuvel, Kees Cook, Anton Vorontsov,
Colin Cross, Tony Luck, linux-efi-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Cc: Vincent Legoll
No need to get into the submenu to disable all related
config entries.
This makes it easier to disable all EFI config options
without entering the submenu. It will also enable one
to see that en/dis-abled state from the outside menu.
This is only intended to change menuconfig UI, not change
the config dependencies.
Signed-off-by: Vincent Legoll <vincent.legoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
drivers/firmware/efi/Kconfig | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig
index 2b4c39fdfa91..8727b1aa8ef6 100644
--- a/drivers/firmware/efi/Kconfig
+++ b/drivers/firmware/efi/Kconfig
@@ -1,6 +1,9 @@
-menu "EFI (Extensible Firmware Interface) Support"
+menuconfig EFI_MENU
+ bool "EFI (Extensible Firmware Interface) Support"
depends on EFI
+if EFI_MENU
+
config EFI_VARS
tristate "EFI Variable Support via sysfs"
depends on EFI
@@ -81,9 +84,6 @@ config EFI_PARAMS_FROM_FDT
the EFI runtime support gets system table address, memory
map address, and other parameters from the device tree.
-config EFI_RUNTIME_WRAPPERS
- bool
-
config EFI_ARMSTUB
bool
@@ -161,7 +161,10 @@ config RESET_ATTACK_MITIGATION
still contains secrets in RAM, booting another OS and extracting the
secrets.
-endmenu
+endif # EFI_MENU
+
+config EFI_RUNTIME_WRAPPERS
+ bool
config UEFI_CPER
bool
--
2.14.1
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH] efi: make EFI a menuconfig to ease disabling it all
@ 2017-12-09 15:52 ` Vincent Legoll
0 siblings, 0 replies; 11+ messages in thread
From: Vincent Legoll @ 2017-12-09 15:52 UTC (permalink / raw)
To: Matt Fleming, Ard Biesheuvel, Kees Cook, Anton Vorontsov,
Colin Cross, Tony Luck, linux-efi, linux-kernel
Cc: Vincent Legoll
No need to get into the submenu to disable all related
config entries.
This makes it easier to disable all EFI config options
without entering the submenu. It will also enable one
to see that en/dis-abled state from the outside menu.
This is only intended to change menuconfig UI, not change
the config dependencies.
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
drivers/firmware/efi/Kconfig | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig
index 2b4c39fdfa91..8727b1aa8ef6 100644
--- a/drivers/firmware/efi/Kconfig
+++ b/drivers/firmware/efi/Kconfig
@@ -1,6 +1,9 @@
-menu "EFI (Extensible Firmware Interface) Support"
+menuconfig EFI_MENU
+ bool "EFI (Extensible Firmware Interface) Support"
depends on EFI
+if EFI_MENU
+
config EFI_VARS
tristate "EFI Variable Support via sysfs"
depends on EFI
@@ -81,9 +84,6 @@ config EFI_PARAMS_FROM_FDT
the EFI runtime support gets system table address, memory
map address, and other parameters from the device tree.
-config EFI_RUNTIME_WRAPPERS
- bool
-
config EFI_ARMSTUB
bool
@@ -161,7 +161,10 @@ config RESET_ATTACK_MITIGATION
still contains secrets in RAM, booting another OS and extracting the
secrets.
-endmenu
+endif # EFI_MENU
+
+config EFI_RUNTIME_WRAPPERS
+ bool
config UEFI_CPER
bool
--
2.14.1
^ permalink raw reply related [flat|nested] 11+ messages in thread[parent not found: <20171209155252.6403-1-vincent.legoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] efi: make EFI a menuconfig to ease disabling it all
2017-12-09 15:52 ` Vincent Legoll
@ 2017-12-15 15:19 ` Matt Fleming
-1 siblings, 0 replies; 11+ messages in thread
From: Matt Fleming @ 2017-12-15 15:19 UTC (permalink / raw)
To: Vincent Legoll
Cc: Ard Biesheuvel, Kees Cook, Anton Vorontsov, Colin Cross,
Tony Luck, linux-efi-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
On Sat, 09 Dec, at 04:52:52PM, Vincent Legoll wrote:
> No need to get into the submenu to disable all related
> config entries.
>
> This makes it easier to disable all EFI config options
> without entering the submenu. It will also enable one
> to see that en/dis-abled state from the outside menu.
>
> This is only intended to change menuconfig UI, not change
> the config dependencies.
>
> Signed-off-by: Vincent Legoll <vincent.legoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---
> drivers/firmware/efi/Kconfig | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
This looks fine to me. Ard?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] efi: make EFI a menuconfig to ease disabling it all
@ 2017-12-15 15:19 ` Matt Fleming
0 siblings, 0 replies; 11+ messages in thread
From: Matt Fleming @ 2017-12-15 15:19 UTC (permalink / raw)
To: Vincent Legoll
Cc: Ard Biesheuvel, Kees Cook, Anton Vorontsov, Colin Cross,
Tony Luck, linux-efi, linux-kernel
On Sat, 09 Dec, at 04:52:52PM, Vincent Legoll wrote:
> No need to get into the submenu to disable all related
> config entries.
>
> This makes it easier to disable all EFI config options
> without entering the submenu. It will also enable one
> to see that en/dis-abled state from the outside menu.
>
> This is only intended to change menuconfig UI, not change
> the config dependencies.
>
> Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
> ---
> drivers/firmware/efi/Kconfig | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
This looks fine to me. Ard?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] efi: make EFI a menuconfig to ease disabling it all
2017-12-15 15:19 ` Matt Fleming
(?)
@ 2017-12-15 16:50 ` Ard Biesheuvel
[not found] ` <CAKv+Gu8Jd8Z78_1SrcLvX7DKSxf9BjkJtJ+UXYi7ak_zpA3fKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
-1 siblings, 1 reply; 11+ messages in thread
From: Ard Biesheuvel @ 2017-12-15 16:50 UTC (permalink / raw)
To: Matt Fleming
Cc: Vincent Legoll, Kees Cook, Anton Vorontsov, Colin Cross,
Tony Luck, linux-efi@vger.kernel.org,
linux-kernel@vger.kernel.org
On 15 December 2017 at 16:19, Matt Fleming <matt@codeblueprint.co.uk> wrote:
> On Sat, 09 Dec, at 04:52:52PM, Vincent Legoll wrote:
>> No need to get into the submenu to disable all related
>> config entries.
>>
>> This makes it easier to disable all EFI config options
>> without entering the submenu. It will also enable one
>> to see that en/dis-abled state from the outside menu.
>>
>> This is only intended to change menuconfig UI, not change
>> the config dependencies.
>>
>> Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
>> ---
>> drivers/firmware/efi/Kconfig | 13 ++++++++-----
>> 1 file changed, 8 insertions(+), 5 deletions(-)
>
> This looks fine to me. Ard?
Doesn't this break existing configs?
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2017-12-16 10:47 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-09 15:52 [PATCH] efi: make EFI a menuconfig to ease disabling it all Vincent Legoll
2017-12-09 15:52 ` Vincent Legoll
[not found] ` <20171209155252.6403-1-vincent.legoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-12-15 15:19 ` Matt Fleming
2017-12-15 15:19 ` Matt Fleming
2017-12-15 16:50 ` Ard Biesheuvel
[not found] ` <CAKv+Gu8Jd8Z78_1SrcLvX7DKSxf9BjkJtJ+UXYi7ak_zpA3fKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-15 17:24 ` Vincent Legoll
2017-12-15 17:24 ` Vincent Legoll
2017-12-15 18:23 ` Austin S. Hemmelgarn
[not found] ` <f1007c70-caa4-8ca9-3d52-532e4302cc6e-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-12-16 10:46 ` [PATCH,v2] " Vincent Legoll
2017-12-16 10:46 ` Vincent Legoll
2017-12-16 10:46 ` [PATCH] " Vincent Legoll
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.