1. 01 Mar, 2006 5 commits
    • Pat Gefre's avatar
      [PATCH] Altix: more ioc3 cleanups and locking fixes · 15b370c9
      Pat Gefre authored
      Some "inline" removing that Andrew suggested, removed some locking on
      add/remove at this level - we'll let the callees decide.
      Signed-off-by: default avatarPatrick Gefre <pfg@sgi.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      15b370c9
    • John Bowler's avatar
      [PATCH] drivers/mtd/redboot.c: recognise a foreign byte sex partition table · 9cff3372
      John Bowler authored
      The RedBoot boot loader writes flash partition tables containing native
      byte sex 32 bit values.  When booting an opposite byte sex kernel (e.g.  an
      LE kernel from BE RedBoot) the current MTD driver fails to handle the
      partition table and therefore is unable to generate the correct partition
      map for the flash.
      
      So far as I am aware this problem is ARM specific, because only ARM
      supports software change of the CPU (memory system) byte sex, however the
      partition table parsing is in generic MTD code.  The patch below has been
      tested on NSLU2 (an IXP4XX based system) with a patch,
      10-ixp4xx-copy-from.patch (submitted to linux-arm-kernel - it's ARM
      specific) required to make the maps/ixp4xx.c driver work with an LE kernel.
      
      Builds of the patched system are in the 'unstable' release of OpenSlug and
      UcSlugC available from www.nslu2-linux.org.  These builds are BE, the
      archives at www.nslu2-linux.org and www.handhelds.org (see
      monotone.vanille.de) can be built LE (currently DISTRO targets
      nslu-ltu.conf for LE thumb uclibc (32 bit kernel) and nslu2-lau.conf,
      nslu2-lag.conf for LE arm uclibc/glibc) and this patch has been tested
      extensively will both BE and LE systems on the NSLU2 (including swapping
      between BE and LE by reflashing from both RedBoot and Linux).
      
      The patch recognises that the FIS directory (the partition table) is
      byte-reversed by examining the partition table size, which is known to be
      one erase block (this is an assumption made elsewhere in redboot.c).  If
      the size matches the erase block after byte swapping the value then
      byte-reversal is assumed, if not no further action is taken.  The patched
      code is fail safe; should redboot.c be changed to support a partition table
      with a modified size field the test will fail and the partition table will
      be assumed to have the host byte sex.
      
      If byte-reversal is detected the patch byte swaps the remainder of the 32
      bit fields in the copy of the table; this copy is then used to set up the
      MTD partition map.
      Signed-off-by: default avatarJohn Bowler <jbowler@acm.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Martin Michlmayr <tbm@cyrius.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      9cff3372
    • Miklos Szeredi's avatar
      [PATCH] fuse: fix bug in negative lookup · 50322fe7
      Miklos Szeredi authored
      If negative entries (nodeid == 0) were sent in reply to LOOKUP requests,
      two bugs could be triggered:
      
      - looking up a negative entry would return -EIO,
      
      - revaildate on an entry which turned negative would send a FORGET
        request with zero nodeid, which would cause an abort() in the
        library.
      
      The above would only happen if the 'negative_timeout=N' option was used,
      otherwise lookups reply -ENOENT, which worked correctly.
      Signed-off-by: default avatarMiklos Szeredi <miklos@szeredi.hu>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      50322fe7
    • Christoph Lameter's avatar
      [PATCH] Fix sys_migrate_pages: Move all pages when invoked from root · 511030bc
      Christoph Lameter authored
      Currently sys_migrate_pages only moves pages belonging to a process.  This
      is okay when invoked from a regular user.  But if invoked from root it
      should move all pages as documented in the migrate_pages manpage.
      Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
      Cc: Andi Kleen <ak@muc.de>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      511030bc
    • Dave Jones's avatar
      [PATCH] x86 microcode driver vs hotplug CPUs. · 5cf6c541
      Dave Jones authored
      This driver loops over 'num_online_cpus', but it doesn't account for holes
      in the online map created by offlined cpus, and assumes that the cpu
      numbers stay linear.
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      5cf6c541
  2. 28 Feb, 2006 25 commits
  3. 27 Feb, 2006 10 commits