]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Merge branches 'x86/apic', 'x86/cpu', 'x86/fixmap', 'x86/mm', 'x86/sched', 'x86/setup...
authorIngo Molnar <mingo@elte.hu>
Wed, 4 Mar 2009 01:22:31 +0000 (02:22 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 4 Mar 2009 01:22:31 +0000 (02:22 +0100)
1  2  3  4  5  6  7  8 
Documentation/x86/boot.txt
arch/x86/Kconfig
arch/x86/kernel/ptrace.c
arch/x86/mm/init_64.c
arch/x86/mm/numa_32.c
arch/x86/mm/pgtable_32.c
drivers/input/mouse/Kconfig
init/Kconfig

index 12299697b7cdb29feb8055889e2563a8bdfccefb,12299697b7cdb29feb8055889e2563a8bdfccefb,12299697b7cdb29feb8055889e2563a8bdfccefb,12299697b7cdb29feb8055889e2563a8bdfccefb,12299697b7cdb29feb8055889e2563a8bdfccefb,9ac70ffe2b7773b76da5b33f0dca52c3f756be4e,12299697b7cdb29feb8055889e2563a8bdfccefb,7b4596ac41208f49d83b3ed09b8ebb7774c7e010..e0203662f9e9f8a1a907060437f3fcdf907e2667
@@@@@@@@@ -44,7 -44,7 -44,7 -44,7 -44,7 -44,7 -44,7 -44,7 +44,7 @@@@@@@@@ Protocol 2.07:        (Kernel 2.6.24) Added pa
                        and KEEP_SEGMENTS flag in load_flags.
        
        Protocol 2.08:  (Kernel 2.6.26) Added crc32 checksum and ELF format
     -                  payload. Introduced payload_offset and payload length
     +                  payload. Introduced payload_offset and payload_length
                        fields to aid in locating the payload.
        
        Protocol 2.09:  (Kernel 2.6.26) Added a field of 64-bit physical
@@@@@@@@@ -158,7 -158,7 -158,7 -158,7 -158,7 -158,7 -158,7 -158,7 +158,7 @@@@@@@@@ Offset       Proto   Name            Meanin
        0202/4  2.00+   header          Magic signature "HdrS"
        0206/2  2.00+   version         Boot protocol version supported
        0208/4  2.00+   realmode_swtch  Boot loader hook (see below)
     - -020C/2  2.00+   start_sys       The load-low segment (0x1000) (obsolete)
     + +020C/2  2.00+   start_sys_seg   The load-low segment (0x1000) (obsolete)
        020E/2  2.00+   kernel_version  Pointer to kernel version string
        0210/1  2.00+   type_of_loader  Boot loader identifier
        0211/1  2.00+   loadflags       Boot protocol option flags
        0224/2  2.01+   heap_end_ptr    Free memory after setup end
        0226/2  N/A     pad1            Unused
        0228/4  2.02+   cmd_line_ptr    32-bit pointer to the kernel command line
     - -022C/4  2.03+   initrd_addr_max Highest legal initrd address
     + +022C/4  2.03+   ramdisk_max     Highest legal initrd address
        0230/4  2.05+   kernel_alignment Physical addr alignment required for kernel
        0234/1  2.05+   relocatable_kernel Whether kernel is relocatable or not
     - -0235/3  N/A     pad2            Unused
     + +0235/1  N/A     pad2            Unused
     + +0236/2  N/A     pad3            Unused
        0238/4  2.06+   cmdline_size    Maximum size of the kernel command line
        023C/4  2.07+   hardware_subarch Hardware subarchitecture
        0240/8  2.07+   hardware_subarch_data Subarchitecture-specific data
@@@@@@@@@ -300,14 -300,14 -300,14 -300,14 -300,14 -299,14 -300,14 -299,14 +300,14 @@@@@@@@@ Protocol:   2.00
          e.g. 0x0204 for version 2.04, and 0x0a11 for a hypothetical version
          10.17.
        
     - -Field name:     readmode_swtch
     + +Field name:     realmode_swtch
        Type:           modify (optional)
        Offset/size:    0x208/4
        Protocol:       2.00+
        
          Boot loader hook (see ADVANCED BOOT LOADER HOOKS below.)
        
     - -Field name:     start_sys
     + +Field name:     start_sys_seg
        Type:           read
        Offset/size:    0x20c/2
        Protocol:       2.00+
@@@@@@@@@ -469,7 -469,7 -469,7 -469,7 -469,7 -468,7 -469,7 -468,7 +469,7 @@@@@@@@@ Protocol:    2.02
          zero, the kernel will assume that your boot loader does not support
          the 2.02+ protocol.
        
     - -Field name:     initrd_addr_max
     + +Field name:     ramdisk_max
        Type:           read
        Offset/size:    0x22c/4
        Protocol:       2.03+
@@@@@@@@@ -543,7 -543,7 -543,7 -543,7 -543,7 -542,10 -543,7 -542,7 +543,10 @@@@@@@@@ Protocol:  2.08
        
          The payload may be compressed. The format of both the compressed and
          uncompressed data should be determined using the standard magic
----- --  numbers. Currently only gzip compressed ELF is used.
+++++ ++  numbers.  The currently supported compression formats are gzip
+++++ ++  (magic numbers 1F 8B or 1F 9E), bzip2 (magic number 42 5A) and LZMA
+++++ ++  (magic number 5D 00).  The uncompressed payload is currently always ELF
+++++ ++  (magic number 7F 45 4C 46).
          
        Field name:     payload_length
        Type:           read
diff --combined arch/x86/Kconfig
index 5e2919c0ff922a86c5c965c38a6628ba15f49edf,1042d69b267d4489e78365b27ec158d10d06d0c7,5e2919c0ff922a86c5c965c38a6628ba15f49edf,8955262caa34e56c5704d56ba2d4c758283bc0c7,d9084320279e6e1cc07933dd088d9ac3dd612c63,7b66c34d0aae07a2d04d914d4095572f5597d190,5e2919c0ff922a86c5c965c38a6628ba15f49edf,bc2fbadff9f90fe681d9c30ae621d1ec94e348cf..469f3450bf813af117549a3234b73be12041d0d3
@@@@@@@@@ -5,7 -5,7 -5,7 -5,7 -5,7 -5,7 -5,7 -5,7 +5,7 @@@@@@@@@ mainmenu "Linux Kernel Configuration fo
        config 64BIT
                bool "64-bit kernel" if ARCH = "x86"
                default ARCH = "x86_64"
     - -        help
     + +        ---help---
                  Say yes to build a 64-bit kernel - formerly known as x86_64
                  Say no to build a 32-bit kernel - formerly known as i386
        
@@@@@@@@@ -27,19 -27,19 -27,19 -27,19 -27,19 -27,21 -27,19 -27,19 +27,22 @@@@@@@@@ config X8
                select HAVE_IOREMAP_PROT
                select HAVE_KPROBES
                select ARCH_WANT_OPTIONAL_GPIOLIB
     +          select ARCH_WANT_FRAME_POINTERS
                select HAVE_KRETPROBES
                select HAVE_FTRACE_MCOUNT_RECORD
                select HAVE_DYNAMIC_FTRACE
                select HAVE_FUNCTION_TRACER
                select HAVE_FUNCTION_GRAPH_TRACER
                select HAVE_FUNCTION_TRACE_MCOUNT_TEST
     - -        select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64)
     - -        select HAVE_ARCH_KGDB if !X86_VOYAGER
     + +        select HAVE_KVM
     + +        select HAVE_ARCH_KGDB
                select HAVE_ARCH_TRACEHOOK
                select HAVE_GENERIC_DMA_COHERENT if X86_32
                select HAVE_EFFICIENT_UNALIGNED_ACCESS
                select USER_STACKTRACE_SUPPORT
+++++ ++        select HAVE_KERNEL_GZIP
+++++ ++        select HAVE_KERNEL_BZIP2
+++++ ++        select HAVE_KERNEL_LZMA
        
        config ARCH_DEFCONFIG
                string
@@@@@@@@@ -133,16 -133,16 -133,16 -133,16 -133,16 -135,18 -133,16 -133,18 +136,16 @@@@@@@@@ config ARCH_HAS_CACHE_LINE_SIZ
                def_bool y
        
        config HAVE_SETUP_PER_CPU_AREA
     - -        def_bool X86_64_SMP || (X86_SMP && !X86_VOYAGER)
     + +        def_bool y
        
        config HAVE_CPUMASK_OF_CPU_MAP
                def_bool X86_64_SMP
        
        config ARCH_HIBERNATION_POSSIBLE
                def_bool y
     - -        depends on !SMP || !X86_VOYAGER
        
        config ARCH_SUSPEND_POSSIBLE
                def_bool y
     - -        depends on !X86_VOYAGER
        
        config ZONE_DMA32
                bool
@@@@@@@@@ -172,6 -172,6 -172,6 -172,6 -172,6 -176,11 -172,6 -174,11 +175,6 @@@@@@@@@ config GENERIC_PENDING_IR
                depends on GENERIC_HARDIRQS && SMP
                default y
        
     - -config X86_SMP
     - -        bool
     - -        depends on SMP && ((X86_32 && !X86_VOYAGER) || X86_64)
     - -        default y
     - -
        config USE_GENERIC_SMP_HELPERS
                def_bool y
                depends on SMP
@@@@@@@@@ -187,17 -187,17 -187,17 -187,17 -187,17 -196,19 -187,17 -194,19 +190,17 @@@@@@@@@ config X86_64_SM
        config X86_HT
                bool
                depends on SMP
     - -        depends on (X86_32 && !X86_VOYAGER) || X86_64
     - -        default y
     - -
     - -config X86_BIOS_REBOOT
     - -        bool
     - -        depends on !X86_VOYAGER
                default y
        
        config X86_TRAMPOLINE
                bool
     - -        depends on X86_SMP || (X86_VOYAGER && SMP) || (64BIT && ACPI_SLEEP)
     + +        depends on SMP || (64BIT && ACPI_SLEEP)
                default y
        
     + +config X86_32_LAZY_GS
     + +        def_bool y
     + +        depends on X86_32 && !CC_STACKPROTECTOR
     + +
        config KTIME_SCALAR
                def_bool X86_32
        source "init/Kconfig"
        
                  If you don't know what to do here, say N.
        
     - -config X86_HAS_BOOT_CPU_ID
     - -        def_bool y
     - -        depends on X86_VOYAGER
 +   + +config X86_X2APIC
 +   + +        bool "Support x2apic"
 +   + +        depends on X86_LOCAL_APIC && X86_64
 +   + +        ---help---
 +   + +          This enables x2apic support on CPUs that have this feature.
 +   + +
 +   + +          This allows 32-bit apic IDs (so it can support very large systems),
 +   + +          and accesses the local apic via MSRs not via mmio.
 +   + +
 +   + +          ( On certain CPU models you may need to enable INTR_REMAP too,
 +   + +            to get functional x2apic mode. )
 +   + +
 +   + +          If you don't know what to do here, say N.
 +      
        config SPARSE_IRQ
                bool "Support sparse irq numbering"
                depends on PCI_MSI || HT_IRQ
     - -        help
     + +        ---help---
                  This enables support for sparse irqs. This is useful for distro
                  kernels that want to define a high CONFIG_NR_CPUS value but still
                  want to have low kernel memory footprint on smaller machines.
