1. 18 May, 2002 18 commits
    • Linus Torvalds's avatar
      Manual merge · a06ae2d9
      Linus Torvalds authored
      a06ae2d9
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · 20c6b26d
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      20c6b26d
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make-next · 67a670bd
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      67a670bd
    • Linus Torvalds's avatar
      Merge http://kernel-acme.bkbits.net:8080/intermezzo-copy_tofrom_user-2.5 · 66ebd50b
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      66ebd50b
    • Arnaldo Carvalho de Melo's avatar
      fs/intermezzo/ext_attr.c · 280067b0
      Arnaldo Carvalho de Melo authored
      fs/intermezzo/kml.c
      fs/intermezzo/psdev.c
      
      	- fix copy_{to,from}_user error handling (thans to Rusty for pointing this out)
      280067b0
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5 · 977e3db5
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-as
      977e3db5
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5 · 8876c643
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make.next
      8876c643
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5 · 9ba364a1
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
      9ba364a1
    • Christoph Hellwig's avatar
      [PATCH] kNFSd cleanup of nfsd_open · 10e3215f
      Christoph Hellwig authored
      This patch makes nfsd_open use init_private_file to initilize
      the file pointer the caller had allocated on stack.  In addition
      a number of small cleanups:
      
       - format comments to be readable on 80char ANSI terminal
       - don't fop_get (and fop_put in nfsd_close), out file already
         is a reference to the inode so they can't go away.
       - don't decrement f_count on failure - it won't be checked anyway
       - don't check for filp->f_op n nfsd_close, it can't be NULL
      10e3215f
    • Christoph Hellwig's avatar
      [PATCH] Small cleanup of nfsd export checks · d995db9d
      Christoph Hellwig authored
      Separate checks for !FS_REQUIRES_DEV and missing fsid option
      and missing export operations, second check for missing export
      operations and a small cleanup as side effect.
      d995db9d
    • Neil Brown's avatar
      [PATCH] Initial md/raid5 support for 2.5 (with bio) · 313d90b7
      Neil Brown authored
      With this patch raid5 works.  There is still some more
      work to though.
      
      - uses bio instead of buffer_head
      - stripe cache is now a fixed size.
         If read requests are smaller, we read the whole block anyway
         If write reqeusts are smaller, we pre-read.
      - stripe_head is now variable sized with an array of structures at
        the end.  We allocate extra space depending on how many devices
        are in the array.
        stripe_head has it's very own slab cache.
      - store and use bdev for each device in array
      
      by-passing the cache for reads is currently disabled.  I need to
      think through the implications (and implementation) of allowing
      large bion that are larger than the stripe cache to go directly
      to the device (if it isn't failed of-course).
      313d90b7
    • Neil Brown's avatar
      [PATCH] Tidy up raid5 code · 7d684b93
      Neil Brown authored
      - remove md_ prefix from some calls that used to be
        defined in md_compatability.h
      
      - remove "raid5_" prefix from some static functions,
        in line with recent changes to raid1.c
      
      ?? should cpu_has_mmx be moved to in processor.h ?
      7d684b93
    • Neil Brown's avatar
      [PATCH] Change MD Superblock IO to go straight to submit_bio · bd415ca2
      Neil Brown authored
      The current code hits the page cache for the block device
      which requires memory allocation which can sometimes cause
      a deadlock (if it blocks the raid5d thread).
      
      This code takes the page that holds the superblock, and
      passes it to submit_bh in a suitable bio wrapper.
      bd415ca2
    • Neil Brown's avatar
      [PATCH] Increase snd buffer size for UDP · b51682c0
      Neil Brown authored
      I under-allocated the space that RPC needs for transmit on a UDP
      socket.   We need lots of space to be allowed (though we may not use
      much) so that a lack of un-commited transmit space will not cause new
      requests to be blocked.
      b51682c0
    • Chris Mason's avatar
      [PATCH] reiserfs bitops warnings · bad40ecc
      Chris Mason authored
      This fixes reiserfs compile warnings for a few bitops calls.
      bad40ecc
    • Chris Mason's avatar
      [PATCH] reiserfs iput deadlock fix · f6225d1d
      Chris Mason authored
      This patch5 changes reiserfs_new_inode to end the transaction on errors
      (like -ENOSPC), so that it can call iput without deadlocking against the
      journal.
      f6225d1d
    • Christoph Hellwig's avatar
      [PATCH] cleanup read/write · ff59bcd2
      Christoph Hellwig authored
      Currently sys_read/sys_pread and sys_write/sys_pwrite basically contain
      lots of duplication of the same checks/code.
      
      This moves all that into vfs_read/vfs_write helpers that have the same
      prototypes as the read/write file operations.  In addition I have
      choosen to export these interfaces to module so people doing inkernel
      file reading/writing can use these instead of duplicating the checks
      (which is very likely to be done wrong).
      ff59bcd2
    • Dave McCracken's avatar
      [PATCH] Thread group exit problem reappeared · 3bfae933
      Dave McCracken authored
      A long time ago there was thread group code that at exit time tried to
      reparent a task to another task in the thread group.  I discovered a major
      race condition in this code, and submitted a patch that removed it.  This
      patch was accepted in, I think, 2.4.12.  The code reappeared in 2.4.18 and
      sometime in the 2.5 tree before 2.5.15, breaking applications that use
      thread groups.
      
      As part of chasing this down, I figured out a way to remove the race
      condition while still preserving this behavior.  I've attached a patch
      against 2.5.15 that fixes it.
      3bfae933
  2. 17 May, 2002 20 commits
    • Linus Torvalds's avatar
      Merge bk://bkbits.ras.ucalgary.ca/rgooch-2.5 · fa82a1da
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      fa82a1da
    • Jens Axboe's avatar
      [PATCH] fix scsi oops on failed sg table allocation · 7dbe32be
      Jens Axboe authored
      This patch fixes the deliberate BUG_ON() on failed sgtable allocations.
      I left that in because I was too lazy to fix it at the time...
      
      Basically make scsi_init_io() return 0 on failure (like before) but this
      time allow us to recover. scsi_init_io() will end_request on a fatal
      condition. So now just mark the device/host as starved if needed, and
      leave the request at the front of the queue for next service.
      7dbe32be
    • Hirofumi Ogawa's avatar
      [PATCH] Fixed the handling of file name containing 0x05 on vfat · 76e4b1f8
      Hirofumi Ogawa authored
      This patch fixes the behavior of vfatfs when the file name contains 0x05.
      76e4b1f8
    • Neil Brown's avatar
      [PATCH] Micro Memory battery backed RAM card driver · 76e7b902
      Neil Brown authored
      New driver for Micro Memory NVRAM module
      
      This driver handles up to 16 PCI based NVRAM cards
      from MicroMemory.
      Each card appears like a block device, and can be partitioned
      using any standard partitioning tool.  Upto 15 partitions are
      supported.
      
      This driver needs its own major device number and so allocates
      one using register_blkdev.
      76e7b902
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/net-drivers-2.5 · 096cbcc6
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      096cbcc6
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/irda-2.5 · 760a916d
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      760a916d
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/misc-2.5 · e752b6dd
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      e752b6dd
    • Martin Dalecki's avatar
      [PATCH] 2.5.15 IDE 64 · acff0d93
      Martin Dalecki authored
      Let's just get over with  this before queue handling will be targeted again...
      
      - Implement suggestions by Russell King for improved portability and separation
         between PCI and non PCI host code.
      
      - pdc202xxx updates from Thierry Vignaud.
      
      - Tiny PIO fix from Tomita.
      acff0d93
    • Martin Dalecki's avatar
      [PATCH] 2.5.15 IDE 63 · d7e09f7e
      Martin Dalecki authored
      - Propagate the queue handling changes to pmac as well.
      
      - Move set_transfer to ide-taskfile.c this is the only place where it's used
         and it can be made static there. Same applies to ide_ata66_check().
      
      - Move ide_auto_reduce_xfer to ide.c.
      
      - Make ide_cmd() local to the only place where it's used. Rename it to
         drive_cmd(). Don't pass drive_cmd_intr() as parameter.
      
      - Remove ide_next command completion type. Nobody is using it.
      
      - Move ide_do_drive_cmd to ide-taskfile. It's used there and in sub-drivers.
         Not in ide.c. The usage inside the device type drivers is entirely bogus
         inconsistent and so on...
      
      - Kill bogus IRQ masking code. The kernel is supposed to handle this properly.
         We should not try to work against possible bugs in the overall irq handling
         code. Wow this is increasing the systems overall responsibility by a
         significant margin.
      
      - Remove disfunctional pdcadma code. It is only misleading to the user.
      d7e09f7e
    • Martin Dalecki's avatar
      [PATCH] 2.5.15 IDE 62a · 5ff49f70
      Martin Dalecki authored
      - Streamline device detection reporting to always use ->slot_name.
      
      - Apply 64 bit sector size fixes to the overall code.
      
      - Push ->handler down to the struct ata_channel.
      
      - Introduce channel group based locking instead of a single global lock for all
         operations. There are still some places where we have preserved the ide_lock.
         We can't lock for queues during device probe and we protect global data
         structures during device registration and unregistration in ide.c with it.
      
      - Start replacement of serialized access to the registers of
         channels which share them with proper host chip driver specific locking.
         This affects the following host chip drivers:
      
         cmd640.c, rz1000, ... ?
      
         Seems some are setting the serialize flag just in case. So better let's do it
         gradually over time.
      
         Well, I still have to think whatever we really need to put channels sharing
         an IRQ line in the same locking group.
      
         From now on the sick concept of a hw group is gone now. We have full blown
         per channel request queues! Hopefully I will be able soon to get my hands on
         a dual Athlon machine to check how this all behaves on a multi SMP machine.
      
      - Move the whole SUPPORT_VLB_SYNC stuff to the only place where it is used: the
         pdc4030 host chip driver.  Eliminate it from the global driver part.
      
      - Eliminate pseudo portability macros from pdc4030. This is a host chip firmly
         based on VLB.
      5ff49f70
    • Martin Dalecki's avatar
      [PATCH] 2.5.15 IDE 61 · 938f5b72
      Martin Dalecki authored
      - Fix typo in pdc202xx driver.
      
      - Fix locking order in ioctl.
      
      - Fix wrong time_after usage introduced in 60. Maybe the fact I always get is
         wrong is related to the fact that I'm using the mouse with the left hand!?
      
      - Apply arch-clean-2 by Bartlomiej Zolnierkiewicz.
      
      - Don't disable interrupts during ide_wait_stat(). I see no reason too.
      
      - Push flags down from hwgroup to the ata_chaannel structure.
      
      - Apply small fixes from Franz Sirl to make AEC6280 working properly again.
      938f5b72
    • Robert Love's avatar
      [PATCH] clean up maximum priorities · 33f18d46
      Robert Love authored
      This patch further cleans up and separates the code in an effort to
      allow setting (a) a larger maximum real-time priority than default and
      (b) a maximum kernel RT priority that is separate than the maximum
      priority exported to user-space.
      33f18d46
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · 38b60834
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      38b60834
    • Linus Torvalds's avatar
      Update kernel version · 0820be61
      Linus Torvalds authored
      0820be61
    • Linus Torvalds's avatar
      Cleanup munmap a lot. Fix Intel P4 TLB corruptions on SMP. · 5200ffe8
      Linus Torvalds authored
      Special thanks to Intel for support and traces.
      5200ffe8
    • Kai Germaschewski's avatar
      Fix a typo in drivers/pcmcia/Makefile · 582a8606
      Kai Germaschewski authored
      582a8606
    • Greg Kroah-Hartman's avatar
      [PATCH] USB - Host controller Config.in changes · ca65e31f
      Greg Kroah-Hartman authored
      - Commented out the usb-ohci driver.  This is part of the migration away from
        this driver, to the ohci-hcd driver.
      - Prevented the two UHCI_HCD drivers from both being compiled into the kernel
        at the same time.
      ca65e31f
    • Greg Kroah-Hartman's avatar
      [PATCH] USB - fix a compiler warning in the core code · 34cfabe1
      Greg Kroah-Hartman authored
      This removes a compiler warning due to my previous patch.
      34cfabe1
    • Greg Kroah-Hartman's avatar
      USB Config.in and Makefile fixups · 5b9eff91
      Greg Kroah-Hartman authored
      fixed up the Config.in and Makefile merge due to there being 2 uhci-hcd drivers added at once.
      5b9eff91
    • Georg Acher's avatar
      [PATCH] USB-UHCI-HCD · a96a4b53
      Georg Acher authored
      After maturing for more than a month, I decided that it's enough...
      So here's the patch for the HCD-version of usb-uhci, I called it
      usb-uhci-hcd. For me, the usual devices work (TM).
      
      Since the internals haven't changed much, I don't expect much difference to
      usb-uhci in functionality and performance.
      
      There is one major improvement: I've added a (preliminary) watchdog, that
      regularly checks whether UHCI interrupts are coming through. If they are
      "missing", ie. the HC halted without saying so, the HC is "re-animated" by a
      real and clean restart, which is (internally) equivalent to a module-reload.
      This is especially for VIA-chips which get comatose quite easily by babble
      or other incorrect transfers.
      
      The side effect is, of course, disconnects for all connected devices, but
      they re-appear after a few seconds and were dead before anyway. So keyboard
      and mouse work again, which is IMO a _very_ useful thing :-)
      
      Another point: The watchdog (currently with moderate 8 interrupts/s) detects
      IRQ-problems, so the misleading "device doesn't accept new device"-message
      is replaced by an immediate error.
      
      More comments and the separation into multiple files (I've taken ohci-hcd as
      an example) should make the code more concise...
      
      A few things are still on the todo-list and will come later:
      - A few watchdog modifications (fewer interrupts, better diagnostics)
      - Support for module "tune"-parameters for breadth/depth search, debug etc.
      - interval support for ISO
      - More SMP-tests
      - maybe changes for reference counting when it is clear what survives :-)
      a96a4b53
  3. 16 May, 2002 2 commits