1. 22 Nov, 2006 1 commit
  2. 20 Nov, 2006 7 commits
    • Adrian Bunk's avatar
      Linux 2.6.16.33-rc1 · 6d44d60a
      Adrian Bunk authored
      6d44d60a
    • Benjamin Herrenschmidt's avatar
      POWERPC: Make alignment exception always check exception table · 371899a7
      Benjamin Herrenschmidt authored
      The alignment exception used to only check the exception table for
      -EFAULT, not for other errors. That opens an oops window if we can
      coerce the kernel into getting an alignment exception for other reasons
      in what would normally be a user-protected accessor, which can be done
      via some of the futex ops. This fixes it by always checking the
      exception tables.
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      371899a7
    • Daniele Venzano's avatar
      Add new PHY to sis900 supported list · 70c50561
      Daniele Venzano authored
      This patch adds support for a new PHY to the sis900 driver.
      See also Bugzilla 6919.
      Signed-off-by: default avatarDaniele Venzano <venza@brownhat.org>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      70c50561
    • Artur Skawina's avatar
      sis900 adm7001 PHY support · 0379a9a1
      Artur Skawina authored
      this patch is required to get a SIS964 based motherboard ethernet working
      (FSC D1875) (picking the #1 transceiver, instead of the last one, in case
      no known ones were found might be a better default, and would have worked
      in this case too)
      Signed-off-by: default avatarArtur Skawina <art_k@o2.pl>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      0379a9a1
    • Michael-Luke Jones's avatar
      Old IDE, fix SATA detection for cabling · c61120c3
      Michael-Luke Jones authored
      This patch is identical to that introduced in
      1a1276e7 to the Linus' 2.6 development tree
      by Alan Cox.
      
      'This is based on the proposed patches flying around but also checks that
      the device in question is new enough to have word 93 rather thanb blindly
      assuming word 93 == 0 means SATA (see ATA-5, ATA-7)' -- Alan Cox
      
      Required for my SATA drive on an Asus Pundit-R to operate above 33MBps.
      Signed-off-by: default avatarMichael-Luke Jones <mlj28@cam.ac.uk>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      c61120c3
    • Diego Calleja's avatar
      Fix BeFS slab corruption · 2c8e2c9f
      Diego Calleja authored
      In bugzilla #6941, Jens Kilian reported:
      
      "The function befs_utf2nls (in fs/befs/linuxvfs.c) writes a 0 byte past the
      end of a block of memory allocated via kmalloc(), leading to memory
      corruption.  This happens only for filenames which are pure ASCII and a
      multiple of 4 bytes in length.  [...]
      
      Without DEBUG_SLAB, this leads to further corruption and hard lockups; I
      believe this is the bug which has made kernels later than 2.6.8 unusable
      for me.  (This must be due to changes in memory management, the bug has
      been in the BeFS driver since the time it was introduced (AFAICT).)
      
      Steps to reproduce:
      Create a directory (in BeOS, naturally :-) with files named, e.g.,
      "1", "22", "333", "4444", ...  Mount it in Linux and do an "ls" or "find""
      
      This patch implements the suggested fix. Credits to Jens Kilian for
      debugging the problem and finding the right fix.
      Signed-off-by: default avatarDiego Calleja <diegocg@gmail.com>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      2c8e2c9f
    • Adrian Bunk's avatar
      V4L/DVB: Saa7134: rename dmasound_{init,exit} · facabd61
      Adrian Bunk authored
      Two different exports with the same name are not a good idea:
      
      $ grep -r EXPORT_SYMBOL\(dmasound_init\) *
      drivers/media/video/saa7134/saa7134-core.c:EXPORT_SYMBOL(dmasound_init);
      sound/oss/dmasound/dmasound_core.c:EXPORT_SYMBOL(dmasound_init);
      $
      
      This patch renames the saa7134 dmasound_{init,exit} to
      saa7134_dmasound_{init,exit}.
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      facabd61
  3. 19 Nov, 2006 4 commits
  4. 17 Nov, 2006 4 commits
    • Dmitry Mishin's avatar
      Fix timer race in dst GC code · 9e9c7147
      Dmitry Mishin authored
      Replace add_timer() by mod_timer() in dst_run_gc
      in order to avoid BUG message.
      
         CPU1                            CPU2
      dst_run_gc()  entered           dst_run_gc() entered
      spin_lock(&dst_lock)                   .....
      del_timer(&dst_gc_timer)         fail to get lock
         ....                         mod_timer() <--- puts
                                                   timer back
                                                   to the list
      add_timer(&dst_gc_timer) <--- BUG because timer is in list already.
      
      Found during OpenVZ internal testing.
      
      At first we thought that it is OpenVZ specific as we
      added dst_run_gc(0) call in dst_dev_event(),
      but as Alexey pointed to me it is possible to trigger
      this condition in mainstream kernel.
      
      F.e. timer has fired on CPU2, but the handler was preeempted
      by an irq before dst_lock is tried.
      Meanwhile, someone on CPU1 adds an entry to gc list and
      starts the timer.
      If CPU2 was preempted long enough, this timer can expire
      simultaneously with resuming timer handler on CPU1, arriving
      exactly to the situation described.
      Signed-off-by: default avatarDmitry Mishin <dim@openvz.org>
      Signed-off-by: default avatarKirill Korotaev <dev@openvz.org>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      9e9c7147
    • Badari Pulavarty's avatar
      ext3 -nobh option causes oops · 770af3b4
      Badari Pulavarty authored
      For files other than IFREG, nobh option doesn't make sense.  Modifications
      to them are journalled and needs buffer heads to do that.  Without this
      patch, we get kernel oops in page_buffers().
      Signed-off-by: default avatarBadari Pulavarty <pbadari@us.ibm.com>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      770af3b4
    • Alexey Dobriyan's avatar
      ipmi_si_intf.c: fix "&& 0xff" typos · 39a2b41b
      Alexey Dobriyan authored
      Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      39a2b41b
    • Adrian Bunk's avatar
      security/seclvl.c: fix time wrap (CVE-2005-4352) · e6169b53
      Adrian Bunk authored
      initlvl=2 in seclvl gives the guarantee
      "Cannot decrement the system time".
      
      But it was possible to set the time to the maximum unixtime value
      (19 Jan 2038) resulting in a wrap to the minimum value.
      
      This patch fixes this by disallowing setting the time to any date
      after 2030 with initlvl=2.
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      e6169b53
  5. 16 Nov, 2006 1 commit
  6. 15 Nov, 2006 4 commits
  7. 11 Nov, 2006 4 commits
    • Adrian Bunk's avatar
      Linux 2.6.16.32-rc1 · ae92a0d0
      Adrian Bunk authored
      ae92a0d0
    • Christoph Lameter's avatar
      Fix longstanding load balancing bug in the scheduler · ef147950
      Christoph Lameter authored
      The scheduler will stop load balancing if the most busy processor contains
      processes pinned via processor affinity.
      
      The scheduler currently only does one search for busiest cpu.  If it cannot
      pull any tasks away from the busiest cpu because they were pinned then the
      scheduler goes into a corner and sulks leaving the idle processors idle.
      
      F.e.  If you have processor 0 busy running four tasks pinned via taskset,
      there are none on processor 1 and one just started two processes on
      processor 2 then the scheduler will not move one of the two processes away
      from processor 2.
      
      This patch fixes that issue by forcing the scheduler to come out of its
      corner and retrying the load balancing by considering other processors for
      load balancing.
      
      This patch was originally developed by John Hawkes and discussed at
      
          http://marc.theaimsgroup.com/?l=linux-kernel&m=113901368523205&w=2.
      
      I have removed extraneous material and gone back to equipping struct rq
      with the cpu the queue is associated with since this makes the patch much
      easier and it is likely that others in the future will have the same
      difficulty of figuring out which processor owns which runqueue.
      
      The overhead added through these patches is a single word on the stack if
      the kernel is configured to support 32 cpus or less (32 bit).  For 32 bit
      environments the maximum number of cpus that can be configued is 255 which
      would result in the use of 32 bytes additional on the stack.  On IA64 up to
      1k cpus can be configured which will result in the use of 128 additional
      bytes on the stack.  The maximum additional cache footprint is one
      cacheline.  Typically memory use will be much less than a cacheline and the
      additional cpumask will be placed on the stack in a cacheline that already
      contains other local variable.
      Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      ef147950
    • Tejun Heo's avatar
      sata_sil24: add a new PCI ID for SiI 3124 · f9a198cc
      Tejun Heo authored
      Add a new PCI ID for SiI 3124.  Reported by Silicon Image.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      f9a198cc
    • Kirill Korotaev's avatar
      ia64/sparc: fix local DoS with corrupted ELFs (CVE-2006-4538) · 05c19c43
      Kirill Korotaev authored
      This patch prevents cross-region mappings
      on IA64 and SPARC which could lead to system crash.
      
      Adrian Bunk:
      Adapted to 2.6.16.
      Signed-Off-By: default avatarKirill Korotaev <dev@openvz.org>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      05c19c43
  8. 10 Nov, 2006 5 commits
  9. 09 Nov, 2006 8 commits
  10. 08 Nov, 2006 2 commits