@@@@@@@@@ -266,140 -252,114 -266,140 -266,115 -266,140 -267,114 -266,140 -265,114 +269,140 @@@@@@@@@ config NUMA_MIGRATE_IRQ_DES
                bool "Move irq desc when changing irq smp_affinity"
                depends on SPARSE_IRQ && NUMA
                default n
     - -        help
     + +        ---help---
                  This enables moving irq_desc to cpu/node that irq will use handled.
        
                  If you don't know what to do here, say N.
        
     - -config X86_FIND_SMP_CONFIG
     - -        def_bool y
     - -        depends on X86_MPPARSE || X86_VOYAGER
     - -
        config X86_MPPARSE
                bool "Enable MPS table" if ACPI
                default y
                depends on X86_LOCAL_APIC
     - -        help
     + +        ---help---
                  For old smp systems that do not have proper acpi support. Newer systems
                  (esp with 64bit cpus) with acpi support, MADT and DSDT will override it
        
     - -choice
     - -        prompt "Subarchitecture Type"
     - -        default X86_PC
     + +config X86_BIGSMP
     + +        bool "Support for big SMP systems with more than 8 CPUs"
     + +        depends on X86_32 && SMP
     + +        ---help---
     + +          This option is needed for the systems that have more than 8 CPUs
        
     - -config X86_PC
     - -        bool "PC-compatible"
     - -        help
     - -          Choose this option if your computer is a standard PC or compatible.
 + + + +if X86_32
     + +config X86_EXTENDED_PLATFORM
     + +        bool "Support for extended (non-PC) x86 platforms"
     + +        default y
     + +        ---help---
     + +          If you disable this option then the kernel will only support
     + +          standard PC platforms. (which covers the vast majority of
     + +          systems out there.)
     + +
 - -              If you enable this option then you'll be able to select a number
 - -              of non-PC x86 platforms.
 + + + +          If you enable this option then you'll be able to select support
 + + + +          for the following (non-PC) 32 bit x86 platforms:
 + + + +                AMD Elan
 + + + +                NUMAQ (IBM/Sequent)
 + + + +                RDC R-321x SoC
 + + + +                SGI 320/540 (Visual Workstation)
 + + + +                Summit/EXA (IBM x440)
 + + + +                Unisys ES7000 IA32 series
     + +
     + +          If you have one of these systems, or if you want to build a
     + +          generic distribution kernel, say Y here - otherwise say N.
 + + + +endif
   + + +
 + + + +if X86_64
 + + + +config X86_EXTENDED_PLATFORM
 + + + +        bool "Support for extended (non-PC) x86 platforms"
 + + + +        default y
 + + + +        ---help---
 + + + +          If you disable this option then the kernel will only support
 + + + +          standard PC platforms. (which covers the vast majority of
 + + + +          systems out there.)
 + + + +
 + + + +          If you enable this option then you'll be able to select support
 + + + +          for the following (non-PC) 64 bit x86 platforms:
 + + + +                ScaleMP vSMP
 + + + +                SGI Ultraviolet
 +   + +
 + + + +          If you have one of these systems, or if you want to build a
 + + + +          generic distribution kernel, say Y here - otherwise say N.
 + + + +endif
     + +# This is an alphabetically sorted list of 64 bit extended platforms
     + +# Please maintain the alphabetic order if and when there are additions
     + +
     + +config X86_VSMP
     + +        bool "ScaleMP vSMP"
     + +        select PARAVIRT
     + +        depends on X86_64 && PCI
     + +        depends on X86_EXTENDED_PLATFORM
     + +        ---help---
     + +          Support for ScaleMP vSMP systems.  Say 'Y' here if this kernel is
     + +          supposed to run on these EM64T-based machines.  Only choose this option
     + +          if you have one of these machines.
     + +
     + +config X86_UV
     + +        bool "SGI Ultraviolet"
     + +        depends on X86_64
     + +        depends on X86_EXTENDED_PLATFORM
 +   + +        select X86_X2APIC
     + +        ---help---
     + +          This option is needed in order to support SGI Ultraviolet systems.
     + +          If you don't have one of these, you should say N here.
     + +
     + +# Following is an alphabetically sorted list of 32 bit extended platforms
     + +# Please maintain the alphabetic order if and when there are additions
        
        config X86_ELAN
                bool "AMD Elan"
                depends on X86_32
     - -        help
     + +        depends on X86_EXTENDED_PLATFORM
     + +        ---help---
                  Select this for an AMD Elan processor.
        
                  Do not use this option for K6/Athlon/Opteron processors!
        
                  If unsure, choose "PC-compatible" instead.
        
     - -config X86_VOYAGER
     - -        bool "Voyager (NCR)"
     - -        depends on X86_32 && (SMP || BROKEN) && !PCI
     - -        help
     - -          Voyager is an MCA-based 32-way capable SMP architecture proprietary
     - -          to NCR Corp.  Machine classes 345x/35xx/4100/51xx are Voyager-based.
     - -
     - -          *** WARNING ***
     - -
     - -          If you do not specifically know you have a Voyager based machine,
     - -          say N here, otherwise the kernel you build will not be bootable.
     - -
     - -config X86_GENERICARCH
     - -       bool "Generic architecture"
     + +config X86_RDC321X
     + +        bool "RDC R-321x SoC"
                depends on X86_32
     - -       help
     - -          This option compiles in the NUMAQ, Summit, bigsmp, ES7000, default
     + +        depends on X86_EXTENDED_PLATFORM
     + +        select M486
     + +        select X86_REBOOTFIXUPS
     + +        ---help---
     + +          This option is needed for RDC R-321x system-on-chip, also known
     + +          as R-8610-(G).
     + +          If you don't have one of these chips, you should say N here.
     + +
     + +config X86_32_NON_STANDARD
     + +        bool "Support non-standard 32-bit SMP architectures"
     + +        depends on X86_32 && SMP
     + +        depends on X86_EXTENDED_PLATFORM
     + +        ---help---
     + +          This option compiles in the NUMAQ, Summit, bigsmp, ES7000, default
                  subarchitectures.  It is intended for a generic binary kernel.
                  if you select them all, kernel will probe it one by one. and will
                  fallback to default.
        
     - -if X86_GENERICARCH
     + +# Alphabetically sorted list of Non standard 32 bit platforms
        
        config X86_NUMAQ
                bool "NUMAQ (IBM/Sequent)"
     - -        depends on SMP && X86_32 && PCI && X86_MPPARSE
     + +        depends on X86_32_NON_STANDARD
                select NUMA
     - -        help
     + +        select X86_MPPARSE
     + +        ---help---
                  This option is used for getting Linux to run on a NUMAQ (IBM/Sequent)
                  NUMA multiquad box. This changes the way that processors are
                  bootstrapped, and uses Clustered Logical APIC addressing mode instead
                  of Flat Logical.  You will need a new lynxer.elf file to flash your
                  firmware with - send email to <Martin.Bligh@us.ibm.com>.
        
     - -config X86_SUMMIT
     - -        bool "Summit/EXA (IBM x440)"
     - -        depends on X86_32 && SMP
     - -        help
     - -          This option is needed for IBM systems that use the Summit/EXA chipset.
     - -          In particular, it is needed for the x440.
     - -
     - -config X86_ES7000
     - -        bool "Support for Unisys ES7000 IA32 series"
     - -        depends on X86_32 && SMP
     - -        help
     - -          Support for Unisys ES7000 systems.  Say 'Y' here if this kernel is
     - -          supposed to run on an IA32-based Unisys ES7000 system.
     - -
     - -config X86_BIGSMP
     - -        bool "Support for big SMP systems with more than 8 CPUs"
     - -        depends on X86_32 && SMP
     - -        help
     - -          This option is needed for the systems that have more than 8 CPUs
     - -          and if the system is not of any sub-arch type above.
     - -
     - -endif
     - -
     - -config X86_VSMP
     - -        bool "Support for ScaleMP vSMP"
     - -        select PARAVIRT
     - -        depends on X86_64 && PCI
     - -        help
     - -          Support for ScaleMP vSMP systems.  Say 'Y' here if this kernel is
     - -          supposed to run on these EM64T-based machines.  Only choose this option
     - -          if you have one of these machines.
     - -
     - -endchoice
     - -
        config X86_VISWS
                bool "SGI 320/540 (Visual Workstation)"
     - -        depends on X86_32 && PCI && !X86_VOYAGER && X86_MPPARSE && PCI_GODIRECT
     - -        help
     + +        depends on X86_32 && PCI && X86_MPPARSE && PCI_GODIRECT
     + +        depends on X86_32_NON_STANDARD
     + +        ---help---
                  The SGI Visual Workstation series is an IA32-based workstation
                  based on SGI systems chips with some legacy PC hardware attached.
        
                  A kernel compiled for the Visual Workstation will run on general
                  PCs as well. See <file:Documentation/sgi-visws.txt> for details.
        
     - -config X86_RDC321X
     - -        bool "RDC R-321x SoC"
     - -        depends on X86_32
     - -        select M486
     - -        select X86_REBOOTFIXUPS
     - -        help
     - -          This option is needed for RDC R-321x system-on-chip, also known
     - -          as R-8610-(G).
     - -          If you don't have one of these chips, you should say N here.
     + +config X86_SUMMIT
     + +        bool "Summit/EXA (IBM x440)"
     + +        depends on X86_32_NON_STANDARD
     + +        ---help---
     + +          This option is needed for IBM systems that use the Summit/EXA chipset.
     + +          In particular, it is needed for the x440.
     + +
     + +config X86_ES7000
     + +        bool "Unisys ES7000 IA32 series"
     + +        depends on X86_32_NON_STANDARD && X86_BIGSMP
     + +        ---help---
     + +          Support for Unisys ES7000 systems.  Say 'Y' here if this kernel is
     + +          supposed to run on an IA32-based Unisys ES7000 system.
        
 - -    config X86_VOYAGER
 - -            bool "Voyager (NCR)"
 - -            depends on SMP && !PCI && BROKEN
 - -            depends on X86_32_NON_STANDARD
 - -            ---help---
 - -              Voyager is an MCA-based 32-way capable SMP architecture proprietary
 - -              to NCR Corp.  Machine classes 345x/35xx/4100/51xx are Voyager-based.
 - -    
 - -              *** WARNING ***
 - -    
 - -              If you do not specifically know you have a Voyager based machine,
 - -              say N here, otherwise the kernel you build will not be bootable.
 - -    
        config SCHED_OMIT_FRAME_POINTER
                def_bool y
                prompt "Single-depth WCHAN output"
                depends on X86
     - -        help
     + +        ---help---
                  Calculate simpler /proc/<PID>/wchan values. If this option
                  is disabled then wchan values will recurse back to the
                  caller function. This provides more accurate wchan values,
        
        menuconfig PARAVIRT_GUEST
                bool "Paravirtualized guest support"
     - -        help
     + +        ---help---
                  Say Y here to get to see options related to running Linux under
                  various hypervisors.  This option alone does not add any kernel code.
        
@@@@@@@@@ -450,7 -423,7 -450,7 -438,7 -450,7 -421,8 -450,7 -419,8 +453,7 @@@@@@@@@ config VM
                bool "VMI Guest support"
                select PARAVIRT
                depends on X86_32
     - -        depends on !X86_VOYAGER
     - -        help
     + +        ---help---
                  VMI provides a paravirtualized interface to the VMware ESX server
                  (it could be used by other hypervisors in theory too, but is not
                  at the moment), by linking the kernel to a GPL-ed ROM module
@@@@@@@@@ -460,7 -433,7 -460,7 -448,7 -460,7 -432,8 -460,7 -430,8 +463,7 @@@@@@@@@ config KVM_CLOC
                bool "KVM paravirtualized clock"
                select PARAVIRT
                select PARAVIRT_CLOCK
     - -        depends on !X86_VOYAGER
     - -        help
     + +        ---help---
                  Turning on this option will allow you to run a paravirtualized clock
                  when running over the KVM hypervisor. Instead of relying on a PIT
                  (or probably other) emulation by the underlying device model, the host
        config KVM_GUEST
                bool "KVM Guest support"
                select PARAVIRT
     - -        depends on !X86_VOYAGER
     - -        help
     - -         This option enables various optimizations for running under the KVM
     - -         hypervisor.
     + +        ---help---
     + +          This option enables various optimizations for running under the KVM
     + +          hypervisor.
        
        source "arch/x86/lguest/Kconfig"
        
        config PARAVIRT
                bool "Enable paravirtualization code"
     - -        depends on !X86_VOYAGER
     - -        help
     + +        ---help---
                  This changes the kernel so it can modify itself when it is run
                  under a hypervisor, potentially improving performance significantly
                  over full virtualization.  However, when run without a hypervisor
