[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191002194905.GA3983@localhost.localdomain>
Date: Wed, 2 Oct 2019 19:49:15 +0000
From: <Narendra.K@...l.com>
To: <Narendra.K@...l.com>
CC: <geert@...ux-m68k.org>, <Mario.Limonciello@...l.com>,
<ard.biesheuvel@...aro.org>, <linux-efi@...r.kernel.org>,
<mingo@...nel.org>, <tglx@...utronix.de>,
<linux-kernel@...r.kernel.org>, <james.morse@....com>,
<tanxiaofei@...wei.com>
Subject: Re: [PATCH 4/5] efi: Export Runtime Configuration Interface table to
sysfs
On Wed, Oct 02, 2019 at 10:22:10AM +0000, K, Narendra wrote:
[...]
> > I hope I managed to convince you of the benefits.
>
> Thank you Geert. The description is helpful. I am working on it.
> As I understand, the issue is 'make oldconfig' provides a prompt to the user
> and user is expecting that a prompt is not needed as the option is not
> relevant.
>
> I cloned upstream kernel 5.3.2 as it does not have EFI_RCI2_TABLE option
> and generated a .config by calling 'make defconfig'. The .config has
> COMPILE_TEST set to n. I copied it to 5.4-rc1 and added 'depends on COMPILE_TEST'
> to drivers/firmware/efi/Kconfig (did not add CONFIG_X86 because it is
> set to y by the defconfig from 5.3.2). 'make oldconfig' still provides a
> prompt for CONFIG_EFI_RCI2_TABLE.
>
> I removed 'depends on COMPILE_TEST' from Kconfig and modified it to
> include the below change -
>
>
> config EFI_RCI2_TABLE
> bool
> prompt "EFI Runtime Configuration Interface Table Version 2 Support" if COMPILE_TEST
> default n
> help
>
> Adding the condition to the 'prompt' section seems to have desired
> result. With this change, 'make oldconfig' did not provide a prompt.
>
> It seems like 'make oldconfig' will provide a prompt to the user if the
> CONFIG option is new and providing the prompt does not depend on the
> 'depends on' section. It seems to be dependent on the 'prompt' section.
>
> Any thoughts ? If the above understanding is correct, I will work to
> submit a patch with 'prompt' section modified to contain
>
> prompt "EFI Runtime Configuration Interface Table Version 2 Support" if X86 || COMPILE_TEST
Geert/Ard,
I submitted the patch with above approach.
--
With regards,
Narendra K
Powered by blists - more mailing lists