1. 02 Aug, 2003 1 commit
  2. 10 Jul, 2003 1 commit
    • Andrew Morton's avatar
      [PATCH] make CONFIG_KALLSYMS default to "on" · f3eee922
      Andrew Morton authored
      From: Diego Calleja Garcia <diegocg@teleline.es>
      
      Move CONFIG_KALLSYMS out of the arch directory and into init/.
      
      It defaults to "on" unless the user explicitly turns it off in the
      "embedded systems" menu.
      f3eee922
  3. 02 Jul, 2003 1 commit
    • Andrew Morton's avatar
      [PATCH] page unmapping debug · 98eb235b
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      Manfred's latest page unmapping debug patch.
      
      The patch adds support for a special debug mode to both the page and the slab
      allocator: Unused pages are removed from the kernel linear mapping.  This
      means that now any access to freed memory will cause an immediate exception.
      Right now, read accesses remain totally unnoticed and write accesses may be
      catched by the slab poisoning, but usually far too late for a meaningfull bug
      report.
      
      The implementation is based on a new arch dependant function,
      kernel_map_pages(), that removes the pages from the linear mapping.  It's
      right now only implemented for i386.
      
      Changelog:
      
      - Add kernel_map_pages() for i386, based on change_page_attr.  If
        DEBUG_PAGEALLOC is not set, then the function is an empty stub.  The stub
        is in <linux/mm.h>, i.e.  it exists for all archs.
      
      - Make change_page_attr irq safe.  Note that it's not fully irq safe due to
        the lack of the tlb flush ipi, but it's good enough for kernel_map_pages().
         Another problem is that kernel_map_pages is not permitted to fail, thus
        PSE is disabled if DEBUG_PAGEALLOC is enabled
      
      - use kernel_map pages for the page allocator.
      
      - use kernel_map_pages for the slab allocator.
      
        I couldn't resist and added additional debugging support into mm/slab.c:
      
        * at kfree time, the complete backtrace of the kfree caller is stored
          in the freed object.
      
        * a ptrinfo() function that dumps all known data about a kernel virtual
          address: the pte value, if it belongs to a slab cache the cache name and
          additional info.
      
        * merging of common code: new helper function obj_dbglen and obj_dbghdr
          for the conversion between the user visible object pointers/len and the
          actual, internal addresses and len values.
      98eb235b
  4. 27 Jun, 2003 1 commit
  5. 26 Jun, 2003 1 commit
  6. 21 Jun, 2003 1 commit
    • Sam Ravnborg's avatar
      kbuild: Added CONFIG_DEBUG_INFO · a06f9f6d
      Sam Ravnborg authored
      When CONFIG_DEBUG_INFO is set to Y, -g will be added to CFLAGS.
      Several architectures already put -g in CFLAGS, often via a patch
      to the top-level makefile.
      This option is put in the kernel hacking menu, guarded by CONFIG_DEBUG_KERNEL.
      
      Added CONFIG_DEBUG_INFO in Kconfig for the architectures that
      already had CONFIG_DEBUG_KERNEL
      a06f9f6d
  7. 19 Jun, 2003 1 commit
  8. 17 Jun, 2003 1 commit
  9. 14 Jun, 2003 2 commits
  10. 03 Jun, 2003 1 commit
  11. 07 May, 2003 1 commit
    • Andrew Morton's avatar
      [PATCH] generic subarchitecture for ia32 · 441d6fd9
      Andrew Morton authored
      From: Andi Kleen <ak@muc.de>
      
      This patch adds an generic x86 subarchitecture. It is intended to provide
      an dynamic interface for APIC drivers. There are already three subarchitectures
      (bigsmp, summit, default) that only differ in how they drive the local APIC.
      A fourth - Unisys ES7000 - is scheduled to be merged soon.
      
      The subarchitecture concept separated this nicely, but it has the big
      drawback that they are compile time options. A Linux vendor cannot
      ship own binary kernel rpms for all of these machines. Runtime probing
      is needed instead.
      
      This patch adds a new "generic" subarchitecture that just acts as a
      dynamic switching layer for APIC drivers. It only tries to virtualize
      the APICs, no attempt is made to cover further incompatiblities.
      This means machines like the Visual Workstation, pc9800 or
      Voyager are not covered; but these are unlikely to be supported by
      binary distributions anyways.
      
      The generic arch reuses the existing interface in mach_ipi / mach_mpparse.h /
      mach_apic.h and just pulls it using some macros into an "struct genapic"
      object. The main APIC code does not recognize it, it is all hidden
      in the mach-generic include files.
      
      Auto detection of APIC types is supported in the usual way used by
      existing ports like Summit - checking ACPI or mptables for specific
      signatures - or it can be specified by the user using a new "apic="
      boot option. I also moved the DMI scan to before the generic
      subarchitecture probe, so DMI could be used in future too to probe
      specific machines.
      
      Some minor hacks were needed to avoid circular declaration of a few
      symbols, but overall it's fairly clean.
      
      The patch has been tested on a Summit machine, an generic 4 virtual CPUs
      Xeon and on an ES7000.
      441d6fd9
  12. 30 Apr, 2003 2 commits
    • Andrew Morton's avatar
      [PATCH] config menu cleanups · 565b4425
      Andrew Morton authored
      From Robert Day, through "Randy.Dunlap" <rddunlap@osdl.org>
      
      This is a patch from Robert Day that does the following:
      
      1) shift menu item in "Processor type and features" menu
      2) clean up "Bus options" menu so it's actually hierarchical
      
      Part of it (moving X86_IO_APIC around) looked a little odd to me,
      so I asked Roman Zippel about it, and he replied:
      
      "It's correct, although I wouldn't call it a 'design quirk'. :)
      It forces one to group options which belong logically together and in this
      case X86_IO_APIC is really a bit misplaced, even if it's not visible."
      
      I have tested it (on 2.5.68-plain) and it does indeed make the menus
      more hierarchical.
      565b4425
    • Andi Kleen's avatar
  13. 24 Apr, 2003 1 commit
  14. 23 Apr, 2003 1 commit
    • Pavel Machek's avatar
      [PATCH] Fix SWSUSP & !SWAP · cfdffa91
      Pavel Machek authored
      Swsusp without swap makes no sense, and leads to compilation
      failure.  So make the dependency clear in the config files.
      cfdffa91
  15. 21 Apr, 2003 1 commit
  16. 20 Apr, 2003 1 commit
    • Randy Dunlap's avatar
      [PATCH] replace URLs in Kconfig · e9148e42
      Randy Dunlap authored
      This is a patch from Robert P.J. Day that replaces www.linuxdoc.org
      (which is outdated and unspported according to www.tldp.org)
      with www.tldp.org in lots of Kconfig files.
      e9148e42
  17. 08 Apr, 2003 1 commit
  18. 18 Mar, 2003 1 commit
    • Andrew Morton's avatar
      [PATCH] Tighten CONFIG_NUMA preconditions · 34b254ca
      Andrew Morton authored
      Patch from Martin J. Bligh and Dave Hansen
      
      People with ordinary PCs are accidentally turning on NUMA support, and people
      with NUMA machines are finding the NUMA option mysteriously disappearing.
      This patch sets the defaults to sane things for everyone, and only allows you
      to turn on NUMA with both SMP and 64Gb support on (it's useful for the
      distros on non-Summit boxes, but not on their UP kernels ;-)).
      
      I've also moved it below the highmem options, as it logically depends on
      them, so this makes more sense.  For those searching for NUMA support on
      *real* NUMA machine, Dave has provided some guiding comments to show them
      what they messed up (it's totally non-obvious).  Hopefully this will stop
      people's recent unfortunate foot-wounds (I think UP machines were defaulting
      to NUMA on ...  oops).
      34b254ca
  19. 08 Mar, 2003 2 commits
  20. 02 Mar, 2003 1 commit
  21. 28 Feb, 2003 1 commit
    • Martin J. Bligh's avatar
      [PATCH] need PIT timer available for NUMA-Q · 659165d4
      Martin J. Bligh authored
      This simple patch just makes sure the PIT code is available for NUMA-Q
      (as its TSCs are not synced).
      
      Has been tested in my tree for over a month on UP, SMP, and NUMA and
      compile tested against a variety of different configs.
      659165d4
  22. 25 Feb, 2003 2 commits
    • Andrew Morton's avatar
      [PATCH] x440 SRAT parsing · 4a53ada8
      Andrew Morton authored
      Use the early ioremap code to parse the Static Resource Affinity Table on
      x440 machines.
      4a53ada8
    • Andrew Morton's avatar
      [PATCH] Early ioremap support for ia32 · 68e72499
      Andrew Morton authored
      Patch from Patricia Gaughen <gone@us.ibm.com>,
      		Dave Hansen <haveblue@us.ibm.com>
      
      It provides a very early sort of kmap-by-hand.
      
      The patch is used by the x440 discontigmem to map the srat tables into low
      memory so that the memory can be setup.  This remap function is used very
      early in the boot process...  at the start of setup_arch().
      
      This functionality is only available to Summit and NUMAQ.  It will work on
      other platforms, but they do not need it.
      68e72499
  23. 23 Feb, 2003 1 commit
  24. 18 Feb, 2003 1 commit
  25. 15 Feb, 2003 2 commits
  26. 13 Feb, 2003 2 commits
  27. 09 Feb, 2003 1 commit
  28. 20 Jan, 2003 1 commit
  29. 16 Jan, 2003 1 commit
  30. 13 Jan, 2003 4 commits
    • Venkatesh Pallipadi's avatar
      [PATCH] Clustered APIC setup for >8 CPU systems · db7b9e9f
      Venkatesh Pallipadi authored
      Clustered APIC setup patch.  Needed to support generic systems with more
      than 8 CPUs.
      
      Motivation:
      
       The current APIC destination mode ("Flat Logical") used in linux kernel
       has an upper limit of 8 CPUs.  For more than 8 CPUs, either "Clustered
       Logical" or "Physical" mode has to be used.
      
       The attached patch adds support such systems by organizing them into
       logical clusters, with each cluster having 4 CPUs.  This is activated by
       a new config option "Support for other sub-arch SMP systems with more
       than 8 CPUs", under Processor feature->Sub architecture.
      
       The patch is made very simple and isolated, thanks to Martin J.
       Bligh's patchsets, which has moved all APIC related functions into
       sub-arch macros.  Has zero impact on standard systems.
      
       This patch enables all 16 logical processors on a generic, non-quad
       based, system that we have here.  Also, by looking at SuSE source, I
       have also added a special switch, to specifically support Unisys
       (ES7000).  Just replacing #define SEQUENTIAL_APICID by CLUSTERED_APICID
       in the patch should make it work on ES7000(not tested).
      db7b9e9f
    • Dominik Brodowski's avatar
      [PATCH] cpufreq: add driver for NatSemi Geode / Cyrix MediaGX · 6977f04f
      Dominik Brodowski authored
      This patch by Hiroshi Miura adds a cpufreq driver for Cyrix MediaGX and
      National Semiconductor Geode processors using "Suspend Modulation". It's
      partly based on Zwane Mwaikambo's work.
      6977f04f
    • Dominik Brodowski's avatar
      [PATCH] cpufreq: add sysfs interface · 74e7a24b
      Dominik Brodowski authored
      This patch adds a sysfs interface to the cpufreq core, and marks the
      previous /proc/cpufreq interface as deprecated.
      
      As in drivers/base/cpu.c a "CPU driver" is registered, cpufreq acts as
      "interface" to this, offering the following files for each CPU
      (in /system/devices/sys/cpu.../) where CPUfreq support is present
      
      cpuinfo_min_freq (ro)	- minimum frequency (in kHz) the CPU supports
      cpuinfo_max_freq (ro)	- maximum frequency (in kHz) the CPU supports
      scaling_min_freq (rw)	- minimum frequency (in kHz) cpufreq may scale
      			     the CPU core to
      scaling_max_freq (rw)	- maximum frequency (in kHz) cpufreq may scale
      			     the CPU core to
      scaling_governor (rw)	- governor == "A feedback device on a machine
      			      or engine that is used to provide
      			      automatic control, as of speed,
      			      pressure, or temperature" [1, as noted
      			      by David Kimdon]. Decides what frequency
      			      is used. Currently, only "performance"
      			      and "powersave" are supported, more may
      			      be added later.
      
      (In future, a file scaling_driver (ro) which shows what CPUfreq driver
      is used (arm-sa1100,  gx-suspmod, speedstep, longrun, powernow-k6,
      ...) might be added, and this driver will be allowed to add files
      scaling_driver_* for driver-specific settings like "prefer fast FSB".
      And scaling_governor_* files might offer settings for the governor.)
      
      To implement this sysfs interface, the driver model "interface" code
      is used. Unfortunately, it has a non-trivial locking bug in
      drivers/base/intf.c: there's a down_write call for
      cls->subsys.rwsem in add_intf(), which then calls add(), which may call
      intf->add_device(), which may call interface_add_data(), which calls
      kobject_register(), which calls kobject_add(), which then tries to
      down_write cls->subsys.rwsem. Remember, that was already locked writable
      in add_intf().
      
      Because of that, interface_add_data() is commented out; this means
      that no link in /system/class/cpu/cpufreq is added, and that the
      dev-removal code isn't called. This shouldn't be a problem yet,
      though; as no cpufreq driver I know of is capable of CPU hotplugging.
      
          Dominik
      
      [1] http://dictionary.reference.com/search?q=governor
      74e7a24b
    • Robert Love's avatar
      [PATCH] P4-based Celeron comments · e167c48b
      Robert Love authored
      As you mentioned, we do not correctly identify the P4-based Celeron in
      the kernel configuration help.  Unfortunately, Intel has called all
      Celeron products simply "Celeron", so we call these "P4-based Celerons".
      e167c48b
  31. 12 Jan, 2003 1 commit
    • Robert Love's avatar
      [PATCH] add explicit Pentium II support · bc196a98
      Robert Love authored
      This separates the "PPro/Celeron/Pentium-II" compile option into "PPro"
      and "Pentium-II/Celeron" options.
      
      This allows us to explicitly support the Pentium II and Celeron,
      specifically adding the `-march' option for the chip and enabling the
      unaligned copy optimizations.  PPro support remains unchanged.
      
      This patch is by Luuk van der Duim with some changes by me (primarily to
      also support the pre-Coppermine Celeron chips, since those use Pentium
      II cores).  This patch has been in 2.5-mm for awhile and Andrew ack'ed
      this submission.
      bc196a98