@@@@@@@@@ -491,51 -464,51 -491,51 -479,51 -491,51 -466,51 -491,51 -464,51 +494,51 @@@@@@@@@ config PARAVIRT_CLOC
        endif
        
        config PARAVIRT_DEBUG
     - -       bool "paravirt-ops debugging"
     - -       depends on PARAVIRT && DEBUG_KERNEL
     - -       help
     - -         Enable to debug paravirt_ops internals.  Specifically, BUG if
     - -         a paravirt_op is missing when it is called.
     + +        bool "paravirt-ops debugging"
     + +        depends on PARAVIRT && DEBUG_KERNEL
     + +        ---help---
     + +          Enable to debug paravirt_ops internals.  Specifically, BUG if
     + +          a paravirt_op is missing when it is called.
        
        config MEMTEST
                bool "Memtest"
     - -        help
     + +        ---help---
                  This option adds a kernel parameter 'memtest', which allows memtest
                  to be set.
     - -                memtest=0, mean disabled; -- default
     - -                memtest=1, mean do 1 test pattern;
     - -                ...
     - -                memtest=4, mean do 4 test patterns.
     + +                memtest=0, mean disabled; -- default
     + +                memtest=1, mean do 1 test pattern;
     + +                ...
     + +                memtest=4, mean do 4 test patterns.
                  If you are unsure how to answer this question, answer N.
        
        config X86_SUMMIT_NUMA
                def_bool y
     - -        depends on X86_32 && NUMA && X86_GENERICARCH
     + +        depends on X86_32 && NUMA && X86_32_NON_STANDARD
        
        config X86_CYCLONE_TIMER
                def_bool y
     - -        depends on X86_GENERICARCH
     + +        depends on X86_32_NON_STANDARD
        
        source "arch/x86/Kconfig.cpu"
        
        config HPET_TIMER
                def_bool X86_64
                prompt "HPET Timer Support" if X86_32
     - -        help
     - -         Use the IA-PC HPET (High Precision Event Timer) to manage
     - -         time in preference to the PIT and RTC, if a HPET is
     - -         present.
     - -         HPET is the next generation timer replacing legacy 8254s.
     - -         The HPET provides a stable time base on SMP
     - -         systems, unlike the TSC, but it is more expensive to access,
     - -         as it is off-chip.  You can find the HPET spec at
     - -         <http://www.intel.com/hardwaredesign/hpetspec_1.pdf>.
     + +        ---help---
     + +          Use the IA-PC HPET (High Precision Event Timer) to manage
     + +          time in preference to the PIT and RTC, if a HPET is
     + +          present.
     + +          HPET is the next generation timer replacing legacy 8254s.
     + +          The HPET provides a stable time base on SMP
     + +          systems, unlike the TSC, but it is more expensive to access,
     + +          as it is off-chip.  You can find the HPET spec at
     + +          <http://www.intel.com/hardwaredesign/hpetspec_1.pdf>.
        
     - -         You can safely choose Y here.  However, HPET will only be
     - -         activated if the platform and the BIOS support this feature.
     - -         Otherwise the 8254 will be used for timing services.
     + +          You can safely choose Y here.  However, HPET will only be
     + +          activated if the platform and the BIOS support this feature.
     + +          Otherwise the 8254 will be used for timing services.
        
     - -         Choose N to continue using the legacy 8254 timer.
     + +          Choose N to continue using the legacy 8254 timer.
        
        config HPET_EMULATE_RTC
                def_bool y
        config DMI
                default y
                bool "Enable DMI scanning" if EMBEDDED
     - -        help
     + +        ---help---
                  Enabled scanning of DMI to identify machine quirks. Say Y
                  here unless you have verified that your setup is not
                  affected by entries in the DMI blacklist. Required by PNP
@@@@@@@@@ -558,7 -531,7 -558,7 -546,7 -558,7 -533,7 -558,7 -531,7 +561,7 @@@@@@@@@ config GART_IOMM
                select SWIOTLB
                select AGP
                depends on X86_64 && PCI
     - -        help
     + +        ---help---
                  Support for full DMA access of devices with 32bit memory access only
                  on systems with more than 3GB. This is usually needed for USB,
                  sound, many IDE/SATA chipsets and some other devices.
@@@@@@@@@ -573,7 -546,7 -573,7 -561,7 -573,7 -548,7 -573,7 -546,7 +576,7 @@@@@@@@@ config CALGARY_IOMM
                bool "IBM Calgary IOMMU support"
                select SWIOTLB
                depends on X86_64 && PCI && EXPERIMENTAL
     - -        help
     + +        ---help---
                  Support for hardware IOMMUs in IBM's xSeries x366 and x460
                  systems. Needed to run systems with more than 3GB of memory
                  properly with 32-bit PCI devices that do not support DAC
@@@@@@@@@ -591,7 -564,7 -591,7 -579,7 -591,7 -566,7 -591,7 -564,7 +594,7 @@@@@@@@@ config CALGARY_IOMMU_ENABLED_BY_DEFAUL
                def_bool y
                prompt "Should Calgary be enabled by default?"
                depends on CALGARY_IOMMU
     - -        help
     + +        ---help---
                  Should Calgary be enabled by default? if you choose 'y', Calgary
                  will be used (if it exists). If you choose 'n', Calgary will not be
                  used even if it exists. If you choose 'n' and would like to use
@@@@@@@@@ -603,7 -576,7 -603,7 -591,7 -603,7 -578,7 -603,7 -576,7 +606,7 @@@@@@@@@ config AMD_IOMM
                select SWIOTLB
                select PCI_MSI
                depends on X86_64 && PCI && ACPI
     - -        help
     + +        ---help---
                  With this option you can enable support for AMD IOMMU hardware in
                  your system. An IOMMU is a hardware component which provides
                  remapping of DMA memory accesses from devices. With an AMD IOMMU you
@@@@@@@@@ -618,7 -591,7 -618,7 -606,7 -618,7 -593,7 -618,7 -591,7 +621,7 @@@@@@@@@ config AMD_IOMMU_STAT
                bool "Export AMD IOMMU statistics to debugfs"
                depends on AMD_IOMMU
                select DEBUG_FS
     - -        help
     + +        ---help---
                  This option enables code in the AMD IOMMU driver to collect various
                  statistics about whats happening in the driver and exports that
                  information to userspace via debugfs.
        # need this always selected by IOMMU for the VIA workaround
        config SWIOTLB
                def_bool y if X86_64
     - -        help
     + +        ---help---
                  Support for software bounce buffers used on x86-64 systems
                  which don't have a hardware IOMMU (e.g. the current generation
                  of Intel's x86-64 CPUs). Using this PCI devices which can only
@@@@@@@@@ -645,7 -618,7 -645,7 -633,7 -645,7 -620,7 -645,7 -618,7 +648,7 @@@@@@@@@ config MAXSM
                depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL
                select CPUMASK_OFFSTACK
                default n
     - -        help
     + +        ---help---
                  Configure maximum number of CPUS and NUMA Nodes for this architecture.
                  If unsure, say N.
        
@@@@@@@@@ -656,7 -629,7 -656,7 -644,7 -656,7 -631,7 -656,7 -629,7 +659,7 @@@@@@@@@ config NR_CPU
                default "4096" if MAXSMP
                default "32" if SMP && (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000)
                default "8" if SMP
     - -        help
     + +        ---help---
                  This allows you to specify the maximum number of CPUs which this
                  kernel will support.  The maximum supported value is 512 and the
                  minimum value which makes sense is 2.
        config SCHED_SMT
                bool "SMT (Hyperthreading) scheduler support"
                depends on X86_HT
     - -        help
     + +        ---help---
                  SMT scheduler support improves the CPU scheduler's decision making
                  when dealing with Intel Pentium 4 chips with HyperThreading at a
                  cost of slightly increased overhead in some places. If unsure say
@@@@@@@@@ -677,7 -650,7 -677,7 -665,7 -677,7 -652,7 -677,7 -650,7 +680,7 @@@@@@@@@ config SCHED_M
                def_bool y
                prompt "Multi-core scheduler support"
                depends on X86_HT
     - -        help
     + +        ---help---
                  Multi-core scheduler support improves the CPU scheduler's decision
                  making when dealing with multi-core CPU chips at a cost of slightly
                  increased overhead in some places. If unsure say N here.
@@@@@@@@@ -686,8 -659,8 -686,8 -674,8 -686,8 -661,8 -686,8 -659,8 +689,8 @@@@@@@@@ source "kernel/Kconfig.preempt
        
        config X86_UP_APIC
                bool "Local APIC support on uniprocessors"
     - -        depends on X86_32 && !SMP && !(X86_VOYAGER || X86_GENERICARCH)
     - -        help
     + +        depends on X86_32 && !SMP && !X86_32_NON_STANDARD
     + +        ---help---
                  A local APIC (Advanced Programmable Interrupt Controller) is an
                  integrated interrupt controller in the CPU. If you have a single-CPU
                  system which has a processor with a local APIC, you can say Y here to
        config X86_UP_IOAPIC
                bool "IO-APIC support on uniprocessors"
                depends on X86_UP_APIC
     - -        help
     + +        ---help---
                  An IO-APIC (I/O Advanced Programmable Interrupt Controller) is an
                  SMP-capable replacement for PC-style interrupt controllers. Most
                  SMP systems and many recent uniprocessor systems have one.
        
        config X86_LOCAL_APIC
                def_bool y
     - -        depends on X86_64 || (X86_32 && (X86_UP_APIC || (SMP && !X86_VOYAGER) || X86_GENERICARCH))
     + +        depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_APIC
        
        config X86_IO_APIC
                def_bool y
     - -        depends on X86_64 || (X86_32 && (X86_UP_IOAPIC || (SMP && !X86_VOYAGER) || X86_GENERICARCH))
     + +        depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_APIC
        
        config X86_VISWS_APIC
                def_bool y
@@@@@@@@@ -725,7 -698,7 -725,7 -713,7 -725,7 -700,7 -725,7 -698,7 +728,7 @@@@@@@@@ config X86_REROUTE_FOR_BROKEN_BOOT_IRQ
                bool "Reroute for broken boot IRQs"
                default n
                depends on X86_IO_APIC
     - -        help
     + +        ---help---
                  This option enables a workaround that fixes a source of
                  spurious interrupts. This is recommended when threaded
                  interrupt handling is used on systems where the generation of
        
        config X86_MCE
                bool "Machine Check Exception"
     - -        depends on !X86_VOYAGER
                ---help---
                  Machine Check Exception support allows the processor to notify the
                  kernel if it detects a problem (e.g. overheating, component failure).
@@@@@@@@@ -765,7 -738,7 -765,7 -753,7 -765,7 -741,7 -765,7 -739,7 +768,7 @@@@@@@@@ config X86_MCE_INTE
                def_bool y
                prompt "Intel MCE features"
                depends on X86_64 && X86_MCE && X86_LOCAL_APIC
     - -        help
     + +        ---help---
                   Additional support for intel specific MCE features such as
                   the thermal monitor.
        
@@@@@@@@@ -773,14 -746,14 -773,14 -761,14 -773,14 -749,14 -773,14 -747,14 +776,14 @@@@@@@@@ config X86_MCE_AM
                def_bool y
                prompt "AMD MCE features"
                depends on X86_64 && X86_MCE && X86_LOCAL_APIC
     - -        help
     + +        ---help---
                   Additional support for AMD specific MCE features such as
                   the DRAM Error Threshold.
        
        config X86_MCE_NONFATAL
                tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4"
                depends on X86_32 && X86_MCE
     - -        help
     + +        ---help---
                  Enabling this feature starts a timer that triggers every 5 seconds which
                  will look at the machine check registers to see if anything happened.
                  Non-fatal problems automatically get corrected (but still logged).
        config X86_MCE_P4THERMAL
                bool "check for P4 thermal throttling interrupt."
                depends on X86_32 && X86_MCE && (X86_UP_APIC || SMP)
     - -        help
     + +        ---help---
                  Enabling this feature will cause a message to be printed when the P4
                  enters thermal throttling.
        
                bool "Enable VM86 support" if EMBEDDED
                default y
                depends on X86_32
     - -        help
     - -          This option is required by programs like DOSEMU to run 16-bit legacy
     + +        ---help---
     + +          This option is required by programs like DOSEMU to run 16-bit legacy
                  code on X86 processors. It also may be needed by software like
     - -          XFree86 to initialize some video cards via BIOS. Disabling this
     - -          option saves about 6k.
     + +          XFree86 to initialize some video cards via BIOS. Disabling this
     + +          option saves about 6k.
        
        config TOSHIBA
                tristate "Toshiba Laptop support"
