1. 02 Mar, 2003 14 commits
    • Andrew Morton's avatar
      [PATCH] fix presto_get_sb() return value and oops. · e8375b8c
      Andrew Morton authored
      Patch from Maneesh Soni <maneesh@in.ibm.com>
      
      It's supposed to return an ERR_PTR value on error, not NULL.
      e8375b8c
    • Andrew Morton's avatar
      [PATCH] loop: Fix OOM and oops · 29da03f1
      Andrew Morton authored
      The loop driver takes a copy of the data which it is writing.  When this
      happens on the try_to_free_pages() path, loop can easily consume ALL memory
      and bio_copy() will fail to allocate a page.
      
      Loop forgets to check the bio_copy() return value and oopses.
      
      Fix this by dropping PF_MEMALLOC and throttling to the block writeout speed.
      
      The patch exports blk_congestion_wait() to modules for this.  This is a
      needed export: several filesystems have a "try to allocate and yield if it
      failed" loop and blk_congestion_wait() is a more appropriate way of
      implementing the sleep in this situation.
      29da03f1
    • Andrew Morton's avatar
      [PATCH] deadline IO scheduler dispatching fix · 159b5855
      Andrew Morton authored
      Patch from Nick Piggin <piggin@cyberone.com.au>
      
      Closes a window in which we can get an invalid (already dispatched) request
      in the next_drq cache.
      
      This fixed an oops which was reported by Janet Morgan.
      159b5855
    • Andrew Morton's avatar
      [PATCH] fix e100 for big-endian machines · 361b3b62
      Andrew Morton authored
      Patch from Anton Blanchard <anton@samba.org>
      
      e100 is performing a header checksum calculation which is
      
      a) duplication of the core kernel's calculation of the same and
      
      b) incorrect on big-endian machines.
      
      This fix has been tested on ia32 and pppc64 and acked by davem, jgarzik
      and Scott Feldman
      361b3b62
    • Andrew Morton's avatar
      [PATCH] spelling fixes · 5f10a0b4
      Andrew Morton authored
      s/seperate/separate/
      5f10a0b4
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 8 · c0f05807
      Russell King authored
      Fix socket memory mapping bug - we need to take account of the
      requested card offset when returning the address for ioremap. 
      c0f05807
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 7 · 33cdd9d7
      Russell King authored
      Request PCMCIA socket resources without marking them busy - this
      allows future modifications to pcmcia to allow it to claim the
      CIS resources for statically mapped sockets.
      33cdd9d7
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 6 · af02a9d3
      Russell King authored
      Sanitise our pcmcia interrupt handling.  Make sure we only use
      set_irq_type after the interrupt has been registered.
      
      Register the socket handling interrupts using the function name
      rather than some pointer passed by the generic code.
      
      Let the generic sa11x0 code handle the cards interrupt masking.
      af02a9d3
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 5 · 657922c7
      Russell King authored
      Remove get_irq_info method, passing the information via the init
      method instead.  The IRQ allocated to a socket never changes on
      these platforms, so the extra code was just bloat.
      657922c7
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 4 · a875f3b9
      Russell King authored
      Convert all SA11x0 drivers to register with the Linux driver model,
      so they work with the pcmcia layer in 2.5.63.
      a875f3b9
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 3 · 0960a1f6
      Russell King authored
      Make low level socket_status() method take the socket index as an
      argument in the same way that our other methods do.  socket_status()
      now only returns the status of the requested socket, not all sockets.
      0960a1f6
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 2 · 44760e52
      Russell King authored
      Make low-level configure_socket() method take the socket number as
      a parameter rather than embedded in a structure.
      44760e52
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 1 · ac1689ff
      Russell King authored
      Make SA11x0 generic pcmcia implementation fit better with Dominik's
      work - pass around our socket structure rather than the socket number
      itself.  Reference socket operations using the socket structure
      rather than a static variable.
      ac1689ff
    • Alan Stern's avatar
      [PATCH] Fix USB address setting · e61ed9f5
      Alan Stern authored
      You wouldn't expect that an innocent two-line patch would practically
      destroy the entire functionality of the USB subsystem.  But that's what my
      last patch did.  I didn't realize until I saw it in Greg's list of patches
      forwarded to Linus; that patch includes a mistakenly unreverted prior
      change.  This explains the problems I was having yesterday, and probably
      also the problems a great many people are having today.
      
      Anyway, here's the correction -- it puts things back to what they should
      have been in the first place.  Greg, please apply this and send it to
      Linus for his tree as soon as reasonably possible.
      e61ed9f5
  2. 01 Mar, 2003 16 commits
  3. 28 Feb, 2003 10 commits
    • Muli Ben-Yehuda's avatar
      [PATCH] trident 1/1 fix operator precedence bug · e4caae91
      Muli Ben-Yehuda authored
      Fix an operator precedence bug that caused a comparison to always
      return false. Patch from John Levon <levon@movementarian.org>.
      e4caae91
    • Greg Kroah-Hartman's avatar
      Merge gregkh@kernel.bkbits.net:/home/gregkh/linux/pci-2.5 · c198a0a4
      Greg Kroah-Hartman authored
      into kroah.com:/home/greg/linux/BK/pci-2.5
      c198a0a4
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · 5828287e
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      5828287e
    • Linus Torvalds's avatar
      Merge · a1d7f7d6
      Linus Torvalds authored
      a1d7f7d6
    • Martin J. Bligh's avatar
      [PATCH] Fix error bounds checking for NUMA-Q · 775b739a
      Martin J. Bligh authored
      Patch from Dave Hansen.
      
      Fix simple bounding error found by some Stanford-checker type thing
      to use the proper MAX_MP_BUSSES define instead of a constant.
      775b739a
    • 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
    • Martin J. Bligh's avatar
      [PATCH] Fix kirq_balance up so I can disable it. · c365dd4d
      Martin J. Bligh authored
      At the moment, there are two different switches used, irqbalance_disabled
      and no_balance_irq ... each of which switches half the code off. This
      patch harmonises them into one (irqbalance_disable), and uses the old
      subarch stuff as a default value so that this is auto-disabled on boxes
      like NUMA-Q that can't cope with it.
      
      Also renamed no_balance_irq to NO_BALANCE_IRQ as it's really a static
      defined number now, not pretending to be a switch variable any more.
      Now off by default for NUMA-Q, on by default for others, but can be
      disabled with the boot time flag if people desire.
      c365dd4d
    • Martin J. Bligh's avatar
      [PATCH] provide pcibus_to_cpumask from topology · 259b8fb4
      Martin J. Bligh authored
      Patch from Matthew Dobson
      
      Provide a pcibus_to_cpumask function in the topology infrastructure to
      access the pre-existing array.
      259b8fb4
    • Martin J. Bligh's avatar
      [PATCH] Move pfn_to_nid inline · 1c050f9d
      Martin J. Bligh authored
      Patch from William Lee Irwin
      
      Inline and simplify pfn_to_nid - this is called heavily, it's a tiny
      function, and makes a noticable difference in system time for kernel
      compiles (sorry, lost the data). Is only used on NUMA machines.
      
      Has been tested in my tree for over a month on UP, SMP, and NUMA and
      compile tested against a variety of different configs.
      1c050f9d
    • Martin J. Bligh's avatar
      [PATCH] Fix potential NULL pointer · 35bff081
      Martin J. Bligh authored
      translation_table could be unintialised on machines other than NUMA-Q.
      You never see this, as the compiler happens to optimise it away, but
      it's still a Really Bad Idea (tm). Thanks to someone whose name I have
      unfortunately forgotten for pointing this out.
      
      Has been tested in my tree for over two weeks on UP, SMP, and NUMA and
      compile tested against a variety of different configs.
      35bff081