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]
Message-Id: <20110810101429.5a8f36e9.rdunlap@xenotime.net>
Date:	Wed, 10 Aug 2011 10:14:29 -0700
From:	Randy Dunlap <rdunlap@...otime.net>
To:	Borislav Petkov <bp@...64.org>
Cc:	Mauro Carvalho Chehab <mchehab@...hat.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>,
	EDAC devel <linux-edac@...r.kernel.org>,
	X86-ML <x86@...nel.org>,
	Borislav Petkov <borislav.petkov@....com>
Subject: Re: [PATCH] EDAC: Correct Kconfig dependencies

On Wed, 10 Aug 2011 14:43:30 +0200 Borislav Petkov wrote:

> From: Borislav Petkov <borislav.petkov@....com>
> 
> Both AMD and Intel i7 EDAC drivers use MCE features and are thus
> dependent of this functionality present in the kernel. Express this in
> Kconfig so that randconfig builds don't break.
> 
> Reported-by: Randy Dunlap <rdunlap@...otime.net>
> Signed-off-by: Borislav Petkov <borislav.petkov@....com>

Acked-by: Randy Dunlap <rdunlap@...otime.net>

Thanks.

> ---
>  drivers/edac/Kconfig |    5 ++---
>  1 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
> index f888fb5..d057d6c 100644
> --- a/drivers/edac/Kconfig
> +++ b/drivers/edac/Kconfig
> @@ -41,7 +41,7 @@ config EDAC_DEBUG
>  
>  config EDAC_DECODE_MCE
>  	tristate "Decode MCEs in human-readable form (only on AMD for now)"
> -	depends on CPU_SUP_AMD && X86_MCE
> +	depends on CPU_SUP_AMD && X86_MCE_AMD
>  	default y
>  	---help---
>  	  Enable this option if you want to decode Machine Check Exceptions
> @@ -170,8 +170,7 @@ config EDAC_I5400
>  
>  config EDAC_I7CORE
>  	tristate "Intel i7 Core (Nehalem) processors"
> -	depends on EDAC_MM_EDAC && PCI && X86
> -	select EDAC_MCE
> +	depends on EDAC_MM_EDAC && PCI && X86 && X86_MCE_INTEL
>  	help
>  	  Support for error detection and correction the Intel
>  	  i7 Core (Nehalem) Integrated Memory Controller that exists on
> -- 
> 1.7.4.rc2
> 


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