lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 11 Aug 2016 10:59:38 +0200
From:	Ingo Molnar <mingo@...nel.org>
To:	Arnd Bergmann <arnd@...db.de>
Cc:	x86@...nel.org, Masahiro Yamada <yamada.masahiro@...ionext.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	"H. Peter Anvin" <hpa@...or.com>,
	Josh Triplett <josh@...htriplett.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/9] kconfig: tinyconfig: provide whole choice blocks to
 avoid warnings


* Arnd Bergmann <arnd@...db.de> wrote:

> Using "make tinyconfig" produces a couple of annoying warnings that show up
> for build test machines all the time:
> 
>     .config:966:warning: override: NOHIGHMEM changes choice state
>     .config:965:warning: override: SLOB changes choice state
>     .config:963:warning: override: KERNEL_XZ changes choice state
>     .config:962:warning: override: CC_OPTIMIZE_FOR_SIZE changes choice state
>     .config:933:warning: override: SLOB changes choice state
>     .config:930:warning: override: CC_OPTIMIZE_FOR_SIZE changes choice state
>     .config:870:warning: override: SLOB changes choice state
>     .config:868:warning: override: KERNEL_XZ changes choice state
>     .config:867:warning: override: CC_OPTIMIZE_FOR_SIZE changes choice state
> 
> I've made a previous attempt at fixing them and we discussed a number of
> alternatives.
> 
> I tried changing the Makefile to use "merge_config.sh -n $(fragment-list)"
> but couldn't get that to work properly.
> 
> This is yet another approach, based on the observation that we do want
> to see a warning for conflicting 'choice' options, and that we can simply
> make them non-conflicting by listing all other options as disabled.
> This is a trivial patch that we can apply independent of plans for other
> changes.
> 
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Link: https://storage.kernelci.org/mainline/v4.7-rc6/x86-tinyconfig/build.log
> https://patchwork.kernel.org/patch/9212749/
> Reviewed-by: Josh Triplett <josh@...htriplett.org>
> Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> ---
> This version incorporates feedback from Masahiro Yamada, and includes
> the x86 change that Josh mentioned
> 
> Unlike the other patches in this series, this is not a recent regression,
> but it is the only non-regression warning fix I'm aware of that we
> currently need for a clean build on all configurations tested by
> https://kernelci.org/.
> ---
>  arch/x86/configs/tiny.config | 2 ++
>  kernel/configs/tiny.config   | 8 ++++++++
>  2 files changed, 10 insertions(+)
> 
> diff --git a/arch/x86/configs/tiny.config b/arch/x86/configs/tiny.config
> index 4e2ecfa23c15..4b429df40d7a 100644
> --- a/arch/x86/configs/tiny.config
> +++ b/arch/x86/configs/tiny.config
> @@ -1 +1,3 @@
>  CONFIG_NOHIGHMEM=y
> +# CONFIG_HIGHMEM4G is not set
> +# CONFIG_HIGHMEM64G is not set

Acked-by: Ingo Molnar <mingo@...nel.org>

Thanks,

	Ingo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