1. 22 Aug, 2002 5 commits
  2. 21 Aug, 2002 10 commits
    • Christopher Hoover's avatar
      [ARM PATCH] 1255/1: [PATCH] SA-1111 PCI support for USB · 969d67a8
      Christopher Hoover authored
      Fixes several oopsen in the SA-1111 "fake" PCI support
      
      Complete re-write of the SA-1111 DMA bug "bounce buffer" workaround.
      
      Merge latest drivers/pci/pool.c into mach-sa1100/pcipool.c (pool
      allocation debugging follows CONFIG_DEBUG_SLAB a la drivers/pci/pool.c)
      
      /arch/arm/mach-sa1100/pcipool.h can be deleted
      (unrelated: /arch/arm/mach-sa1100/sa1111-ohci.c can be deleted)
      
      Applies to 2.5.30-rmk1.  Should be back ported to 2.4 as the existing
      SA-1111 bounce buffer code is broken.
      
      (This patch is *required* for the OHCI HCD driver that is part of 2.5.21+.)
      969d67a8
    • Russell King's avatar
      [ARM] Remove old AMBA KMI driver information. · 50a06edf
      Russell King authored
      We now have an input layer driver for the keyboard/mouse, so this
      isn't required.
      50a06edf
    • Russell King's avatar
      Since irq_exit() now deals with softirqs, irq_enter and irq_exit · f93d4594
      Russell King authored
      must be located at the top level of the interrupt handler.
      f93d4594
    • Russell King's avatar
      [ARM] Fix XScale "feature" · 01561776
      Russell King authored
      XScale does not guarantee that CPU control register writes complete
      their side effects immediately.  In fact, Intel give sample code to
      demonstrate a way to ensure that the effect of the write has occurred.
      This is specific to Xscale, but the fix should work on any ARM CPU.
      We therefore jump through the loops in "spirit" but not necessarily
      in exactly the same way as the sample code.
      01561776
    • Russell King's avatar
      [ARM] Make "bootp" Image generation know that the zImage is now PIC. · 5e2076c4
      Russell King authored
      Since a bootp image contains a zImage and an initrd (or maybe later
      an initramfs) image, and the zImage is now PIC, we don't have to
      copy the zImage to a specific address before calling it.  We just
      call it where it got loaded into memory and let it sort itself out.
      5e2076c4
    • Russell King's avatar
      [ARM] Always decend into compressed and bootp subdirectories. · 3e6157d0
      Russell King authored
      Make was missing the need to rebuild the kernel decompressor when
      files in arch/arm/boot/compressed are changed.  This is because
      make believes that the object contained within is up to date
      (because it doesn't know any better.)  This cset always forces us
      to decend into these two directories if the objects inside these
      are required.
      3e6157d0
    • Russell King's avatar
      [ARM] Thumb fixes · d905f752
      Russell King authored
      This cset fixes a set of problems discovered while developing KLIBC
      with Thumb support.  We now allow pure Thumb executables, and prevent
      such executables from being run on non-Thumb code aware CPUs.
      We also fix a bug in the fixup of Thumb late aborts which rather
      messed things up.
      d905f752
    • Russell King's avatar
      [ARM] Put back the CPU MM context switch avoidence test. · 2a72d2e5
      Russell King authored
      On context switch, when the MM hasn't changed, we can avoid calling
      the architecture specific area.
      2a72d2e5
    • Russell King's avatar
      [ARM] Move PHYS_TO_NID() to asm/memory.h · e39a6ad8
      Russell King authored
      When CONFIG_DISCONTIGMEM=n, we define PHYS_TO_NID(x) to zero in each
      architecture specific file.  This cset moves it into the generic
      ARM code.  
      e39a6ad8
    • Russell King's avatar
      [ARM] Add Thumb syscall stubs and drop gcc asm workarounds. · 04e1aae5
      Russell King authored
      Add support for Thumb stubs (for klibc.)
      We drop a work-around for early gcc versions where register
      variables didn't work as expected; this allows us to get rid
      of several lines of ASM per syscall.
      04e1aae5
  3. 20 Aug, 2002 9 commits
    • Linus Torvalds's avatar
      Hmm.. It was never correct to directly include <asm/smplock.h>, · d17e9bb6
      Linus Torvalds authored
      but some files still did (and got the wrong results on UP).
      
      Since they didn't actually _use_ the BKL anyway, remove the
      include.
      d17e9bb6
    • Linus Torvalds's avatar
      Move x86 big-kernel-lock implementation into <linux/smp_lock.h>, · e3adef99
      Linus Torvalds authored
      since it was generic.
      
      Remove all architecture-specific <asm/smplock.h> files.
      e3adef99
    • Trond Myklebust's avatar
      [PATCH] Improve READDIR/READDIRPLUS sanity checking.. · 29ceefc7
      Trond Myklebust authored
       - Use req->rq_received to determine the message length instead of
         assuming that it goes to the end of the page.
      
       - If the server returned an illegal record so that we cannot make
         progress by retrying the request on a fresh page, truncate the
         entire listing and return a syslog error.
      29ceefc7
    • Trond Myklebust's avatar
      [PATCH] Improve NFS READ reply sanity checking · d9a4ea27
      Trond Myklebust authored
       - Fix the check for whether or not the received message length has
         somehow been truncated: we need to use req->rq_received rather
         than the receive buffer length (req->rq_rlen).
      
       - Ensure that we set res->eof correctly. In particular, we need to
         clear it if we find ourselves attempting to recover from a
         truncated READ.
      
       - Don't set PageUptodate() on those pages that are the victim of
         message truncation.
      d9a4ea27
    • Robert Love's avatar
      [PATCH] spinlock.h cleanup · e4039bb2
      Robert Love authored
       - cleanup #defines: I do not follow the rationale behind the
         odd line-wrapped defines at the beginning of the file.  If
         we have to use multiple lines, then we might as well do so
         cleanly and according to normal practice...
      
       - Remove a level of indirection: do not have spin_lock_foo
         use spin_lock - just explicitly call what is needed.
      
       - we do not need to define the spin_lock functions twice, once
         for CONFIG_PREEMPT and once for !CONFIG_PREEMPT.  Defining
         them once with the preempt macros will optimize away fine.
      
       - cleanup preempt.h too
      
       - other misc. cleanup, improved comments, reordering, etc.
      e4039bb2
    • Ingo Molnar's avatar
      [PATCH] O(1) sys_exit(), threading, scalable-exit-2.5.31-A6 · 1edfa642
      Ingo Molnar authored
      This fixes the ptrace wait4() anomaly that can be observed in any
      previous Linux kernel i could get my hands at.
      
      If the parent still has other children (that are being traced by
      somebody), we wait for them or return immediately without an error in
      case of WNOHANG.
      1edfa642
    • Dave Jones's avatar
      [PATCH] struct superblock cleanups. · 7e2e73a7
      Dave Jones authored
      Finally, this chunk removes the references to the UFS & ROMFS
      entries in struct superblock, leaving just ext3 and hpfs as
      the only remaining fs's to be fixed up.
      7e2e73a7
    • Dave Jones's avatar
      [PATCH] UFS superblock cleanup. · 136b6223
      Dave Jones authored
      This one from Brian Gerst seperates UFS from
      the struct superblock union.
      136b6223
    • Dave Jones's avatar
      [PATCH] ROMFS superblock cleanup. · 6424ea03
      Dave Jones authored
      This patch from Christoph Hellwig divorces ROMFS
      from the struct superblock union, as has been done
      to various other filesystems during 2.5
      6424ea03
  4. 19 Aug, 2002 7 commits
    • Andrew Morton's avatar
      [PATCH] Fix a BUG in try_to_unmap() · 0ee29e60
      Andrew Morton authored
      try_to_unmap() dies if the to-be-unmapped page has a non-NULL ->mapping.
      
      But the preceding logic in shrink_cache() forgot about the
      rarely-occurring pages which have buffers and no ->mapping.
      0ee29e60
    • Andrew Morton's avatar
      [PATCH] fix uniprocessor lockups · 891975a1
      Andrew Morton authored
      I have a test_and_set_bit(PG_chainlock, page->flags) in page reclaim.
      Which works fine on SMP.  But on uniprocessor, we made
      pte_chain_unlock() a no-op, so all pages end up with PG_chainlock set.
      refill_inactive() cannot move any pages onto the inactive list and the
      machine dies.
      
      The patch removes the test_and_set_bit optimisation in there and just
      uses pte_chain_lock().  If we want that (dubious) optimisation back
      then let's do it right and create pte_chain_trylock().
      891975a1
    • Andrew Morton's avatar
      [PATCH] Fix a race between __page_cache_release() and shrink_cache() · 9bdedfce
      Andrew Morton authored
      __page_cache_release() needs to recheck the page count inside the LRU
      lock, because shrink_cache() may have found the page on the LRU and
      incremented its refcount again.
      
      Which is carefully documented over __pagevec_release().  Duh.
      9bdedfce
    • Dave Hansen's avatar
      [PATCH] fix link problem in ips driver · ac31cf70
      Dave Hansen authored
      ac31cf70
    • Dave Hansen's avatar
      [PATCH] NUMA-Q disable irqbalance · 01a8d063
      Dave Hansen authored
      Here's a patch from Andrea's tree that uses IRQ_BALANCE_INTERVAL to
      define how often interrupts are balanced, staying independent from HZ.
      
        It also makes sure that there _is_ a change to the configuration
      before it actually writes it.  It reminds me of the mod_timer
      optimization.
      01a8d063
    • Linus Torvalds's avatar
      Remove extraneous ptrace.h include · 85f817cd
      Linus Torvalds authored
      85f817cd
    • Ingo Molnar's avatar
      [PATCH] O(1) sys_exit(), threading, scalable-exit-2.5.31-B4 · d79c07a4
      Ingo Molnar authored
      the attached patch updates a number of items:
      
       - adds cleanups suggested by Christoph Hellwig: needed unlikely()
         statements, a superfluous #define and line length problems.
      
       - splits up the global ptrace list into per-task ptrace lists. This was
         pretty straightforward, and this makes the worst-case exit() latency
         O(nr_children).
      
      the per-task ptrace lists unearthed a bug that the previous code did not
      take care of: tasks on the ptrace list have to be correctly reparented as
      well. This patch passed my stresstests as well.
      d79c07a4
  5. 17 Aug, 2002 3 commits
  6. 16 Aug, 2002 5 commits
  7. 17 Aug, 2002 1 commit