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:	Mon, 10 Feb 2014 05:31:57 -0800
From:	tip-bot for Ingo Molnar <tipbot@...or.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...nel.org,
	andi@...stfloor.org, torvalds@...ux-foundation.org, richard@....at,
	bp@...en8.de, masami.hiramatsu.pt@...achi.com, tglx@...utronix.de,
	bp@...e.de, rientjes@...gle.com, paul.gortmaker@...driver.com
Subject: [tip:x86/urgent] x86/debug:
  Disable CONFIG_X86_DECODER_SELFTEST in allmod/allyesconfigs

Commit-ID:  8c778d541bec8a41cbd8fa73b7cba90b2d6606c1
Gitweb:     http://git.kernel.org/tip/8c778d541bec8a41cbd8fa73b7cba90b2d6606c1
Author:     Ingo Molnar <mingo@...nel.org>
AuthorDate: Wed, 5 Feb 2014 06:51:37 +0100
Committer:  Ingo Molnar <mingo@...nel.org>
CommitDate: Sun, 9 Feb 2014 15:18:42 +0100

x86/debug: Disable CONFIG_X86_DECODER_SELFTEST in allmod/allyesconfigs

* Linus Torvalds <torvalds@...ux-foundation.org> wrote:

Andi Kleen suggested to turn off CONFIG_X86_DECODER_SELFTEST=y
in allyesconfig, because it costs a lot of CPU time.

(In practice randconfig builds will cover this test frequently
 enough to provide build coverage.)

Suggested-by: Andi Kleen <andi@...stfloor.org>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Acked-by: Paul Gortmaker <paul.gortmaker@...driver.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Cc: David Rientjes <rientjes@...gle.com>
Cc: Borislav Petkov <bp@...en8.de>
Cc: Richard Weinberger <richard@....at>
Cc: Borislav Petkov <bp@...e.de>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Link: http://lkml.kernel.org/r/20140205055137.GB30094@gmail.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
 arch/x86/Kconfig.debug | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 321a52c..b542ec1 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -185,6 +185,11 @@ config X86_DECODER_SELFTEST
 	bool "x86 instruction decoder selftest"
 	depends on DEBUG_KERNEL && KPROBES
 	depends on !COMPILE_TEST
+	#
+	# It can take some time to validate the image,
+	# make sure {allyes|allmod}config doesn't enable it:
+	#
+	depends on !COMPILE_TEST
 	---help---
 	 Perform x86 instruction decoder selftests at build time.
 	 This option is useful for checking the sanity of x86 instruction
--
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