1. 08 7月, 2008 8 次提交
    • Y
      x86: make x86_find_smp_config depends on 64 bit too · d1b20afe
      Yinghai Lu 提交于
      Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      d1b20afe
    • B
      x86, crashdump, /proc/vmcore: remove CONFIG_EXPERIMENTAL from kdump · 383bc5ce
      Bernhard Walle 提交于
      I would suggest to remove the "experimental" status from Kdump.
      Kdump is now in the kernel since a long time and used by Enterprise
      distributions. I don't think that "experimental" is true any more.
      Signed-off-by: NBernhard Walle <bwalle@suse.de>
      Cc: vgoyal@redhat.com
      Cc: kexec@lists.infradead.org
      Cc: Bernhard Walle <bwalle@suse.de>
      Cc: akpm@linux-foundation.org
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      383bc5ce
    • M
      x86: cleanup early per cpu variables/accesses v4 · 23ca4bba
      Mike Travis 提交于
        * Introduce a new PER_CPU macro called "EARLY_PER_CPU".  This is
          used by some per_cpu variables that are initialized and accessed
          before there are per_cpu areas allocated.
      
          ["Early" in respect to per_cpu variables is "earlier than the per_cpu
          areas have been setup".]
      
          This patchset adds these new macros:
      
      	DEFINE_EARLY_PER_CPU(_type, _name, _initvalue)
      	EXPORT_EARLY_PER_CPU_SYMBOL(_name)
      	DECLARE_EARLY_PER_CPU(_type, _name)
      
      	early_per_cpu_ptr(_name)
      	early_per_cpu_map(_name, _idx)
      	early_per_cpu(_name, _cpu)
      
          The DEFINE macro defines the per_cpu variable as well as the early
          map and pointer.  It also initializes the per_cpu variable and map
          elements to "_initvalue".  The early_* macros provide access to
          the initial map (usually setup during system init) and the early
          pointer.  This pointer is initialized to point to the early map
          but is then NULL'ed when the actual per_cpu areas are setup.  After
          that the per_cpu variable is the correct access to the variable.
      
          The early_per_cpu() macro is not very efficient but does show how to
          access the variable if you have a function that can be called both
          "early" and "late".  It tests the early ptr to be NULL, and if not
          then it's still valid.  Otherwise, the per_cpu variable is used
          instead:
      
      	#define early_per_cpu(_name, _cpu) 			\
      		(early_per_cpu_ptr(_name) ?			\
      			early_per_cpu_ptr(_name)[_cpu] :	\
      			per_cpu(_name, _cpu))
      
          A better method is to actually check the pointer manually.  In the
          case below, numa_set_node can be called both "early" and "late":
      
      	void __cpuinit numa_set_node(int cpu, int node)
      	{
      	    int *cpu_to_node_map = early_per_cpu_ptr(x86_cpu_to_node_map);
      
      	    if (cpu_to_node_map)
      		    cpu_to_node_map[cpu] = node;
      	    else
      		    per_cpu(x86_cpu_to_node_map, cpu) = node;
      	}
      
        * Add a flag "arch_provides_topology_pointers" that indicates pointers
          to topology cpumask_t maps are available.  Otherwise, use the function
          returning the cpumask_t value.  This is useful if cpumask_t set size
          is very large to avoid copying data on to/off of the stack.
      
        * The coverage of CONFIG_DEBUG_PER_CPU_MAPS has been increased while
          the non-debug case has been optimized a bit.
      
        * Remove an unreferenced compiler warning in drivers/base/topology.c
      
        * Clean up #ifdef in setup.c
      
      For inclusion into sched-devel/latest tree.
      
      Based on:
      	git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
          +   sched-devel/latest  .../mingo/linux-2.6-sched-devel.git
      Signed-off-by: NMike Travis <travis@sgi.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      23ca4bba
    • M
      x86: modify Kconfig to allow up to 4096 cpus · 1184dc2f
      Mike Travis 提交于
        * Increase the limit of NR_CPUS to 4096 and introduce a boolean
          called "MAXSMP" which when set (e.g. "allyesconfig"), will set
          NR_CPUS = 4096 and NODES_SHIFT = 9 (512).
      
        * Changed max setting for NODES_SHIFT from 15 to 9 to accurately
          reflect the real limit.
      Signed-off-by: NMike Travis <travis@sgi.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      1184dc2f
    • Y
      x86: simplify x86_mpparse dependency check · bad48f4b
      Yinghai Lu 提交于
      "Maciej W. Rozycki" <macro@linux-mips.org> said:
      
      > Given X86_64 selects X86_LOCAL_APIC I am not sure the redundancy seen
      >above does not actually obscure the logic behind...  I think:
      >
      >       depends on X86_LOCAL_APIC && !X86_VISWS
      >
      >would be clearer and get the same.
      Suggested-by: NMaciej W. Rozycki <macro@linux-mips.org>
      Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Len Brown <lenb@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      bad48f4b
    • Y
      x86: fix compiling when CONFIG_X86_MPPARSE is not set · a4caa18e
      Yinghai Lu 提交于
      Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      a4caa18e
    • Y
      x86: let MPS support be selectable, v2 · 6695c85b
      Yinghai Lu 提交于
      v2: seperate "fix for compiling when MPPARSE is not set" to another patch
          make X86_MPPARSE to be selectable only when acpi is set and
          X86_MPPARSE will be set if acpi is not set.
      Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Maciej W. Rozycki <macro@linux-mips.org>
      Cc: Len Brown <lenb@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      6695c85b
    • Y
      x86: Kconfig cleanup with genericarch · 0699eae1
      Yinghai Lu 提交于
      we already have summit and etc depends on genericarch,
      so use genericarch only.
      Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      0699eae1
  2. 04 7月, 2008 1 次提交
  3. 01 7月, 2008 1 次提交
  4. 27 6月, 2008 3 次提交
    • I
      x86, AMD IOMMU: build fix #3 · 07c40e8a
      Ingo Molnar 提交于
      fix typo causing:
      
      arch/x86/kernel/built-in.o: In function `__unmap_single':
      amd_iommu.c:(.text+0x17771): undefined reference to `iommu_area_free'
      arch/x86/kernel/built-in.o: In function `__map_single':
      amd_iommu.c:(.text+0x1797a): undefined reference to `iommu_area_alloc'
      amd_iommu.c:(.text+0x179a2): undefined reference to `iommu_area_alloc'
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      07c40e8a
    • I
      x86, AMD IOMMU: build fix · 24d2ba0a
      Ingo Molnar 提交于
      fix:
      
       arch/x86/kernel/amd_iommu_init.c:247: warning: 'struct acpi_table_header' declared inside parameter list
       arch/x86/kernel/amd_iommu_init.c:247: warning: its scope is only this definition or declaration, which is probably not what you want
       arch/x86/kernel/amd_iommu_init.c: In function 'find_last_devid_acpi':
       arch/x86/kernel/amd_iommu_init.c:257: error: dereferencing pointer to incomplete type
       arch/x86/kernel/amd_iommu_init.c:265: error: dereferencing pointer to incomplete type
      
      the AMD IOMMU code depends on ACPI facilities.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      24d2ba0a
    • J
      x86, AMD IOMMU: add Kconfig entry · 2b188723
      Joerg Roedel 提交于
      This patch adds the Kconfig entry for the AMD IOMMU driver.
      Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
      Cc: iommu@lists.linux-foundation.org
      Cc: bhavna.sarathy@amd.com
      Cc: Sebastian.Biemueller@amd.com
      Cc: robert.richter@amd.com
      Cc: joro@8bytes.org
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      2b188723
  5. 25 6月, 2008 2 次提交
  6. 10 6月, 2008 1 次提交
  7. 06 6月, 2008 1 次提交
    • A
      PCI/x86: fix up PCI stuff so that PCI_GOANY supports OLPC · 2bdd1b03
      Andres Salomon 提交于
      Previously, one would have to specifically choose CONFIG_OLPC and
      CONFIG_PCI_GOOLPC in order to enable PCI_OLPC.  That doesn't really work
      for distro kernels, so this patch allows one to choose CONFIG_OLPC and
      CONFIG_PCI_GOANY in order to build in OLPC support in a generic kernel (as
      requested by Robert Millan).
      
      This also moves GOOLPC before GOANY in the menuconfig list.
      
      Finally, make pci_access_init return early if we detect OLPC hardware.
      There's no need to continue probing stuff, and pci_pcbios_init
      specifically trashes our settings (we didn't run into that before because
      PCI_GOANY wasn't supported).
      Signed-off-by: NAndres Salomon <dilinger@debian.org>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      2bdd1b03
  8. 26 5月, 2008 1 次提交
    • S
      Kconfig: introduce ARCH_DEFCONFIG to DEFCONFIG_LIST · 73531905
      Sam Ravnborg 提交于
      init/Kconfig contains a list of configs that are searched
      for if 'make *config' are used with no .config present.
      Extend this list to look at the config identified by
      ARCH_DEFCONFIG.
      
      With this change we now try the defconfig targets last.
      
      This fixes a regression reported
      by: Linus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      73531905
  9. 25 5月, 2008 5 次提交
  10. 23 5月, 2008 1 次提交
  11. 13 5月, 2008 1 次提交
  12. 11 5月, 2008 1 次提交
  13. 08 5月, 2008 1 次提交
  14. 06 5月, 2008 1 次提交
  15. 05 5月, 2008 1 次提交
  16. 01 5月, 2008 2 次提交
    • S
      x86: use defconfigs from x86/configs/* · b9b39bfb
      Sam Ravnborg 提交于
      Daniel Drake <dsd@gentoo.org> reported:
      
      In 2.6.23, if you unpacked a kernel source tarball and then
      ran "make menuconfig" you'd be presented with this message:
          # using defaults found in arch/i386/defconfig
      
      and the default options would be set.
      
      The same thing in 2.6.24 does not give you any "using defaults" message, and
      the default config options within menuconfig are rather blank (e.g. no PCI
      support). You can work around this by explicitly running "make defconfig"
      before menuconfig, but it would be nice to have the behaviour the way it was
      for 2.6.23 (and the way it still is for other archs).
      
      Fixed by adding a x86 specific defconfig list to Kconfig.
      
      Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=10470
      Tested-by: dsd@gentoo.org
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      b9b39bfb
    • I
      x86 VISWS: build fix · 3e8f7e35
      Ingo Molnar 提交于
      the 'reboot_force' flag is a notion that non-PC subarchitectures do
      not have.
      
      also, unify the X86_BIOS_REBOOT option between 32-bit and 64-bit
      and get rid of a few unnecessary Kconfig and Makefile complications
      that way.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      3e8f7e35
  17. 29 4月, 2008 2 次提交
  18. 28 4月, 2008 2 次提交
  19. 27 4月, 2008 5 次提交