1. 03 Oct, 2004 4 commits
    • Ben Dooks's avatar
      [ARM PATCH] 2118/1: S3C2410 - gpio updates and header file fix · 2c612bdf
      Ben Dooks authored
      Patch from Ben Dooks
      
      Fix missing changelog entries in <asm-arm/arch-s3c2410/hardware.h>,
      and erroneous EINT definitions in <asm-arm/arch-s3c2410/regs-gpio.h>.
      
      Added s3c2410_gpio_getcfg(pin) and s3c2410_gpio_getirq(pin)
      to get the current configuration of an pin, and which IRQ
      (if any) maps to it.
      
      Signed-off-by: Ben Dooks 
      2c612bdf
    • Ben Dooks's avatar
      [ARM PATCH] 2103/1: BAST - USB power control · f8b6407f
      Ben Dooks authored
      Patch from Ben Dooks
      
      USB power control and over-current sense
      
      Signed-off-by: Ben Dooks 
      f8b6407f
    • Ben Dooks's avatar
      [ARM PATCH] 2101/1: S3C2410 - usb port management · 51b44c29
      Ben Dooks authored
      Patch from Ben Dooks
      
      Port power control and management for S3C2410 internal
      USB controller for different boards to interface their
      power control system to.
      
      Signed-off-by: Ben Dooks 
      51b44c29
    • Sascha Hauer's avatar
      [ARM PATCH] 2095/1: i.MX time keeping · b782440a
      Sascha Hauer authored
      Patch from Sascha Hauer
      
      This patch fixes the i.MX timer functions:
      - imx_gettimeoffset() now returns proper values
      - fix timer interrupt frequency
      
      Signed-off-by: Sascha Hauer 
      b782440a
  2. 02 Oct, 2004 2 commits
  3. 03 Oct, 2004 2 commits
  4. 02 Oct, 2004 4 commits
    • Linus Torvalds's avatar
      Fix close() vs posix lock race · b044105d
      Linus Torvalds authored
      A threaded app that posix-locks and closes the same file
      in two threads concurrently may result in a posix lock
      that was never visible to the closer, and that thus needs
      cleanup on the final fput.
      
      Handle it together with the regular flocks.
      b044105d
    • Alan Cox's avatar
      [PATCH] Update termios to use per tty semaphore · cf54a5af
      Alan Cox authored
      This makes the agreed change of termios locking to be semaphore based
      sleep locking. This is needed for USB in particular as it has to use
      messaging to issue terminal mode changes.
      
      This code passes Torvalds test grades 0, 1 and 2 (it looks ok, it
      compiles and it booted). It does mean that a driver cannot take an
      atomic peek at termios data during an interrupt. Nobody seems to be
      doing this although some of the driver receive paths for line
      disciplines will eventually want to (n_tty currently doesn't do this
      locked on the receive path). Since the ldisc is given a chance to copy
      any essential bits on the ->set_termios path this seems not to be a
      problem.
      cf54a5af
    • Linus Torvalds's avatar
      Partially undo Alan's recent tty locking fixes: the termios · d5978a21
      Linus Torvalds authored
      lock must not be held across the driver/ldisc downcalls.
      
      Some drivers need to set device state (baudrate etc) and may
      need to sleep.
      d5978a21
    • Alexander Viro's avatar
      [PATCH] Race with iput and umount · 6482f833
      Alexander Viro authored
      Jeff Mahoney notes:
      
       "generic_shutdown_super() will happily call the ->put_super fs method,
        destroying data structures still in use by the iput (->delete_inode)
        in progress. 
      
        The unlink path will call the ->unlink fs method, release the path
        (thus dropping the reference to the vfsmount, and then call iput.
        Since the vfsmount reference is dropped back to 1, a umount will
        succeed, causing the superblock to be cleaned up."
      
      Arrgh...  Here's the trivial fix: do the final "iput()" a bit earlier in
      the unlink path. 
      
      Note: all places that go to exit1: or exit: will have NULL inode, so we
      are not leaking anything here and it is OK do that iput() early; indeed,
      the goal of that kludge was to postpone the final iput() past the
      unlocking the parent for the sake of contention if a wunch of bankers is
      doing parallel unlink() on files in the same directory and normally it
      would happen on dput() after vfs_unlink())
      6482f833
  5. 01 Oct, 2004 28 commits