lkml.org 
[lkml]   [2014]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    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@kernel.org>
    AuthorDate: Wed, 5 Feb 2014 06:51:37 +0100
    Committer: Ingo Molnar <mingo@kernel.org>
    CommitDate: Sun, 9 Feb 2014 15:18:42 +0100

    x86/debug: Disable CONFIG_X86_DECODER_SELFTEST in allmod/allyesconfigs

    * Linus Torvalds <torvalds@linux-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@firstfloor.org>
    Signed-off-by: Ingo Molnar <mingo@kernel.org>
    Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com>
    Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
    Cc: David Rientjes <rientjes@google.com>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Richard Weinberger <richard@nod.at>
    Cc: Borislav Petkov <bp@suse.de>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Link: http://lkml.kernel.org/r/20140205055137.GB30094@gmail.com
    Signed-off-by: Ingo Molnar <mingo@kernel.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

    \
     
     \ /
      Last update: 2014-02-13 11:41    [W:3.492 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site