@@@@@@@@@ -879,33 -852,33 -879,33 -867,33 -879,33 -855,33 -879,33 -853,33 +882,33 @@@@@@@@@ config MICROCOD
                  module will be called microcode.
        
        config MICROCODE_INTEL
     - -       bool "Intel microcode patch loading support"
     - -       depends on MICROCODE
     - -       default MICROCODE
     - -       select FW_LOADER
     - -       --help---
     - -         This options enables microcode patch loading support for Intel
     - -         processors.
     - -
     - -         For latest news and information on obtaining all the required
     - -         Intel ingredients for this driver, check:
     - -         <http://www.urbanmyth.org/microcode/>.
     + +        bool "Intel microcode patch loading support"
     + +        depends on MICROCODE
     + +        default MICROCODE
     + +        select FW_LOADER
     + +        ---help---
     + +          This options enables microcode patch loading support for Intel
     + +          processors.
     + +
     + +          For latest news and information on obtaining all the required
     + +          Intel ingredients for this driver, check:
     + +          <http://www.urbanmyth.org/microcode/>.
        
        config MICROCODE_AMD
     - -       bool "AMD microcode patch loading support"
     - -       depends on MICROCODE
     - -       select FW_LOADER
     - -       --help---
     - -         If you select this option, microcode patch loading support for AMD
     - -         processors will be enabled.
     + +        bool "AMD microcode patch loading support"
     + +        depends on MICROCODE
     + +        select FW_LOADER
     + +        ---help---
     + +          If you select this option, microcode patch loading support for AMD
     + +          processors will be enabled.
        
     - -   config MICROCODE_OLD_INTERFACE
     + +config MICROCODE_OLD_INTERFACE
                def_bool y
                depends on MICROCODE
        
        config X86_MSR
                tristate "/dev/cpu/*/msr - Model-specific register support"
     - -        help
     + +        ---help---
                  This device gives privileged processes access to the x86
                  Model-Specific Registers (MSRs).  It is a character device with
                  major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr.
        
        config X86_CPUID
                tristate "/dev/cpu/*/cpuid - CPU information support"
     - -        help
     + +        ---help---
                  This device gives processes access to the x86 CPUID instruction to
                  be executed on a specific processor.  It is a character device
                  with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
@@@@@@@@@ -966,7 -939,7 -966,7 -954,7 -966,7 -942,7 -966,7 -940,7 +969,7 @@@@@@@@@ config NOHIGHME
        config HIGHMEM4G
                bool "4GB"
                depends on !X86_NUMAQ
     - -        help
     + +        ---help---
                  Select this if you have a 32-bit processor and between 1 and 4
                  gigabytes of physical RAM.
        
@@@@@@@@@ -974,7 -947,7 -974,7 -962,7 -974,7 -950,7 -974,7 -948,7 +977,7 @@@@@@@@@ config HIGHMEM64
                bool "64GB"
                depends on !M386 && !M486
                select X86_PAE
     - -        help
     + +        ---help---
                  Select this if you have a 32-bit processor and more than 4
                  gigabytes of physical RAM.
        
                prompt "Memory split" if EMBEDDED
                default VMSPLIT_3G
                depends on X86_32
     - -        help
     + +        ---help---
                  Select the desired split between kernel and user memory.
        
                  If the address range available to the kernel is less than the
        config X86_PAE
                bool "PAE (Physical Address Extension) Support"
                depends on X86_32 && !HIGHMEM4G
     - -        help
     + +        ---help---
                  PAE is required for NX support, and furthermore enables
                  larger swapspace support for non-overcommit purposes. It
                  has the cost of more pagetable lookup overhead, and also
                  consumes more pagetable space per process.
        
        config ARCH_PHYS_ADDR_T_64BIT
     - -       def_bool X86_64 || X86_PAE
     + +        def_bool X86_64 || X86_PAE
        
        config DIRECT_GBPAGES
                bool "Enable 1GB pages for kernel pagetables" if EMBEDDED
                default y
                depends on X86_64
     - -        help
     + +        ---help---
                  Allow the kernel linear mapping to use 1GB pages on CPUs that
                  support it. This can improve the kernel's performance a tiny bit by
                  reducing TLB pressure. If in doubt, say "Y".
                bool "Numa Memory Allocation and Scheduler Support"
                depends on SMP
                depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)
     - -        default n if X86_PC
                default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP)
     - -        help
     + +        ---help---
                  Enable NUMA (Non Uniform Memory Access) support.
        
                  The kernel will try to allocate memory used by a CPU on the
                def_bool y
                prompt "Old style AMD Opteron NUMA detection"
                depends on X86_64 && NUMA && PCI
     - -        help
     - -         Enable K8 NUMA node topology detection.  You should say Y here if
     - -         you have a multi processor AMD K8 system. This uses an old
     - -         method to read the NUMA configuration directly from the builtin
     - -         Northbridge of Opteron. It is recommended to use X86_64_ACPI_NUMA
     - -         instead, which also takes priority if both are compiled in.
     + +        ---help---
     + +          Enable K8 NUMA node topology detection.  You should say Y here if
     + +          you have a multi processor AMD K8 system. This uses an old
     + +          method to read the NUMA configuration directly from the builtin
     + +          Northbridge of Opteron. It is recommended to use X86_64_ACPI_NUMA
     + +          instead, which also takes priority if both are compiled in.
        
        config X86_64_ACPI_NUMA
                def_bool y
                prompt "ACPI NUMA detection"
                depends on X86_64 && NUMA && ACPI && PCI
                select ACPI_NUMA
     - -        help
     + +        ---help---
                  Enable ACPI SRAT based node topology detection.
        
        # Some NUMA nodes have memory ranges that span
@@@@@@@@@ -1105,7 -1078,7 -1105,7 -1093,7 -1105,7 -1082,7 -1105,7 -1080,7 +1108,7 @@@@@@@@@ config NODES_SPAN_OTHER_NODE
        config NUMA_EMU
                bool "NUMA emulation"
                depends on X86_64 && NUMA
     - -        help
     + +        ---help---
                  Enable NUMA emulation. A flat machine will be split
                  into virtual nodes when booted with "numa=fake=N", where N is the
                  number of nodes. This is only useful for debugging.
@@@@@@@@@ -1118,7 -1091,7 -1118,7 -1106,7 -1118,7 -1095,7 -1118,7 -1093,7 +1121,7 @@@@@@@@@ config NODES_SHIF
                default "4" if X86_NUMAQ
                default "3"
                depends on NEED_MULTIPLE_NODES
     - -        help
     + +        ---help---
                  Specify the maximum number of NUMA Nodes available on the target
                  system.  Increases memory reserved to accomodate various tables.
        
@@@@@@@@@ -1156,7 -1129,7 -1156,7 -1144,7 -1156,7 -1133,7 -1156,7 -1131,7 +1159,7 @@@@@@@@@ config ARCH_SPARSEMEM_DEFAUL
        
        config ARCH_SPARSEMEM_ENABLE
                def_bool y
     - -        depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC) || X86_GENERICARCH
     + +        depends on X86_64 || NUMA || (EXPERIMENTAL && X86_32) || X86_32_NON_STANDARD
                select SPARSEMEM_STATIC if X86_32
                select SPARSEMEM_VMEMMAP_ENABLE if X86_64
        
@@@@@@@@@ -1173,61 -1146,61 -1173,61 -1161,61 -1173,61 -1150,61 -1173,61 -1148,61 +1176,61 @@@@@@@@@ source "mm/Kconfig
        config HIGHPTE
                bool "Allocate 3rd-level pagetables from highmem"
                depends on X86_32 && (HIGHMEM4G || HIGHMEM64G)
     - -        help
     + +        ---help---
                  The VM uses one page table entry for each page of physical memory.
                  For systems with a lot of RAM, this can be wasteful of precious
                  low memory.  Setting this option will put user-space page table
                  entries in high memory.
        
        config X86_CHECK_BIOS_CORRUPTION
     - -        bool "Check for low memory corruption"
     - -        help
     - -         Periodically check for memory corruption in low memory, which
     - -         is suspected to be caused by BIOS.  Even when enabled in the
     - -         configuration, it is disabled at runtime.  Enable it by
     - -         setting "memory_corruption_check=1" on the kernel command
     - -         line.  By default it scans the low 64k of memory every 60
     - -         seconds; see the memory_corruption_check_size and
     - -         memory_corruption_check_period parameters in
     - -         Documentation/kernel-parameters.txt to adjust this.
     - -
     - -         When enabled with the default parameters, this option has
     - -         almost no overhead, as it reserves a relatively small amount
     - -         of memory and scans it infrequently.  It both detects corruption
     - -         and prevents it from affecting the running system.
     - -
     - -         It is, however, intended as a diagnostic tool; if repeatable
     - -         BIOS-originated corruption always affects the same memory,
     - -         you can use memmap= to prevent the kernel from using that
     - -         memory.
     + +        bool "Check for low memory corruption"
     + +        ---help---
     + +          Periodically check for memory corruption in low memory, which
     + +          is suspected to be caused by BIOS.  Even when enabled in the
     + +          configuration, it is disabled at runtime.  Enable it by
     + +          setting "memory_corruption_check=1" on the kernel command
     + +          line.  By default it scans the low 64k of memory every 60
     + +          seconds; see the memory_corruption_check_size and
     + +          memory_corruption_check_period parameters in
     + +          Documentation/kernel-parameters.txt to adjust this.
     + +
     + +          When enabled with the default parameters, this option has
     + +          almost no overhead, as it reserves a relatively small amount
     + +          of memory and scans it infrequently.  It both detects corruption
     + +          and prevents it from affecting the running system.
     + +
     + +          It is, however, intended as a diagnostic tool; if repeatable
     + +          BIOS-originated corruption always affects the same memory,
     + +          you can use memmap= to prevent the kernel from using that
     + +          memory.
        
        config X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK
     - -        bool "Set the default setting of memory_corruption_check"
     + +        bool "Set the default setting of memory_corruption_check"
                depends on X86_CHECK_BIOS_CORRUPTION
                default y
     - -        help
     - -         Set whether the default state of memory_corruption_check is
     - -         on or off.
     + +        ---help---
     + +          Set whether the default state of memory_corruption_check is
     + +          on or off.
        
        config X86_RESERVE_LOW_64K
     - -        bool "Reserve low 64K of RAM on AMI/Phoenix BIOSen"
     + +        bool "Reserve low 64K of RAM on AMI/Phoenix BIOSen"
                default y
     - -        help
     - -         Reserve the first 64K of physical RAM on BIOSes that are known
     - -         to potentially corrupt that memory range. A numbers of BIOSes are
     - -         known to utilize this area during suspend/resume, so it must not
     - -         be used by the kernel.
     + +        ---help---
     + +          Reserve the first 64K of physical RAM on BIOSes that are known
     + +          to potentially corrupt that memory range. A numbers of BIOSes are
     + +          known to utilize this area during suspend/resume, so it must not
     + +          be used by the kernel.
        
     - -         Set this to N if you are absolutely sure that you trust the BIOS
     - -         to get all its memory reservations and usages right.
     + +          Set this to N if you are absolutely sure that you trust the BIOS
     + +          to get all its memory reservations and usages right.
        
     - -         If you have doubts about the BIOS (e.g. suspend/resume does not
     - -         work or there's kernel crashes after certain hardware hotplug
     - -         events) and it's not AMI or Phoenix, then you might want to enable
     - -         X86_CHECK_BIOS_CORRUPTION=y to allow the kernel to check typical
     - -         corruption patterns.
     + +          If you have doubts about the BIOS (e.g. suspend/resume does not
     + +          work or there's kernel crashes after certain hardware hotplug
     + +          events) and it's not AMI or Phoenix, then you might want to enable
     + +          X86_CHECK_BIOS_CORRUPTION=y to allow the kernel to check typical
     + +          corruption patterns.
        
     - -         Say Y if unsure.
     + +          Say Y if unsure.
        
        config MATH_EMULATION
                bool
@@@@@@@@@ -1293,7 -1266,7 -1293,7 -1281,7 -1293,7 -1270,7 -1293,7 -1268,7 +1296,7 @@@@@@@@@ config MTRR_SANITIZE
                def_bool y
                prompt "MTRR cleanup support"
                depends on MTRR
     - -        help
     + +        ---help---
                  Convert MTRR layout from continuous to discrete, so X drivers can
                  add writeback entries.
        
