1. 15 Feb, 2003 2 commits
    • Dominik Brodowski's avatar
      [PATCH] pcmcia: add device_class pcmcia_socket, update devices & drivers · 467f07e0
      Dominik Brodowski authored
      A new device_class "pcmcia_socket_class" is introduced for PCMCIA and
      CardBus sockets.  All socket drivers I could find are updated so that
      they register a driver, and -if necessary- the "platform"/legacy device.
      This will allow for a cleanup of pcmcia_{un}register_socket() /
      {un}register_ss_entry() as well as reflect the parent for pcmcia_bus
      devices.
      
      Russell King allowed me to break sa1100_generic pcmcia support for the
      time being - so drop that part of the patch for the moment.
      467f07e0
    • Linus Torvalds's avatar
      Merge http://ppc.bkbits.net/for-linus-ppc64 · 02e58fc8
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      02e58fc8
  2. 16 Feb, 2003 5 commits
  3. 15 Feb, 2003 33 commits
    • Stephen Rothwell's avatar
      [PATCH] compat_sys_futex 1/3 generic, parisc, ppc64, s390x and x86_64 · 424706ad
      Stephen Rothwell authored
      This is the generic part of the patch and the architecture specific parts
      I have been asked to forward directly to you.
      424706ad
    • Robert Love's avatar
      [PATCH] trivial: unused var in sunrpc · fcc21ee2
      Robert Love authored
      There is an unused variable, `int maxlen', in net/sunrpc/clnt.c ::
      rpc_setup_pipedir().
      fcc21ee2
    • Steven Cole's avatar
      [PATCH] alpha typo fix · 8de23faa
      Steven Cole authored
      8de23faa
    • Alan Cox's avatar
      975b130a
    • Alan Cox's avatar
      [PATCH] another ia64 typo · 00cca1c6
      Alan Cox authored
      00cca1c6
    • Alan Cox's avatar
      [PATCH] mca 53c9x also needs mca-legacy · 6ab32ce2
      Alan Cox authored
      6ab32ce2
    • Alan Cox's avatar
      [PATCH] Fix aha1542 · 9a53dd0c
      Alan Cox authored
      Randy Dunlap included this with the 152x stuff which then got lost in
      discussion about core changes and queueing reset. 154x doesnt need the
      extra discussion. Also adds a fix to use mca-legacy as needed for 1640
      right now
      9a53dd0c
    • Alan Cox's avatar
      [PATCH] bring 2.5 arcnet into line with 2.4 · 15d6f88e
      Alan Cox authored
      Fixes a request region breakage
      Fixes a size request error
      Handles a new card type
      15d6f88e
    • Steven Cole's avatar
      [PATCH] high pedantry in ppc spelling · 110f2e73
      Steven Cole authored
      110f2e73
    • Alan Cox's avatar
      [PATCH] specialix fix from 2.4 missing in 2.5 · f2bf91e7
      Alan Cox authored
      f2bf91e7
    • Alan Cox's avatar
      [PATCH] nor PPC people ;) · cc9c67c4
      Alan Cox authored
      cc9c67c4
    • Alan Cox's avatar
      [PATCH] itanic people cant spell either · e1404b4c
      Alan Cox authored
      e1404b4c
    • Alan Cox's avatar
      [PATCH] remove bogowarning · a192bc10
      Alan Cox authored
      No lilo since about 1997 has stomped the EBDA
      a192bc10
    • Alan Cox's avatar
      [PATCH] printk levels for mpparse · 384cf84c
      Alan Cox authored
      Also recognize the NEC98 busses
      384cf84c
    • Alan Cox's avatar
      [PATCH] make the io-apic printk generate less junk mail · ff52fb88
      Alan Cox authored
      Also suggest bugzilla.kernel.org now not the mailing list
      ff52fb88
    • Alan Cox's avatar
      [PATCH] merge the NEC98 parsing code · 0c6cbb6b
      Alan Cox authored
      This is nice and clean (your tree already knows the idents)
      0c6cbb6b
    • Alan Cox's avatar
      [PATCH] Add printk levels to mtrr, also clarify · d4bae497
      Alan Cox authored
      The big thing here is actually turning
      'Your bios sucks'
      into
      'Your bios sucks, but we fixed it and life is good, don't panic'
      
      Which with a vendor hat on is important.  Its currently hard to tell
      whether some Linux errors are things to worry about or merely spanking
      the manufacturer.  I'd urge people writing error messages to think about
      that btw - does it tell the user if the problem is fixed ?
      d4bae497
    • Ben Collins's avatar
      [PATCH] IEEE-1394 Updates · 8e14bc0b
      Ben Collins authored
      - Converts Video1394 to PCI dma.
      - Converts ioctl's to standard interface.
      - Various minor fixes
      - Merges from 2.5.x tree
      8e14bc0b
    • Andrew Morton's avatar
      [PATCH] Use table lookup for radix_tree_maxindex() · fe2701f1
      Andrew Morton authored
      Patch from Szabolcs Berecz <szabi@mplayerhq.hu>
      
      With the following patch maxindex is taken from an array instead of
      recalculating it all the time.
      fe2701f1
    • Andrew Morton's avatar
      [PATCH] fix compile breakage on drivers/scsi/NCR53C9x.c · 8042ffff
      Andrew Morton authored
      Patch from John Kim <john@larvalstage.com>
      
      This fixes compile breakage due to recent changes to scsi.h
      8042ffff
    • Andrew Morton's avatar
      [PATCH] Make the world safe for -Wundef · 7807a1bc
      Andrew Morton authored
      Patch from: Valdis.Kletnieks@vt.edu
      
      This is a patch to clean things up so compiling with -Wundef becomes feasible
      (This patch cuts the number of warnings with 'make allyesconfig' drop from
      around 10,000 to several hundred).  It was originally inspired by the
      discussion of things that include linux/version.h but don't use the contents
      - after doing this, I was able to find that there *WAS* at least one place
      where version.h was missing (see following patch).
      7807a1bc
    • Andrew Morton's avatar
      [PATCH] Fix ext3 build when EXT3_DEBUG is defined · ea36e1ce
      Andrew Morton authored
      When EXT3_DEBUG is turned on (by editing the header file) there is one
      compile failure and a few warnings.  Fix that up.
      ea36e1ce
    • Andrew Morton's avatar
      [PATCH] direct-io: allow reading of the part-filled EOF block · 3f31e635
      Andrew Morton authored
      driect-io will currently return EINVAL when the application tries to read the
      final bit of the file at EOF.  (assuming the file's length is not a multiple
      of the filesystem blocksize).
      
      The 2.4 kernelwill reurn 0 (it won't read it at all).
      
      This patch changes the 2.5 kernel to allow that block to be read.
      3f31e635
    • Andrew Morton's avatar
      [PATCH] direct-io return value fix · fe1659c1
      Andrew Morton authored
      If at the end of direct_io_worker, dio->result is non-zero then we
      unconditionally copy that into the return value, potentially ignoring any I/O
      errors which were accumulated into local variable `ret'.
      
      Only do the assignment if `ret' is zero.
      fe1659c1
    • Andrew Morton's avatar
      [PATCH] cciss, fix array bounds overrun · b3d9f279
      Andrew Morton authored
      Patch from steve cameron <steve.cameron@hp.com>
      
      Fix overrun if you have more than 16 attached tape drives + tape changers.
      Thanks to Mike Anderson for pointing this out.
      b3d9f279
    • Andrew Morton's avatar
      [PATCH] cciss driver update · 3aee2f2f
      Andrew Morton authored
      Patch from: steve cameron <steve.cameron@hp.com>
      
      Steve sent out a nice series of 11 broken-out patches.  I have lumped them
      all together.
      
      - Makes the cciss driver compile in 2.5.60  (from tony@cantech.net.au)
      
      - From randy.dunlap@verizon.net, fix memory leaks in cciss driver
      
      - Allow cciss driver attached disks other than the first to be accessed.
      
      - Zero out cylinders when zeroing out other disk info in cciss driver.
      
      - Remove unused variable from cciss_scsi.c
      
      - This patch makes scsi commands to tape drives have no timeouts.
        Previously the timeout was 1000 seconds, too short, and nothing good
        happens when the timeout expires.  Better to have no timeout.  e.g.  mt -f
        /dev/st0 erase may take about 2 hours 30 min on AIT 100.
      
      - Remove unneeded cciss_scsi init code from cciss driver.
      
      - Remove udelay in command polling routine
      - extend timeout to 20 seconds (need for certain multiport storage box)
      - Remove unneeded init time code in cciss_scsi.c (thus allowing removal
        of udelay in command polling code.)
      
      - Factor out duplicated read capacity code into common routine in cciss
        driver.
      
      - factor duplicated geometry inquiry code into common routine in cciss
        driver.
      3aee2f2f
    • Andrew Morton's avatar
      [PATCH] blk_congestion_wait tuning and lockup fix · ecc3f712
      Andrew Morton authored
      blk_congestion_wait() will currently not wait if there are no write requests
      in flight.  Which is a potential problem if all the dirty data is against NFS
      filesystems.
      
      For write(2) traffic against NFS, things work nicely, because writers
      throttle in nfs_wait_on_requests().  But for MAP_SHARED dirtyings we need to
      avoid spinning in balance_dirty_pages().  So allow callers to fall through to
      the explicit sleep in that case.
      
      This will also fix a weird lockup which the reiser4 developers report.  In
      that case they have managed to have _all_ inodes against a superblock in
      locked state, yet there are no write requests in flight.  Taking a nap in
      blk_congestion_wait() in this case will yield the CPU to the threads which
      are trying to write out pages.
      
      Also tune up the sleep durations in various callers - 250 milliseconds seems
      rather long.
      ecc3f712
    • Andrew Morton's avatar
      [PATCH] xattr: trusted extended attributes · c2e7eeb0
      Andrew Morton authored
      Patch from Andreas Gruenbacher <agruen@suse.de>
      
      This patch adds trusted extended attributes.  Trusted extended attributes are
      visible and accessible only to processes that have the CAP_SYS_ADMIN
      capability.  Attributes in this class are used to implement mechanisms in
      user space (i.e., outside the kernel) which keep information in extended
      attributes to which ordinary processes have no access.  HSM is an example.
      c2e7eeb0
    • Andrew Morton's avatar
      [PATCH] xattr: allow kernel code to override EA permissions · f83b53c5
      Andrew Morton authored
      Patch from Andreas Gruenbacher <agruen@suse.de>
      
      This adds the XATTR_KERNEL_CONTEXT extended attributes flag.  Kernel code may
      use this flag to override extended attribute permission restrictions that
      would otherwise be imposed on the calling process.
      f83b53c5
    • Andrew Morton's avatar
      [PATCH] xattr: infrastructure for permission overrides · 36bc191b
      Andrew Morton authored
      Patch from Andreas Gruenbacher <agruen@suse.de>
      
      This adds flags parameters to the getxattr, listxattr, and removexattr inode
      operations.  This is in preparation for the next patch, which allows
      in-kernel code (i.e., modules) to override extended attribute permission
      restrictions (which in turn is used by HSM implementations and the like).
      36bc191b
    • Andrew Morton's avatar
      [PATCH] xattr: listxattr fix · af8e38c7
      Andrew Morton authored
      Patch from Andreas Gruenbacher <agruen@suse.de>
      
      This patch fixes a bug in the ext2 and ext3 listxattr operation: Even if
      an attribute is hidden from the user, the terminating NULL character was
      included in the listxattr result. After the patch this doesn't happen
      anymore.
      af8e38c7
    • Andrew Morton's avatar
      [PATCH] error checking in ext3 xattr code · 358bae5b
      Andrew Morton authored
      from Andreas Gruenbacher
      358bae5b
    • Andrew Morton's avatar
      [PATCH] dcache_rcu · d8a55dda
      Andrew Morton authored
      Patch from Maneesh Soni <maneesh@in.ibm.com>, Dipankar Sarma
      <dipankar@in.ibm.com> and probably others.
      
      
      This patch provides dcache_lock free d_lookup() using RCU. Al pointed
      races with d_move and lockfree d_lookup() while concurrent rename is
      going on. We tested this with a test doing million renames
      each in 50 threads on 50 different ramfs filesystems. And simultaneously
      running millions of "ls". The tests were done on 4-way SMP box.
      
      1. Lookup going to a different bucket as the current dentry is
         moved to a different bucket due to rename. This is solved by
         having a list_head pointer in the dentry structure which points
         to the bucket head it belongs. The bucket pointer is updated when the
         dentry is added to the hash chain. Lookup checks if the current
         dentry belongs to a different bucket, the cached lookup is
         failed and real lookup will be done. This condition occured nearly
         about 100 times during the heavy_rename test.
      
      2. Lookup has got the dentry it is looking and it is comparing
         various keys and meanwhile a rename operation moves the dentry.
         This is solved by using a per dentry counter (d_move_count) which
         is updated at the end of d_move. Lookup takes a snapshot of the
         d_move_count before comparing the keys and once the comparision
         succeeds, it takes the per dentry lock to check the d_move_count
         again. If move_count differs, then dentry is moved (or renamed)
         and the lookup is failed.
      
      3. There can be a theoritical race when a dentry keeps coming back
         to original bucket due to double moves. Due to this lookup may
         consider that it has never moved and can end up in a infinite loop.
         This is solved by using a loop_counter which is compared with a
         approximate maximum number of dentries per bucket. This never got
         hit during the heavy_rename test.
      
      4. There is one more change regarding the loop termintaion condition
         in d_lookup, now the next hash pointer is compared with the current
         dentries bucket pointer (is_bucket()).
      
      5. memcmp() in d_lookup() can go out of bounds if name pointer and length
         fields are not consistent. For this we used a pointer to qstr to keep
         length and name pointer in one structre.
      
      We also tried solving these by using a rwlock but it could not compete
      with lockless solution.
      d8a55dda