[lkml]   [2011]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 3/4] x86-32: Remove restrictions on ARCH_SUPPORTS_MEMORY_FAILURE
    d949f36f18 (x86: Fix hwpoison code related build failure on 32-bit
    NUMAQ) disabled ARCH_SUPPORTS_MEMORY_FAILURE on some 32bit
    configurations because the extra page flag usage triggered build
    failure when combined with memory section/node bits.

    The root cause of build failures depending on config options is
    SECTIONS_WIDTH difference depending on X86_PAE. As the previous patch
    removes the problem, we can remove the restrictions on MEMORY_FAILURE.

    This makes the configuration more consistent. For example,
    TRANSPARENT_HUGEPAGE also consumes a page flag but didn't trigger
    build failure thanks to the removal of PG_buddy and Kconfig ends up
    enforcing rather arbitrary preference for TRANSPARENT_HUGEPAGE over

    Signed-off-by: Tejun Heo <>
    Cc: Linus Torvalds <>
    Cc: Andrea Arcangeli <>
    Cc: Ingo Molnar <>
    Cc: Yinghai Lu <>
    Cc: "H. Peter Anvin" <>
    Cc: Thomas Gleixner <>
    arch/x86/Kconfig | 11 +----------
    1 files changed, 1 insertions(+), 10 deletions(-)

    diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
    index 0db96ae..7f83405 100644
    --- a/arch/x86/Kconfig
    +++ b/arch/x86/Kconfig
    @@ -446,16 +446,6 @@ config X86_NUMAQ
    of Flat Logical. You will need a new lynxer.elf file to flash your
    firmware with - send email to <>.

    - def_bool y
    - # MCE code calls memory_failure():
    - depends on X86_MCE
    - # On 32-bit this adds too big of NODES_SHIFT and we run out of page flags:
    - depends on !X86_NUMAQ
    - # On 32-bit SPARSEMEM adds too big of SECTIONS_WIDTH:
    - depends on X86_64 || !SPARSEMEM
    config X86_VISWS
    bool "SGI 320/540 (Visual Workstation)"
    depends on X86_32 && PCI && X86_MPPARSE && PCI_GODIRECT
    @@ -845,6 +835,7 @@ config X86_REROUTE_FOR_BROKEN_BOOT_IRQS

    config X86_MCE
    bool "Machine Check / overheating reporting"
    Machine Check support allows the processor to notify the
    kernel if it detects a problem (e.g. overheating, data corruption).

     \ /
      Last update: 2011-03-31 20:05    [W:0.034 / U:16.264 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site