@@@@@@@@@ -1308,7 -1281,7 -1308,7 -1296,7 -1308,7 -1285,7 -1308,7 -1283,7 +1311,7 @@@@@@@@@ config MTRR_SANITIZER_ENABLE_DEFAUL
                range 0 1
                default "0"
                depends on MTRR_SANITIZER
     - -        help
     + +        ---help---
                  Enable mtrr cleanup default value
        
        config MTRR_SANITIZER_SPARE_REG_NR_DEFAULT
                range 0 7
                default "1"
                depends on MTRR_SANITIZER
     - -        help
     + +        ---help---
                  mtrr cleanup spare entries default, it can be changed via
                  mtrr_spare_reg_nr=N on the kernel command line.
        
@@@@@@@@@ -1324,7 -1297,7 -1324,7 -1312,7 -1324,7 -1301,7 -1324,7 -1299,7 +1327,7 @@@@@@@@@ config X86_PA
                bool
                prompt "x86 PAT support"
                depends on MTRR
     - -        help
     + +        ---help---
                  Use PAT attributes to setup page level cache control.
        
                  PATs are the modern equivalents of MTRRs and are much more
                bool "EFI runtime service support"
                depends on ACPI
                ---help---
     - -        This enables the kernel to use EFI runtime services that are
     - -        available (such as the EFI variable services).
     + +          This enables the kernel to use EFI runtime services that are
     + +          available (such as the EFI variable services).
        
     - -        This option is only useful on systems that have EFI firmware.
     - -        In addition, you should use the latest ELILO loader available
     - -        at <http://elilo.sourceforge.net> in order to take advantage
     - -        of EFI runtime services. However, even with this option, the
     - -        resultant kernel should continue to boot on existing non-EFI
     - -        platforms.
     + +          This option is only useful on systems that have EFI firmware.
     + +          In addition, you should use the latest ELILO loader available
     + +          at <http://elilo.sourceforge.net> in order to take advantage
     + +          of EFI runtime services. However, even with this option, the
     + +          resultant kernel should continue to boot on existing non-EFI
     + +          platforms.
        
        config SECCOMP
                def_bool y
                prompt "Enable seccomp to safely compute untrusted bytecode"
     - -        help
     + +        ---help---
                  This kernel feature is useful for number crunching applications
                  that may need to compute untrusted bytecode during their
                  execution. By using pipes or other transports made available to
        
                  If unsure, say Y. Only embedded should say N here.
        
     + +config CC_STACKPROTECTOR_ALL
     + +        bool
     + +
        config CC_STACKPROTECTOR
                bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
     - -        depends on X86_64 && EXPERIMENTAL && BROKEN
     - -        help
     - -         This option turns on the -fstack-protector GCC feature. This
     - -          feature puts, at the beginning of critical functions, a canary
     - -          value on the stack just before the return address, and validates
     + +        select CC_STACKPROTECTOR_ALL
     + +        ---help---
     + +          This option turns on the -fstack-protector GCC feature. This
     + +          feature puts, at the beginning of functions, a canary value on
     + +          the stack just before the return address, and validates
                  the value just before actually returning.  Stack based buffer
                  overflows (that need to overwrite this return address) now also
                  overwrite the canary, which gets detected and the attack is then
        
                  This feature requires gcc version 4.2 or above, or a distribution
                  gcc with the feature backported. Older versions are automatically
     - -          detected and for those versions, this configuration option is ignored.
     - -
     - -config CC_STACKPROTECTOR_ALL
     - -        bool "Use stack-protector for all functions"
     - -        depends on CC_STACKPROTECTOR
     - -        help
     - -          Normally, GCC only inserts the canary value protection for
     - -          functions that use large-ish on-stack buffers. By enabling
     - -          this option, GCC will be asked to do this for ALL functions.
     + +          detected and for those versions, this configuration option is
     + +          ignored. (and a warning is printed during bootup)
        
        source kernel/Kconfig.hz
        
        config KEXEC
                bool "kexec system call"
     - -        depends on X86_BIOS_REBOOT
     - -        help
     + +        ---help---
                  kexec is a system call that implements the ability to shutdown your
                  current kernel, and to start another kernel.  It is like a reboot
                  but it is independent of the system firmware.   And like a reboot
        config CRASH_DUMP
                bool "kernel crash dumps"
                depends on X86_64 || (X86_32 && HIGHMEM)
     - -        help
     + +        ---help---
                  Generate crash dump after being started by kexec.
                  This should be normally only set in special crash dump kernels
                  which are loaded in the main kernel with kexec-tools into
@@@@@@@@@ -1421,7 -1394,7 -1421,7 -1409,7 -1421,7 -1403,7 -1421,7 -1401,7 +1424,7 @@@@@@@@@ config KEXEC_JUM
                bool "kexec jump (EXPERIMENTAL)"
                depends on EXPERIMENTAL
                depends on KEXEC && HIBERNATION && X86_32
     - -        help
     + +        ---help---
                  Jump between original kernel and kexeced kernel and invoke
                  code in physical address mode via KEXEC
        
@@@@@@@@@ -1430,7 -1403,7 -1430,7 -1418,7 -1430,7 -1412,7 -1430,7 -1410,7 +1433,7 @@@@@@@@@ config PHYSICAL_STAR
                default "0x1000000" if X86_NUMAQ
                default "0x200000" if X86_64
                default "0x100000"
     - -        help
     + +        ---help---
                  This gives the physical address where the kernel is loaded.
        
                  If kernel is a not relocatable (CONFIG_RELOCATABLE=n) then
        config RELOCATABLE
                bool "Build a relocatable kernel (EXPERIMENTAL)"
                depends on EXPERIMENTAL
     - -        help
     + +        ---help---
                  This builds a kernel image that retains relocation information
                  so it can be loaded someplace besides the default 1MB.
                  The relocations tend to make the kernel binary about 10% larger,
@@@@@@@@@ -1491,7 -1464,7 -1491,7 -1479,7 -1491,7 -1473,7 -1491,7 -1471,7 +1494,7 @@@@@@@@@ config PHYSICAL_ALIG
                default "0x100000" if X86_32
                default "0x200000" if X86_64
                range 0x2000 0x400000
     - -        help
     + +        ---help---
                  This value puts the alignment restrictions on physical address
                  where kernel is loaded and run from. Kernel is compiled for an
                  address which meets above alignment restriction.
        
        config HOTPLUG_CPU
                bool "Support for hot-pluggable CPUs"
     - -        depends on SMP && HOTPLUG && !X86_VOYAGER
     + +        depends on SMP && HOTPLUG
                ---help---
                  Say Y here to allow turning CPUs off and on. CPUs can be
                  controlled through /sys/devices/system/cpu.
@@@@@@@@@ -1524,7 -1497,7 -1524,7 -1512,7 -1524,7 -1506,7 -1524,7 -1504,7 +1527,7 @@@@@@@@@ config COMPAT_VDS
                def_bool y
                prompt "Compat VDSO support"
                depends on X86_32 || IA32_EMULATION
     - -        help
     + +        ---help---
                  Map the 32-bit VDSO to the predictable old-style address too.
                ---help---
                  Say N here if you are running a sufficiently recent glibc
        config CMDLINE_BOOL
                bool "Built-in kernel command line"
                default n
     - -        help
     + +        ---help---
                  Allow for specifying boot arguments to the kernel at
                  build time.  On some systems (e.g. embedded ones), it is
                  necessary or convenient to provide some or all of the
@@@@@@@@@ -1554,7 -1527,7 -1554,7 -1542,7 -1554,7 -1536,7 -1554,7 -1534,7 +1557,7 @@@@@@@@@ config CMDLIN
                string "Built-in kernel command string"
                depends on CMDLINE_BOOL
                default ""
     - -        help
     + +        ---help---
                  Enter arguments here that should be compiled into the kernel
                  image and used at boot time.  If the boot loader provides a
                  command line at boot time, it is appended to this string to
@@@@@@@@@ -1571,7 -1544,7 -1571,7 -1559,7 -1571,7 -1553,7 -1571,7 -1551,7 +1574,7 @@@@@@@@@ config CMDLINE_OVERRID
                bool "Built-in command line overrides boot loader arguments"
                default n
                depends on CMDLINE_BOOL
     - -        help
     + +        ---help---
                  Set this option to 'Y' to have the kernel ignore the boot loader
                  command line, and use ONLY the built-in command line.
        
@@@@@@@@@ -1593,6 -1566,6 -1593,6 -1581,6 -1593,6 -1575,7 -1593,6 -1573,7 +1596,6 @@@@@@@@@ config HAVE_ARCH_EARLY_PFN_TO_NI
                depends on NUMA
        
        menu "Power management and ACPI options"
     - -        depends on !X86_VOYAGER
        
        config ARCH_HIBERNATION_HEADER
                def_bool y
        
        config APM_IGNORE_USER_SUSPEND
                bool "Ignore USER SUSPEND"
     - -        help
     + +        ---help---
                  This option will ignore USER SUSPEND requests. On machines with a
                  compliant APM BIOS, you want to say N. However, on the NEC Versa M
                  series notebooks, it is necessary to say Y because of a BIOS bug.
@@@@@@@@@ -1694,7 -1667,7 -1694,7 -1682,7 -1694,7 -1677,7 -1694,7 -1675,7 +1697,7 @@@@@@@@@ config APM_DO_ENABL
        
        config APM_CPU_IDLE
                bool "Make CPU Idle calls when idle"
     - -        help
     + +        ---help---
                  Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop.
                  On some machines, this can activate improved power savings, such as
                  a slowed CPU clock rate, when the machine is idle. These idle calls
        
        config APM_DISPLAY_BLANK
                bool "Enable console blanking using APM"
     - -        help
     + +        ---help---
                  Enable console blanking using the APM. Some laptops can use this to
                  turn off the LCD backlight when the screen blanker of the Linux
                  virtual console blanks the screen. Note that this is only used by
        
        config APM_ALLOW_INTS
                bool "Allow interrupts during APM BIOS calls"
     - -        help
     + +        ---help---
                  Normally we disable external interrupts while we are making calls to
                  the APM BIOS as a measure to lessen the effects of a badly behaving
                  BIOS implementation.  The BIOS should reenable interrupts if it
                bool "PCI support"
                default y
                select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC)
     - -        help
     + +        ---help---
                  Find out whether you have a PCI motherboard. PCI is the name of a
                  bus system, i.e. the way the CPU talks to the other stuff inside
                  your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
@@@@@@@@@ -1814,52 -1787,51 -1814,52 -1802,52 -1814,52 -1797,40 -1814,52 -1795,51 +1817,52 @@@@@@@@@ config PCI_MMCONFI
        config DMAR
                bool "Support for DMA Remapping Devices (EXPERIMENTAL)"
                depends on X86_64 && PCI_MSI && ACPI && EXPERIMENTAL
     - -        help
     + +        ---help---
                  DMA remapping (DMAR) devices support enables independent address
                  translations for Direct Memory Access (DMA) from devices.
                  These DMA remapping devices are reported via ACPI tables
                  and include PCI device scope covered by these DMA
                  remapping devices.
        
----  -         def_bool n
     +  config DMAR_DEFAULT_ON
