1. 15 Jan, 2003 40 commits
    • Christoph Hellwig's avatar
      [PATCH] stale bdev reference in quotactl · bae9a194
      Christoph Hellwig authored
      sys_quotacl tries to do a get_super on a struct block_device * to which
      it doesn't hold a reference (nor does it actually have to be non-NULL).
      
      As lookup bdev by name is a rather common operation I splitted out a new
      helper, lookup_bdev() that does this out of open_bdev_excl and switched
      quota.c to use it.  lookup_bdev() holds a proper reference that needs
      to be dropped by bdput(), and it's well documented.
      bae9a194
    • Christoph Hellwig's avatar
      [PATCH] umode_t changes from Adam's mini-devfs · 298d8a04
      Christoph Hellwig authored
      The use of umode_t instead of devfs-specific char vs block #defines
      in Adam's mini-devfs patch makes sense independant of whether his patch
      should get merged.  While reviewing his changes I also notices that
      most of the number allocation functionality in devfs has no business
      beeing exported.  In addition I cleaned up devfs_alloc_devnum/
      devfs_dealloc_devnum a bit.
      298d8a04
    • Christoph Hellwig's avatar
      [PATCH] don't include coda_fs_i.h in fs.h · b30d9e8b
      Christoph Hellwig authored
      It's simply not needed anymore in 2.5
      b30d9e8b
    • Christoph Hellwig's avatar
      [PATCH] fix intermezzo compilation · 0ea2941d
      Christoph Hellwig authored
      Have I already mentioned that the intermezzo code isn't exactly nicely
      readable? ..
      0ea2941d
    • Linus Torvalds's avatar
      Merge · af9df9e3
      Linus Torvalds authored
      af9df9e3
    • Dominik Brodowski's avatar
      [PATCH] cpufreq: fix compilation, name of gx-suspmod driver · a0b7ca57
      Dominik Brodowski authored
      - fix cpufreq drivers compilation on not-bleeding-edge-gcc's (Adrian Bunk)
      - gx-suspmod.c hasn't had a name yet
      a0b7ca57
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · a58b228f
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      a58b228f
    • Kai Germaschewski's avatar
      Consolidate read-only sections in arch/*/vmlinux.lds.S · d6699e96
      Kai Germaschewski authored
      It's annoying having to touch 20+ arch vmlinux.lds.S file for every
      new section introduced, just because they all duplicate the same
      statements. Since we preprocess vmlinux.lds.S anyway, let's
      #include <asm-generic/vmlinux.lds.h> and share the common statements.
      
      This is a first step in consolidating most of the read-only sections.
      d6699e96
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5 · bb9fc49f
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5.make
      bb9fc49f
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.isdn · 8bdf7c39
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      8bdf7c39
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5 · 1f4d6e43
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5.isdn
      1f4d6e43
    • Kai Germaschewski's avatar
      ISDN: Fix the janitor fix · 449c0deb
      Kai Germaschewski authored
      Adding a check for allocation failure was a good idea, it just needs
      checking the right variable...
      449c0deb
    • Kai Germaschewski's avatar
      ISDN/HiSax: Fix PnP merge · 46ccb465
      Kai Germaschewski authored
      Now it actually even compiles.
      46ccb465
    • Kai Germaschewski's avatar
      f51ad486
    • Ivan Kokshaysky's avatar
      [PATCH] alpha kernel start address · b1975584
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Bump non-legacy start addr to 16mb to accomodate new larger
      SRM console footprint.
      b1975584
    • Martin J. Bligh's avatar
      [PATCH] Enable Summit in makefile, update summit subarch code · 1a731ce0
      Martin J. Bligh authored
      Adds the summit subarch hook to the config file, and updates various things
      all inside the summit subarch directories (ie this can't possibly break
      anyone else ;-)). The Summit's subarch had got out of sync in a few places.
      1a731ce0
    • Martin J. Bligh's avatar
      [PATCH] Fix APIC header defines for Summit · eb025812
      Martin J. Bligh authored
      Patch from James Cleverdon & John Stultz
      
      Changes IO_APIC_MAX_ID to depend on the APIC type we're using.
      The Summit machines have to use a larger set of bits in the apic registers,
      we enlarge under ifdef for Summit only. We enlarge MAX_APICS for summit
      as well as NUMA-Q (it would be nice to move this to subarch, but it creates
      circular dependency problems ... I'll fix this up later).
      
      Adds a check for the newer Summit boxes with a different name.
      eb025812
    • Martin J. Bligh's avatar
      [PATCH] Make IRQ balancing work with clustered APICs · a5aea3c6
      Martin J. Bligh authored
      Patch from James Cleverdon & John Stultz
      
      The IRQ balancing code currently assumes that the logical apicid is
      always '1 << cpu', which is not true for the larger platforms.
      We express this as an abstracted macro instead, and move the
      cpu_to_logical_apicid definition to subarch, so we can make it exactly
      "1 << cpu" for normal machines - maximum speed, minimum change risk.
      
      A couple of things are abstracted from the smp_boot_cpus loop in order
      to enable us to use the bios_cpu_apicid array to boot cpus from without
      disturbing the code path of current machines.
      a5aea3c6
    • Martin J. Bligh's avatar
      [PATCH] Add ACPI hook, rename raw_phys_apicid to bios_cpu_apicid · 3bbeca78
      Martin J. Bligh authored
      Patch from James Cleverdon & John Stultz
      
      This adds machine a type detection hook to the acpi code, and renames
      raw_phys_apicid to bios_cpu_apicid (it's an array of apicid's to boot,
      indexed by the bios' cpu numbering), and I other large machines will
      need to use it later ... not necessarily using physical interrupts.
      3bbeca78
    • Ivan Kokshaysky's avatar
      [PATCH] alpha smp fixes · f30c04cf
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Misc alpha smp updates for 2.5 tree.
      f30c04cf
    • Martin J. Bligh's avatar
      [PATCH] Fix interrupt dest mode / delivery mode confusion · fbf7fcc5
      Martin J. Bligh authored
      Patch from James Cleverdon & John Stultz
      
      Currently the naming for the IO-APIC fields is very confused, we assign
      dest_LowestPrio to delivery_mode, and INT_DELIVERY_MODE to dest_mode.
      The values are correct, but the naming is wrong - this patch corrects
      that confusion. It also moves the definitions of those settings into
      subarch, where they belong (we have to use fixed delivery mode for Summit
      due to what seems to be an Intel IO-APIC bug with P4 clustered mode).
      fbf7fcc5
    • Ivan Kokshaysky's avatar
      [PATCH] alpha numa update · 9326a730
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      numa mm update including moving alpha numa support into 
      machine vector so a generic numa kernel can be used.
      9326a730
    • Christoph Hellwig's avatar
      d1ae0ede
    • Christoph Hellwig's avatar
      32e50ad9
    • Christoph Hellwig's avatar
      3ad42de2
    • Ivan Kokshaysky's avatar
      [PATCH] alpha numa iommu · ecb581fd
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      On NUMA alpha systems, attempt to allocate scatter-gather
      tables local to IO processor.  If that doesn't work, then
      allocate anywhere in the system.
      ecb581fd
    • Ivan Kokshaysky's avatar
      [PATCH] alpha mem_size_limit · ada49be0
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      This adds the 32GB limit to setup.c.  (It actually hits the first
      2 nodes on Marvel, but that's ok, where we really run into a big
      problem is if we go past 4, then we hit a much larger hole.)
      ada49be0
    • Ivan Kokshaysky's avatar
      [PATCH] alpha ide hwifs · 50d6df79
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Make the max IDE HWIFS configurable on alpha (default to
      previous hardwired value of 4).
      50d6df79
    • Ivan Kokshaysky's avatar
      [PATCH] alpha console callbacks · 9e42b25d
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Add open_console / close_console callback definitions.
      9e42b25d
    • Richard Henderson's avatar
    • Ivan Kokshaysky's avatar
      [PATCH] alpha ev6/ev7 virt_to_phys · 24485ae2
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Adjust virt_to_phys / phys_to_virt functions to follow
      EV6/7 PA sign extension to properly convert between 43-bit
      superpage I/O addresses and physical addresses.
      This change is backwards compatible with all previous Alphas
      as they implemented fewer than 41 bits of physical address.
      24485ae2
    • Ivan Kokshaysky's avatar
      [PATCH] alpha osf_shmat lock · 9e1c1f90
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Remove redundant lock in osf_shmat (sys_shmat locks already);
      redundant lock has been seen to cause livelock in some workloads.
      9e1c1f90
    • Ivan Kokshaysky's avatar
      [PATCH] alpha kernel layout · cd7f3f67
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Adjust kernel layout format to match other architectures and
      prevent reording of the first entry in a section with the
      section start label.
      cd7f3f67
    • Ivan Kokshaysky's avatar
      [PATCH] alpha HARDIRQ_BITS · 6c40fbde
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Adjust Alpha HARDIRQ_BITS check to make sure there is enough
      room for each IPL, not each interrupt (Marvel can have
      too many unique device interrupts for that, and it really
      only needs to cover potential nesting of interrupts, which covering
      the IPLs does)
      6c40fbde
    • Ivan Kokshaysky's avatar
      [PATCH] alpha ipi timeout · fd9dbcb1
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Two stage timeout in alpha call_function_on_cpu. If the
      primary timeout expires with no response, log a message and
      start secondary timeout. If reponse is received log how
      far into secondary timeout. If no response is received,
      crash.
      fd9dbcb1
    • Ivan Kokshaysky's avatar
      [PATCH] alpha bootp target · 8dfb2c6b
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Fix alpha Makefiles for bootpfile target.
      8dfb2c6b
    • Ivan Kokshaysky's avatar
      [PATCH] alpha ksyms · 39bcaa15
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Export proper functions when debugging is enabled.
      39bcaa15
    • Trond Myklebust's avatar
      [PATCH] Fix NFS root mount handling · eec91b48
      Trond Myklebust authored
      eec91b48
    • Trond Myklebust's avatar
      [PATCH] Fix RPC client warning in 2.5.58... · 8dffd730
      Trond Myklebust authored
      The warning
      
      	/lockd/clntXxXxXxXx RPC: Couldn't create pipefs entry
      
      is due to the lockd process starting RPC clients as an unprivileged
      user, causing path_walk() to fail.  The following patch fixes it.
      8dffd730
    • Gabriel Paubert's avatar
      [PATCH] Cleanup of the lcall7/lcall27 entry path. · b49b7f62
      Gabriel Paubert authored
      I have more carefully tested the proposed removal of the NT flag
      clearing on lcall entry.
      
      The question I wanted to answer is: is it necessary to clear NT in the
      sysenter entry path as implemented for lcall7/lcall27 or is it possible
      to remove the flag manipulation from do_lcall?
      
      Doing it only for one and not the other looks wrong since several return
      paths are shared, especially the ones which end up in iret, the only
      instruction which is affected by the NT flag.
      
      The conclusion is that 2.5 is NT safe (had to dig out an old P5-133 which
      I could crash without fear of data loss, so I have only tested on 1
      machine). The reason this cleanup works is that now (since Jan 5th) flags
      are saved and restored in switch_to() to keep IOPL private to a process
      even when using sysenter/sysexit.
      
      The side effect of that patch is that NT becomes also process-private
      instead of infecting all processes and triggering a killfest of all user
      mode processes, including init (AFAICT kernel threads survived, but I
      did not have any debug tools enabled in the kernel).
      
      The only addition to the preceding version is that interrupts are
      reenabled in the iret fixup path because it seems that do_exit() might
      otherwise spend quite some time with interrupts disabled.
      b49b7f62