++++ ++         def_bool y
     +          prompt "Enable DMA Remapping Devices by default"
     +          depends on DMAR
     +          help
     +            Selecting this option will enable a DMAR device at boot time if
     +            one is found. If this option is not selected, DMAR support can
     +            be enabled by passing intel_iommu=on to the kernel. It is
     +            recommended you say N here while the DMAR code remains
     +            experimental.
     +  
        config DMAR_GFX_WA
                def_bool y
                prompt "Support for Graphics workaround"
                depends on DMAR
     - -        help
     - -         Current Graphics drivers tend to use physical address
     - -         for DMA and avoid using DMA APIs. Setting this config
     - -         option permits the IOMMU driver to set a unity map for
     - -         all the OS-visible memory. Hence the driver can continue
     - -         to use physical addresses for DMA.
     + +        ---help---
     + +          Current Graphics drivers tend to use physical address
     + +          for DMA and avoid using DMA APIs. Setting this config
     + +          option permits the IOMMU driver to set a unity map for
     + +          all the OS-visible memory. Hence the driver can continue
     + +          to use physical addresses for DMA.
        
        config DMAR_FLOPPY_WA
                def_bool y
                depends on DMAR
     - -        help
     - -         Floppy disk drivers are know to bypass DMA API calls
     - -         thereby failing to work when IOMMU is enabled. This
     - -         workaround will setup a 1:1 mapping for the first
     - -         16M to make floppy (an ISA device) work.
     + +        ---help---
     + +          Floppy disk drivers are know to bypass DMA API calls
     + +          thereby failing to work when IOMMU is enabled. This
     + +          workaround will setup a 1:1 mapping for the first
     + +          16M to make floppy (an ISA device) work.
        
        config INTR_REMAP
                bool "Support for Interrupt Remapping (EXPERIMENTAL)"
                depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI && EXPERIMENTAL
     - -        help
     - -         Supports Interrupt remapping for IO-APIC and MSI devices.
     - -         To use x2apic mode in the CPU's which support x2APIC enhancements or
     - -         to support platforms with CPU's having > 8 bit APIC ID, say Y.
 +   + +        select X86_X2APIC
     + +        ---help---
     + +          Supports Interrupt remapping for IO-APIC and MSI devices.
     + +          To use x2apic mode in the CPU's which support x2APIC enhancements or
     + +          to support platforms with CPU's having > 8 bit APIC ID, say Y.
        
        source "drivers/pci/pcie/Kconfig"
        
        
        config ISA
                bool "ISA support"
     - -        depends on !X86_VOYAGER
     - -        help
     + +        ---help---
                  Find out whether you have ISA slots on your motherboard.  ISA is the
                  name of a bus system, i.e. the way the CPU talks to the other stuff
                  inside your box.  Other bus systems are PCI, EISA, MicroChannel
        source "drivers/eisa/Kconfig"
        
        config MCA
     - -        bool "MCA support" if !X86_VOYAGER
     - -        default y if X86_VOYAGER
     - -        help
     + +        bool "MCA support"
     + +        ---help---
                  MicroChannel Architecture is found in some IBM PS/2 machines and
                  laptops.  It is a bus system similar to PCI or ISA. See
                  <file:Documentation/mca.txt> (and especially the web page given
@@@@@@@@@ -1910,7 -1882,7 -1910,7 -1898,7 -1910,7 -1883,8 -1910,7 -1892,8 +1913,7 @@@@@@@@@ source "drivers/mca/Kconfig
        
        config SCx200
                tristate "NatSemi SCx200 support"
     - -        depends on !X86_VOYAGER
     - -        help
     + +        ---help---
                  This provides basic support for National Semiconductor's
                  (now AMD's) Geode processors.  The driver probes for the
                  PCI-IDs of several on-chip devices, so its a good dependency
@@@@@@@@@ -1922,7 -1894,7 -1922,7 -1910,7 -1922,7 -1896,7 -1922,7 -1905,7 +1925,7 @@@@@@@@@ config SCx200HR_TIME
                tristate "NatSemi SCx200 27MHz High-Resolution Timer Support"
                depends on SCx200 && GENERIC_TIME
                default y
     - -        help
     + +        ---help---
                  This driver provides a clocksource built upon the on-chip
                  27MHz high-resolution timer.  Its also a workaround for
                  NSC Geode SC-1100's buggy TSC, which loses time when the
@@@@@@@@@ -1933,7 -1905,7 -1933,7 -1921,7 -1933,7 -1907,7 -1933,7 -1916,7 +1936,7 @@@@@@@@@ config GEODE_MFGPT_TIME
                def_bool y
                prompt "Geode Multi-Function General Purpose Timer (MFGPT) events"
                depends on MGEODE_LX && GENERIC_TIME && GENERIC_CLOCKEVENTS
     - -        help
     + +        ---help---
                  This driver provides a clock event source based on the MFGPT
                  timer(s) in the CS5535 and CS5536 companion chip for the geode.
                  MFGPTs have a better resolution and max interval than the
        config OLPC
                bool "One Laptop Per Child support"
                default n
     - -        help
     + +        ---help---
                  Add support for detecting the unique features of the OLPC
                  XO hardware.
        
@@@@@@@@@ -1967,16 -1939,16 -1967,16 -1955,16 -1967,16 -1941,16 -1967,16 -1950,16 +1970,16 @@@@@@@@@ config IA32_EMULATIO
                bool "IA32 Emulation"
                depends on X86_64
                select COMPAT_BINFMT_ELF
     - -        help
     + +        ---help---
                  Include code to run 32-bit programs under a 64-bit kernel. You should
                  likely turn this on, unless you're 100% sure that you don't have any
                  32-bit programs left.
        
        config IA32_AOUT
     - -       tristate "IA32 a.out support"
     - -       depends on IA32_EMULATION
     - -       help
     - -         Support old a.out binaries in the 32bit emulation.
     + +        tristate "IA32 a.out support"
     + +        depends on IA32_EMULATION
     + +        ---help---
     + +          Support old a.out binaries in the 32bit emulation.
        
        config COMPAT
                def_bool y
diff --combined arch/x86/kernel/ptrace.c
index fb2159a5c817099dba21dfe061eaa175c345fdaf,d2f7cd5b2c8378e057152846a98dedde59535086,fb2159a5c817099dba21dfe061eaa175c345fdaf,fb2159a5c817099dba21dfe061eaa175c345fdaf,fb2159a5c817099dba21dfe061eaa175c345fdaf,0a5df5f82fb9579b1be4e824aa499ac561d9ba10,fb2159a5c817099dba21dfe061eaa175c345fdaf,06ca07f6ad86243884c7852c13334d9da9604acf..3d9672e59c16aeb0b16d0be4d0aae5f1b362f61c
@@@@@@@@@ -75,7 -75,7 -75,7 -75,7 -75,7 -75,10 -75,7 -75,10 +75,7 @@@@@@@@@ static inline bool invalid_selector(u1
        static unsigned long *pt_regs_access(struct pt_regs *regs, unsigned long regno)
        {
                BUILD_BUG_ON(offsetof(struct pt_regs, bx) != 0);
     - -        regno >>= 2;
     - -        if (regno > FS)
     - -                --regno;
     - -        return &regs->bx + regno;
     + +        return &regs->bx + (regno >> 2);
        }
        
        static u16 get_segment_reg(struct task_struct *task, unsigned long offset)
                if (offset != offsetof(struct user_regs_struct, gs))
                        retval = *pt_regs_access(task_pt_regs(task), offset);
                else {
     - -                retval = task->thread.gs;
                        if (task == current)
     - -                        savesegment(gs, retval);
     + +                        retval = get_user_gs(task_pt_regs(task));
     + +                else
     + +                        retval = task_user_gs(task);
                }
                return retval;
        }
@@@@@@@@@ -124,10 -124,10 -124,10 -124,10 -124,10 -126,13 -124,10 -126,13 +124,10 @@@@@@@@@ static int set_segment_reg(struct task_
                        break;
        
                case offsetof(struct user_regs_struct, gs):
     - -                task->thread.gs = value;
                        if (task == current)
     - -                        /*
     - -                         * The user-mode %gs is not affected by
     - -                         * kernel entry, so we must update the CPU.
     - -                         */
     - -                        loadsegment(gs, value);
     + +                        set_user_gs(task_pt_regs(task), value);
     + +                else
     + +                        task_user_gs(task) = value;
                }
        
                return 0;
@@@@@@@@@ -268,7 -268,7 -268,7 -268,7 -268,7 -273,7 -268,7 -273,7 +268,7 @@@@@@@@@ static unsigned long debugreg_addr_limi
                if (test_tsk_thread_flag(task, TIF_IA32))
                        return IA32_PAGE_OFFSET - 3;
        #endif
 -   - -        return TASK_SIZE64 - 7;
 +   + +        return TASK_SIZE_MAX - 7;
        }
        
        #endif  /* CONFIG_X86_32 */
@@@@@@@@@ -805,16 -805,16 -805,16 -805,16 -805,16 -810,12 -805,16 -810,16 +805,16 @@@@@@@@@ static void ptrace_bts_untrace(struct t
        
        static void ptrace_bts_detach(struct task_struct *child)
        {
     -          if (unlikely(child->bts)) {
     -                  ds_release_bts(child->bts);
     -                  child->bts = NULL;
     -  
     -                  ptrace_bts_free_buffer(child);
     -          }
     +          /*
     +           * Ptrace_detach() races with ptrace_untrace() in case
     +           * the child dies and is reaped by another thread.
     +           *
     +           * We only do the memory accounting at this point and
     +           * leave the buffer deallocation and the bts tracer
     +           * release to ptrace_bts_untrace() which will be called
     +           * later on with tasklist_lock held.
     +           */
     +          release_locked_buffer(child->bts_buffer, child->bts_size);
        }
        #else
        static inline void ptrace_bts_fork(struct task_struct *tsk) {}
@@@@@@@@@ -1383,7 -1383,7 -1383,7 -1383,7 -1383,7 -1384,7 -1383,7 -1388,7 +1383,7 @@@@@@@@@ void send_sigtrap(struct task_struct *t
        #ifdef CONFIG_X86_32
        # define IS_IA32        1
        #elif defined CONFIG_IA32_EMULATION
------- # define IS_IA32        test_thread_flag(TIF_IA32)
+++++++ # define IS_IA32        is_compat_task()
        #else
        # define IS_IA32        0
        #endif
diff --combined arch/x86/mm/init_64.c
index e6d36b490250bed6952f2d93de3d1f337c3cf7f4,e6d36b490250bed6952f2d93de3d1f337c3cf7f4,e6d36b490250bed6952f2d93de3d1f337c3cf7f4,aae87456d9303f7004b8a19ac6d1759ef0d265e6,e6d36b490250bed6952f2d93de3d1f337c3cf7f4,23f68e77ad1fde95975c5b6e3cf163eb7850f305,e6d36b490250bed6952f2d93de3d1f337c3cf7f4,b1352250096e0d734ea4a03650e7d92ae8c2d8ba..724e537432e75abfcea84ef50764a7d6d4f41109
@@@@@@@@@ -596,7 -596,7 -596,7 -596,7 -596,7 -596,7 -596,7 -596,7 +596,7 @@@@@@@@@ static void __init init_gbpages(void
                        direct_gbpages = 0;
        }
        
     -  static unsigned long __init kernel_physical_mapping_init(unsigned long start,
     +  static unsigned long __meminit kernel_physical_mapping_init(unsigned long start,
                                                        unsigned long end,
                                                        unsigned long page_size_mask)
        {
@@@@@@@@@ -714,6 -714,6 -714,6 -714,6 -714,6 -714,6 -714,6 -714,8 +714,8 @@@@@@@@@ unsigned long __init_refok init_memory_
                pos = start_pfn << PAGE_SHIFT;
                end_pfn = ((pos + (PMD_SIZE - 1)) >> PMD_SHIFT)
                                << (PMD_SHIFT - PAGE_SHIFT);
+++++++         if (end_pfn > (end >> PAGE_SHIFT))
+++++++                 end_pfn = end >> PAGE_SHIFT;
                if (start_pfn < end_pfn) {
                        nr_range = save_mr(mr, nr_range, start_pfn, end_pfn, 0);
                        pos = end_pfn << PAGE_SHIFT;
@@@@@@@@@ -945,43 -945,43 -945,43 -945,6 -945,43 -945,43 -945,43 -947,43 +947,6 @@@@@@@@@ void __init mem_init(void
                        initsize >> 10);
        }
        
--- ----void free_init_pages(char *what, unsigned long begin, unsigned long end)
--- ----{
--- ----        unsigned long addr = begin;
--- ----
--- ----        if (addr >= end)
--- ----                return;
--- ----
--- ----        /*
--- ----         * If debugging page accesses then do not free this memory but
--- ----         * mark them not present - any buggy init-section access will
--- ----         * create a kernel page fault:
--- ----         */
--- ----#ifdef CONFIG_DEBUG_PAGEALLOC
--- ----        printk(KERN_INFO "debug: unmapping init memory %08lx..%08lx\n",
--- ----                begin, PAGE_ALIGN(end));
--- ----        set_memory_np(begin, (end - begin) >> PAGE_SHIFT);
--- ----#else
--- ----        printk(KERN_INFO "Freeing %s: %luk freed\n", what, (end - begin) >> 10);
--- ----
--- ----        for (; addr < end; addr += PAGE_SIZE) {
--- ----                ClearPageReserved(virt_to_page(addr));
--- ----                init_page_count(virt_to_page(addr));
--- ----                memset((void *)(addr & ~(PAGE_SIZE-1)),
--- ----                        POISON_FREE_INITMEM, PAGE_SIZE);
--- ----                free_page(addr);
--- ----                totalram_pages++;
--- ----        }
--- ----#endif
--- ----}
--- ----
--- ----void free_initmem(void)
--- ----{
--- ----        free_init_pages("unused kernel memory",
--- ----                        (unsigned long)(&__init_begin),
--- ----                        (unsigned long)(&__init_end));
--- ----}
--- ----
        #ifdef CONFIG_DEBUG_RODATA
        const int rodata_test_data = 0xC3;
        EXPORT_SYMBOL_GPL(rodata_test_data);
diff --combined arch/x86/mm/numa_32.c
index 3957cd6d6454b832594c971f5c6860b84d5e4a11,d1f7439d173c2ba10791d6358dd90b4d50325442,3957cd6d6454b832594c971f5c6860b84d5e4a11,a04092a8acc847a9fdcab978ad544e35961f20b5,3957cd6d6454b832594c971f5c6860b84d5e4a11,d1f7439d173c2ba10791d6358dd90b4d50325442,3957cd6d6454b832594c971f5c6860b84d5e4a11,d1f7439d173c2ba10791d6358dd90b4d50325442..451fe95a0352b3d63634231ea31c4eea016b2550
@@@@@@@@@ -194,7 -194,7 -194,7 -194,7 -194,7 -194,7 -194,7 -194,7 +194,7 @@@@@@@@@ void *alloc_remap(int nid, unsigned lon
                size = ALIGN(size, L1_CACHE_BYTES);
        
                if (!allocation || (allocation + size) >= node_remap_end_vaddr[nid])
 - - - -                return 0;
 + + + +                return NULL;
        
                node_remap_alloc_vaddr[nid] += size;
                memset(allocation, 0, size);
@@@@@@@@@ -423,32 -423,32 -423,32 -423,6 -423,32 -423,32 -423,32 -423,32 +423,6 @@@@@@@@@ void __init initmem_init(unsigned long 
                setup_bootmem_allocator();
        }
        
--- ----void __init set_highmem_pages_init(void)
--- ----{
--- ----#ifdef CONFIG_HIGHMEM
--- ----        struct zone *zone;
--- ----        int nid;
--- ----
--- ----        for_each_zone(zone) {
--- ----                unsigned long zone_start_pfn, zone_end_pfn;
--- ----
--- ----                if (!is_highmem(zone))
--- ----                        continue;
--- ----
--- ----                zone_start_pfn = zone->zone_start_pfn;
--- ----                zone_end_pfn = zone_start_pfn + zone->spanned_pages;
--- ----
--- ----                nid = zone_to_nid(zone);
--- ----                printk(KERN_INFO "Initializing %s for node %d (%08lx:%08lx)\n",
--- ----                                zone->name, nid, zone_start_pfn, zone_end_pfn);
--- ----
--- ----                add_highpages_with_active_regions(nid, zone_start_pfn,
--- ----                                 zone_end_pfn);
--- ----        }
--- ----        totalram_pages += totalhigh_pages;
--- ----#endif
--- ----}
--- ----
        #ifdef CONFIG_MEMORY_HOTPLUG
        static int paddr_to_nid(u64 addr)
        {
diff --combined arch/x86/mm/pgtable_32.c
index 0951db9ee5190b351a843a71a755109a6fd1586e,0951db9ee5190b351a843a71a755109a6fd1586e,c3cf6e1157681c23d4d835578a4af62fc034cf76,e4032c886c39eb5ce5d33c9678fe8d3f0c607629,0951db9ee5190b351a843a71a755109a6fd1586e,0951db9ee5190b351a843a71a755109a6fd1586e,0951db9ee5190b351a843a71a755109a6fd1586e,0951db9ee5190b351a843a71a755109a6fd1586e..f2e477c91c1b85d72bb3d7ec0659e647c67c968c
        #include <asm/tlb.h>
        #include <asm/tlbflush.h>
        
+++ ++++unsigned int __VMALLOC_RESERVE = 128 << 20;
+++ ++++
        /*
         * Associate a virtual page frame with a given physical page frame 
         * and protection flags for that frame.
@@@@@@@@@ -97,22 -97,22 -97,6 -99,22 -97,22 -97,22 -97,22 -97,22 +99,6 @@@@@@@@@ void set_pmd_pfn(unsigned long vaddr, u
        unsigned long __FIXADDR_TOP = 0xfffff000;
        EXPORT_SYMBOL(__FIXADDR_TOP);
        
-- -----/**
-- ----- * reserve_top_address - reserves a hole in the top of kernel address space
-- ----- * @reserve - size of hole to reserve
-- ----- *
-- ----- * Can be used to relocate the fixmap area and poke a hole in the top
-- ----- * of kernel address space to make room for a hypervisor.
-- ----- */
-- -----void __init reserve_top_address(unsigned long reserve)
-- -----{
-- -----        BUG_ON(fixmaps_set > 0);
-- -----        printk(KERN_INFO "Reserving virtual address space above 0x%08x\n",
-- -----               (int)-reserve);
-- -----        __FIXADDR_TOP = -reserve - PAGE_SIZE;
-- -----        __VMALLOC_RESERVE += reserve;
-- -----}
-- -----
        /*
         * vmalloc=size forces the vmalloc area to be exactly 'size'
         * bytes. This can be used to increase (or decrease) the
index 9bef935ef19fa04dacc7cea89a79f87e13ce431f,9bef935ef19fa04dacc7cea89a79f87e13ce431f,9bef935ef19fa04dacc7cea89a79f87e13ce431f,9bef935ef19fa04dacc7cea89a79f87e13ce431f,9bef935ef19fa04dacc7cea89a79f87e13ce431f,093c8c1bca746b651a4c18ab260931a02dac5dae,9bef935ef19fa04dacc7cea89a79f87e13ce431f,9705f3a00a3d944a5e3883e3cdf2fce4de20a2e8..4f38e6f7dfdd6db154b5d6ecc531a0f55e802019
@@@@@@@@@ -17,7 -17,7 -17,7 -17,7 -17,7 -17,7 -17,7 -17,7 +17,7 @@@@@@@@@ config MOUSE_PS
                default y
                select SERIO
                select SERIO_LIBPS2
     - -        select SERIO_I8042 if X86_PC
     + +        select SERIO_I8042 if X86
                select SERIO_GSCPS2 if GSC
                help
                  Say Y here if you have a PS/2 mouse connected to your system. This
@@@@@@@@@ -70,7 -70,7 -70,7 -70,7 -70,7 -70,7 -70,7 -70,7 +70,7 @@@@@@@@@ config MOUSE_PS2_SYNAPTIC
        config MOUSE_PS2_LIFEBOOK
                bool "Fujitsu Lifebook PS/2 mouse protocol extension" if EMBEDDED
                default y
-------         depends on MOUSE_PS2
+++++++         depends on MOUSE_PS2 && X86
                help
                  Say Y here if you have a Fujitsu B-series Lifebook PS/2
                  TouchScreen connected to your system.
diff --combined init/Kconfig
index f068071fcc5d952a0a6c7d745797ea094d7b3999,f068071fcc5d952a0a6c7d745797ea094d7b3999,f068071fcc5d952a0a6c7d745797ea094d7b3999,f068071fcc5d952a0a6c7d745797ea094d7b3999,f068071fcc5d952a0a6c7d745797ea094d7b3999,a3e3bf548046d89f689ece21dbfa025177862c36,f068071fcc5d952a0a6c7d745797ea094d7b3999,f068071fcc5d952a0a6c7d745797ea094d7b3999..95a66131403a522651f6a0974a0c5538b8127945
@@@@@@@@@ -101,6 -101,6 -101,6 -101,6 -101,6 -101,66 -101,6 -101,6 +101,66 @@@@@@@@@ config LOCALVERSION_AUT
        
                  which is done within the script "scripts/setlocalversion".)
        
+++++ ++config HAVE_KERNEL_GZIP
+++++ ++        bool
+++++ ++
+++++ ++config HAVE_KERNEL_BZIP2
+++++ ++        bool
+++++ ++
+++++ ++config HAVE_KERNEL_LZMA
+++++ ++        bool
+++++ ++
+++++ ++choice
+++++ ++        prompt "Kernel compression mode"
+++++ ++        default KERNEL_GZIP
+++++ ++        depends on HAVE_KERNEL_GZIP || HAVE_KERNEL_BZIP2 || HAVE_KERNEL_LZMA
+++++ ++        help
+++++ ++          The linux kernel is a kind of self-extracting executable.
+++++ ++          Several compression algorithms are available, which differ
+++++ ++          in efficiency, compression and decompression speed.
+++++ ++          Compression speed is only relevant when building a kernel.
+++++ ++          Decompression speed is relevant at each boot.
+++++ ++
+++++ ++          If you have any problems with bzip2 or lzma compressed
+++++ ++          kernels, mail me (Alain Knaff) <alain@knaff.lu>. (An older
+++++ ++          version of this functionality (bzip2 only), for 2.4, was
+++++ ++          supplied by Christian Ludwig)
+++++ ++
+++++ ++          High compression options are mostly useful for users, who
+++++ ++          are low on disk space (embedded systems), but for whom ram
+++++ ++          size matters less.
+++++ ++
+++++ ++          If in doubt, select 'gzip'
+++++ ++
+++++ ++config KERNEL_GZIP
+++++ ++        bool "Gzip"
+++++ ++        depends on HAVE_KERNEL_GZIP
+++++ ++        help
+++++ ++          The old and tried gzip compression. Its compression ratio is
+++++ ++          the poorest among the 3 choices; however its speed (both
+++++ ++          compression and decompression) is the fastest.
+++++ ++
+++++ ++config KERNEL_BZIP2
+++++ ++        bool "Bzip2"
+++++ ++        depends on HAVE_KERNEL_BZIP2
+++++ ++        help
+++++ ++          Its compression ratio and speed is intermediate.
+++++ ++          Decompression speed is slowest among the three.  The kernel
+++++ ++          size is about 10% smaller with bzip2, in comparison to gzip.
+++++ ++          Bzip2 uses a large amount of memory. For modern kernels you
+++++ ++          will need at least 8MB RAM or more for booting.
+++++ ++
+++++ ++config KERNEL_LZMA
+++++ ++        bool "LZMA"
+++++ ++        depends on HAVE_KERNEL_LZMA
+++++ ++        help
+++++ ++          The most recent compression algorithm.
+++++ ++          Its ratio is best, decompression speed is between the other
+++++ ++          two. Compression is slowest.  The kernel size is about 33%
+++++ ++          smaller with LZMA in comparison to gzip.
+++++ ++
+++++ ++endchoice
+++++ ++
        config SWAP
                bool "Support for paging of anonymous memory (swap)"
                depends on MMU && BLOCK
@@@@@@@@@ -238,98 -238,98 -238,98 -238,98 -238,98 -298,6 -238,98 -238,98 +298,98 @@@@@@@@@ config AUDIT_TRE
                def_bool y
                depends on AUDITSYSCALL && INOTIFY
        
     +  menu "RCU Subsystem"
     +  
     +  choice
     +          prompt "RCU Implementation"
     +          default CLASSIC_RCU
     +  
     +  config CLASSIC_RCU
     +          bool "Classic RCU"
     +          help
     +            This option selects the classic RCU implementation that is
     +            designed for best read-side performance on non-realtime
     +            systems.
     +  
     +            Select this option if you are unsure.
     +  
     +  config TREE_RCU
     +          bool "Tree-based hierarchical RCU"
     +          help
     +            This option selects the RCU implementation that is
     +            designed for very large SMP system with hundreds or
     +            thousands of CPUs.
     +  
     +  config PREEMPT_RCU
     +          bool "Preemptible RCU"
     +          depends on PREEMPT
     +          help
     +            This option reduces the latency of the kernel by making certain
     +            RCU sections preemptible. Normally RCU code is non-preemptible, if
     +            this option is selected then read-only RCU sections become
     +            preemptible. This helps latency, but may expose bugs due to
     +            now-naive assumptions about each RCU read-side critical section
     +            remaining on a given CPU through its execution.
     +  
     +  endchoice
     +  
     +  config RCU_TRACE
     +          bool "Enable tracing for RCU"
     +          depends on TREE_RCU || PREEMPT_RCU
     +          help
     +            This option provides tracing in RCU which presents stats
     +            in debugfs for debugging RCU implementation.
     +  
     +            Say Y here if you want to enable RCU tracing
     +            Say N if you are unsure.
     +  
     +  config RCU_FANOUT
     +          int "Tree-based hierarchical RCU fanout value"
     +          range 2 64 if 64BIT
     +          range 2 32 if !64BIT
     +          depends on TREE_RCU
     +          default 64 if 64BIT
     +          default 32 if !64BIT
     +          help
     +            This option controls the fanout of hierarchical implementations
     +            of RCU, allowing RCU to work efficiently on machines with
     +            large numbers of CPUs.  This value must be at least the cube
     +            root of NR_CPUS, which allows NR_CPUS up to 32,768 for 32-bit
     +            systems and up to 262,144 for 64-bit systems.
     +  
     +            Select a specific number if testing RCU itself.
     +            Take the default if unsure.
     +  
     +  config RCU_FANOUT_EXACT
     +          bool "Disable tree-based hierarchical RCU auto-balancing"
     +          depends on TREE_RCU
     +          default n
     +          help
     +            This option forces use of the exact RCU_FANOUT value specified,
     +            regardless of imbalances in the hierarchy.  This is useful for
     +            testing RCU itself, and might one day be useful on systems with
     +            strong NUMA behavior.
     +  
     +            Without RCU_FANOUT_EXACT, the code will balance the hierarchy.
     +  
     +            Say N if unsure.
     +  
     +  config TREE_RCU_TRACE
     +          def_bool RCU_TRACE && TREE_RCU
     +          select DEBUG_FS
     +          help
     +            This option provides tracing for the TREE_RCU implementation,
     +            permitting Makefile to trivially select kernel/rcutree_trace.c.
     +  
     +  config PREEMPT_RCU_TRACE
     +          def_bool RCU_TRACE && PREEMPT_RCU
     +          select DEBUG_FS
     +          help
     +            This option provides tracing for the PREEMPT_RCU implementation,
     +            permitting Makefile to trivially select kernel/rcupreempt_trace.c.
     +  
     +  endmenu # "RCU Subsystem"
     +  
        config IKCONFIG
                tristate "Kernel .config support"
                ---help---
@@@@@@@@@ -415,26 -415,26 -415,26 -415,26 -415,26 -383,26 -415,26 -415,26 +475,26 @@@@@@@@@ config CGROUP_SCHE
                  This option allows you to create arbitrary task groups
                  using the "cgroup" pseudo filesystem and control
                  the cpu bandwidth allocated to each such task group.
     -            Refer to Documentation/cgroups.txt for more information
     -            on "cgroup" pseudo filesystem.
     +            Refer to Documentation/cgroups/cgroups.txt for more
     +            information on "cgroup" pseudo filesystem.
        
        endchoice
        
     -  menu "Control Group support"
     -  config CGROUPS
     -          bool "Control Group support"
     +  menuconfig CGROUPS
     +          boolean "Control Group support"
                help
     -            This option add support for grouping sets of processes together, for
     +            This option adds support for grouping sets of processes together, for
                  use with process control subsystems such as Cpusets, CFS, memory
                  controls or device isolation.
                  See
     -                  - Documentation/cpusets.txt     (Cpusets)
                        - Documentation/scheduler/sched-design-CFS.txt  (CFS)
     -                  - Documentation/cgroups/ (features for grouping, isolation)
     -                  - Documentation/controllers/ (features for resource control)
     +                  - Documentation/cgroups/ (features for grouping, isolation
     +                                            and resource control)
        
                  Say N if unsure.
        
     +  if CGROUPS
     +  
        config CGROUP_DEBUG
                bool "Example debug cgroup subsystem"
                depends on CGROUPS
                help
                  This option enables a simple cgroup subsystem that
                  exports useful debugging information about the cgroups
     -            framework
     +            framework.
        
     -            Say N if unsure
     +            Say N if unsure.
        
        config CGROUP_NS
     -          bool "Namespace cgroup subsystem"
     -          depends on CGROUPS
     -          help
     -            Provides a simple namespace cgroup subsystem to
     -            provide hierarchical naming of sets of namespaces,
     -            for instance virtual servers and checkpoint/restart
     -            jobs.
     +          bool "Namespace cgroup subsystem"
     +          depends on CGROUPS
     +          help
     +            Provides a simple namespace cgroup subsystem to
     +            provide hierarchical naming of sets of namespaces,
     +            for instance virtual servers and checkpoint/restart
     +            jobs.
        
        config CGROUP_FREEZER
     -          bool "control group freezer subsystem"
     -          depends on CGROUPS
     -          help
     -            Provides a way to freeze and unfreeze all tasks in a
     +          bool "Freezer cgroup subsystem"
     +          depends on CGROUPS
     +          help
     +            Provides a way to freeze and unfreeze all tasks in a
                  cgroup.
        
        config CGROUP_DEVICE
@@@@@@@@@ -480,23 -480,23 -480,23 -480,23 -480,23 -448,18 -480,23 -480,23 +540,23 @@@@@@@@@ config CPUSET
        
                  Say N if unsure.
        
     +  config PROC_PID_CPUSET
     +          bool "Include legacy /proc/<pid>/cpuset file"
     +          depends on CPUSETS
     +          default y
     +  
        config CGROUP_CPUACCT
                bool "Simple CPU accounting cgroup subsystem"
                depends on CGROUPS
                help
                  Provides a simple Resource Controller for monitoring the
     -            total CPU consumed by the tasks in a cgroup
     +            total CPU consumed by the tasks in a cgroup.
        
        config RESOURCE_COUNTERS
                bool "Resource counters"
                help
                  This option enables controller independent resource accounting
     -            infrastructure that works with cgroups
     +            infrastructure that works with cgroups.
                depends on CGROUPS
        
        config CGROUP_MEM_RES_CTLR
                  This config option also selects MM_OWNER config option, which
                  could in turn add some fork/exit overhead.
        
     -  config MM_OWNER
     -          bool
     -  
        config CGROUP_MEM_RES_CTLR_SWAP
                bool "Memory Resource Controller Swap Extension(EXPERIMENTAL)"
                depends on CGROUP_MEM_RES_CTLR && SWAP && EXPERIMENTAL
                  there will be no overhead from this. Even when you set this config=y,
                  if boot option "noswapaccount" is set, swap will not be accounted.
        
     +  endif # CGROUPS
        
     -  endmenu
     +  config MM_OWNER
     +          bool
        
        config SYSFS_DEPRECATED
                bool
@@@@@@@@@ -579,6 -579,6 -579,6 -579,6 -579,6 -543,11 -579,6 -579,6 +639,6 @@@@@@@@@ config SYSFS_DEPRECATED_V
                  if the original kernel, that came with your distribution, has
                  this option set to N.
        
     -  config PROC_PID_CPUSET
     -          bool "Include legacy /proc/<pid>/cpuset file"
     -          depends on CPUSETS
     -          default y
     -  
        config RELAY
                bool "Kernel->user space relay support (formerly relayfs)"
                help
@@@@@@@@@ -633,14 -633,14 -633,14 -633,14 -633,14 -602,6 -633,14 -633,14 +693,14 @@@@@@@@@ config PID_N
                  Unless you want to work with an experimental feature
                  say N here.
        
     +  config NET_NS
     +          bool "Network namespace"
     +          default n
     +          depends on NAMESPACES && EXPERIMENTAL && NET
     +          help
     +            Allow user space to create what appear to be multiple instances
     +            of the network stack.
     +  
        config BLK_DEV_INITRD
                bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
                depends on BROKEN || !FRV
@@@@@@@@@ -725,6 -725,6 -725,6 -725,6 -725,6 -686,13 -725,6 -725,6 +785,6 @@@@@@@@@ config KALLSYMS_AL
        
                   Say N.
        
     -  config KALLSYMS_STRIP_GENERATED
     -          bool "Strip machine generated symbols from kallsyms"
     -          depends on KALLSYMS_ALL
     -          default y
     -          help
     -            Say N if you want kallsyms to retain even machine generated symbols.
     -  
        config KALLSYMS_EXTRA_PASS
                bool "Do an extra kallsyms pass"
                depends on KALLSYMS
@@@@@@@@@ -1065,3 -1065,3 -1065,3 -1065,3 -1065,3 -1033,90 -1065,3 -1065,3 +1125,3 @@@@@@@@@ source "block/Kconfig
        config PREEMPT_NOTIFIERS
                bool
        
     -  choice
     -          prompt "RCU Implementation"
     -          default CLASSIC_RCU
     -  
     -  config CLASSIC_RCU
     -          bool "Classic RCU"
     -          help
     -            This option selects the classic RCU implementation that is
     -            designed for best read-side performance on non-realtime
     -            systems.
     -  
     -            Select this option if you are unsure.
     -  
     -  config TREE_RCU
     -          bool "Tree-based hierarchical RCU"
     -          help
     -            This option selects the RCU implementation that is
     -            designed for very large SMP system with hundreds or
     -            thousands of CPUs.
     -  
     -  config PREEMPT_RCU
     -          bool "Preemptible RCU"
     -          depends on PREEMPT
     -          help
     -            This option reduces the latency of the kernel by making certain
     -            RCU sections preemptible. Normally RCU code is non-preemptible, if
     -            this option is selected then read-only RCU sections become
     -            preemptible. This helps latency, but may expose bugs due to
     -            now-naive assumptions about each RCU read-side critical section
     -            remaining on a given CPU through its execution.
     -  
     -  endchoice
     -  
     -  config RCU_TRACE
     -          bool "Enable tracing for RCU"
     -          depends on TREE_RCU || PREEMPT_RCU
     -          help
     -            This option provides tracing in RCU which presents stats
     -            in debugfs for debugging RCU implementation.
     -  
     -            Say Y here if you want to enable RCU tracing
     -            Say N if you are unsure.
     -  
     -  config RCU_FANOUT
     -          int "Tree-based hierarchical RCU fanout value"
     -          range 2 64 if 64BIT
     -          range 2 32 if !64BIT
     -          depends on TREE_RCU
     -          default 64 if 64BIT
     -          default 32 if !64BIT
     -          help
     -            This option controls the fanout of hierarchical implementations
     -            of RCU, allowing RCU to work efficiently on machines with
     -            large numbers of CPUs.  This value must be at least the cube
     -            root of NR_CPUS, which allows NR_CPUS up to 32,768 for 32-bit
     -            systems and up to 262,144 for 64-bit systems.
     -  
     -            Select a specific number if testing RCU itself.
     -            Take the default if unsure.
     -  
     -  config RCU_FANOUT_EXACT
     -          bool "Disable tree-based hierarchical RCU auto-balancing"
     -          depends on TREE_RCU
     -          default n
     -          help
     -            This option forces use of the exact RCU_FANOUT value specified,
     -            regardless of imbalances in the hierarchy.  This is useful for
     -            testing RCU itself, and might one day be useful on systems with
     -            strong NUMA behavior.
     -  
     -            Without RCU_FANOUT_EXACT, the code will balance the hierarchy.
     -  
     -            Say N if unsure.
     -  
     -  config TREE_RCU_TRACE
     -          def_bool RCU_TRACE && TREE_RCU
     -          select DEBUG_FS
     -          help
     -            This option provides tracing for the TREE_RCU implementation,
     -            permitting Makefile to trivially select kernel/rcutree_trace.c.
     -  
     -  config PREEMPT_RCU_TRACE
     -          def_bool RCU_TRACE && PREEMPT_RCU
     -          select DEBUG_FS
     -          help
     -            This option provides tracing for the PREEMPT_RCU implementation,
     -            permitting Makefile to trivially select kernel/rcupreempt_trace.c.