1. 08 Jan, 2003 10 commits
    • Gerd Knorr's avatar
      [PATCH] saa7134 driver update · 6f2f7e21
      Gerd Knorr authored
      This updates the saa7134 driver.  It adds support for a few more cards
      and includes adaptions to the video-buf.c changes sent earlier.
      6f2f7e21
    • Gerd Knorr's avatar
      [PATCH] i2c update for tuner.c · f26843fa
      Gerd Knorr authored
      This has some i2c adaptions and cleanups for the tv card tuner module.
      f26843fa
    • Gerd Knorr's avatar
      [PATCH] media/video i2c updates · 8af53d35
      Gerd Knorr authored
      This updates a bunch of i2c modules in drivers/media/video.  Most of it
      are adaptions to the recent i2c changes in the kernel.  While being at
      it I also did some other cleanups like deleting unused+dead code, using
      name-based initialization for some not-yet converted structs, ...
      
      The also has a few small fixes here and there, but no major functional
      changes.
      8af53d35
    • Gerd Knorr's avatar
      [PATCH] add bt832 module · 16793fc5
      Gerd Knorr authored
      This adds a driver module for the bt832 chip.  It is needed by the bttv
      driver to support the Pixelview Digital Camera.  The bt832 is connected
      using the GPIO pins of the bt878 chip.
      16793fc5
    • Gerd Knorr's avatar
      [PATCH] update bttv documentation · fc670cc3
      Gerd Knorr authored
      fc670cc3
    • Gerd Knorr's avatar
      [PATCH] bttv driver update. · e6cc6e2e
      Gerd Knorr authored
      This updates the bttv driver.  Changes:
      
       * adaptions to the video-buf changes send in a previous mail.
       * adaptions to recent i2c changes in the kernel.
       * first code bits the pixelview digital camera support (not
         working yet).
       * lots of small fixes/changes for specific TV cards.
      e6cc6e2e
    • Gerd Knorr's avatar
      [PATCH] add v4l1-compat module. · 3019e9c0
      Gerd Knorr authored
      This adds the v4l1-compat module.  This is a module which can translate
      most (old) v4l1 ioctls into the new v4l2 API.  This makes it easier for
      v4l2 drivers to present both old v4l and new v4l2 APIs to video4linux
      applications.  The saa7134 driver uses this for example.
      3019e9c0
    • Gerd Knorr's avatar
      [PATCH] video-buf.c update · 7b44ca8b
      Gerd Knorr authored
      This updates the video-buf helper module.  It changes the field handling
      a bit and adds code do deal better with alternating field capture (=
      capture even and odd fields to separate video buffers).
      7b44ca8b
    • Gerd Knorr's avatar
      [PATCH] add tda9887 module · 60e4b5d3
      Gerd Knorr authored
      This adds the tda9887 i2c module to the linux kernel.  This one is
      needed for some TV cards.  It also adds the missing #define to
      audiochip.h which currently breaks the bttv build.
      60e4b5d3
    • Linus Torvalds's avatar
      Merge bk://ppc.bkbits.net/for-linus-ppc · b6cb7ebe
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      b6cb7ebe
  2. 09 Jan, 2003 5 commits
  3. 08 Jan, 2003 25 commits
    • Paul Mackerras's avatar
      Merge samba.org:/home/paulus/kernel/linux-2.5 · 423a9d4f
      Paul Mackerras authored
      into samba.org:/home/paulus/kernel/for-linus-ppc
      423a9d4f
    • Paul Mackerras's avatar
      Merge bk://68.0.152.218/linux-2.5-misc · 8b93924a
      Paul Mackerras authored
      into samba.org:/home/paulus/kernel/for-linus-ppc
      8b93924a
    • Paul Mackerras's avatar
      Merge samba.org:/home/paulus/kernel/linux-2.5 · be5828b4
      Paul Mackerras authored
      into samba.org:/home/paulus/kernel/for-linus-ppc
      be5828b4
    • Paul Mackerras's avatar
      Merge samba.org:/home/paulus/kernel/linux-2.5 · f50e2c2f
      Paul Mackerras authored
      into samba.org:/home/paulus/kernel/for-linus-ppc
      f50e2c2f
    • Stephen Rothwell's avatar
      [PATCH] {get,put}_compat_timspec: s390x · 7f4b5468
      Stephen Rothwell authored
      Here is the s390x part of the compat_timespec changes.
      7f4b5468
    • Stephen Rothwell's avatar
      [PATCH] {get,put}_compat_timspec: generic · 9766c964
      Stephen Rothwell authored
      Andi Kleen asked for these two, so here they are.  This is the generic
      part of creating compat functions for timespec get/put.
      9766c964
    • Trond Myklebust's avatar
      [PATCH] Cleanup for SunRPC auth code · 4b7761b4
      Trond Myklebust authored
      Converts the RPC client auth code to use 'list_head' rather than a
      custom pointer scheme.
      
      Fixes a (relatively harmless) race which could cause several cred
      entries to be created for the same user.
      4b7761b4
    • Trond Myklebust's avatar
      [PATCH] allow arbitrary alignment of NFS read/write requests · 0c5bb195
      Trond Myklebust authored
      Patch by Chuck Lever to add a new field called wb_pgbase to the
      nfs_page struct. This separates the concept of file page offset from
      buffer page offset, allowing NFS to specify read and write requests
      into buffers at offsets that are independent of the file page
      offset. It is a prequisite for direct I/O in NFS.
      0c5bb195
    • Trond Myklebust's avatar
      [PATCH] Fix NFS 'off by one' bug · 8701dd18
      Trond Myklebust authored
       This fixes a bug that was found using the Stanford checker.
      8701dd18
    • Joe Thornber's avatar
      [PATCH] dm: Remove redundant error checking · 51fe403a
      Joe Thornber authored
      bio_alloc() shouldn't fail if GFP_NOIO is used, and the bvec count is
      sensible.  So remove redundant error checking.
      51fe403a
    • Joe Thornber's avatar
      [PATCH] dm: Export dm_table_get_mode() · 0dc1f7c9
      Joe Thornber authored
      Export dm_table_get_mode()
      0dc1f7c9
    • Joe Thornber's avatar
      [PATCH] dm: Simplify error->map · 2a94489d
      Joe Thornber authored
      Just return an error from the error targets map function, rather than
      erroring the buffer_head.
      2a94489d
    • Joe Thornber's avatar
      [PATCH] dm: printk tgt->error if dm_table_add_target() fails. · 1006c21b
      Joe Thornber authored
      printk tgt->error if dm_table_add_target() fails.
      1006c21b
    • Joe Thornber's avatar
      [PATCH] dm: Remove explicit returns from void fns (fluff) · 20bf21d4
      Joe Thornber authored
      Remove explicit return at the end of a couple of void functions.
      20bf21d4
    • Joe Thornber's avatar
      [PATCH] dm: Call dm_put_target_type() *after* calling the destructor · dd98ae15
      Joe Thornber authored
      Call dm_put_target_type() *after* calling the destructor.
      dd98ae15
    • Joe Thornber's avatar
      [PATCH] dm: rwlock_t -> rw_semaphore (fluff) · adce4649
      Joe Thornber authored
      Use a rw_semaphore in dm_target.c rather than a rwlock_t, just to keep
      in line with dm.c
      adce4649
    • Joe Thornber's avatar
      [PATCH] dm: Correct target_type reference counting · 659a1d12
      Joe Thornber authored
      ti->use was only getting incremented the first time a target type was
      retrieved (bug introduced by recent hch patch).
      659a1d12
    • Joe Thornber's avatar
      [PATCH] dm: Correct clone info initialisation · f338ca08
      Joe Thornber authored
      Initialize the clone-info's index to the original bio's index.
      Required to properly handle stacking DM devices. [Kevin Corry]
      f338ca08
    • Joe Thornber's avatar
      [PATCH] dm: Don't let the ioctl interface drop a suspended device · d7002d66
      Joe Thornber authored
      Don't let the ioctl interface drop a suspended device.
      d7002d66
    • Andrew Morton's avatar
      [PATCH] Reduced wakeup rate in direct-io code · a10edc31
      Andrew Morton authored
      We don't need to wake up the synchronous waiter for every BIO
      completion - just for the final BIO.
      
      This reduces the context switch rate of a 180 megabyte/sec read from
      3500/sec to 2200/sec when performing 1400 128k I/Os per second, so it
      more than halves the overhead.
      a10edc31
    • Andrew Morton's avatar
      [PATCH] AIO support for raw/O_DIRECT · c22c8389
      Andrew Morton authored
      Patch from Badari Pulavarty <pbadari@us.ibm.com> and myself.
      
      This patch adds AIO support for direct-IO - O_DIRECT files, O_DIRECT
      blockdevs and /dev/raw/rawN.
      
      Also, the controlling `struct dio' is now always kmalloced, saving ~400 bytes
      of stack.
      
      The best tool for testing AIO/DIO is the modified fsx-linux in ext3 CVS.
      See http://www.zip.com.au/~akpm/linux/ext3/ for details.  For example:
      
      	fsx-linux -Z -A -R -W -r 512 -w 4096 foo
      
      Running many instances of this against ext3 currently fails with incorrect
      file data; some bug in the new ext3 O_DIRECT support.  ext2 is OK though.
      c22c8389
    • Andrew Morton's avatar
      [PATCH] bio dirtying infrastructure · 511d2652
      Andrew Morton authored
      In two cases (AIO-for-direct-IO and some CDROM DMA stuff which Jens
      did), we need to run set_page_dirty() in interrupt context.  After DMA
      hardware has altered userspace pages for direct-IO reads.
      
      But mapping->page_lock, mapping->private_lock and inode_lock are not
      irq-safe.  And really, we don't want to convert those locks just for this
      problem.
      
      So what we do is to dirty the pages *before* starting I/O.  Then, in
      interrupt completion context, check to see that they are still dirty.
      If so then there is nothing to do.  But if the pages were cleaned while
      the direct-IO is in progress we need to redirty them.  The code uses
      schedule_work() for that.
      
      Of course, we could use schedule_work() for all BIOs and pages.  The
      speculative dirty-before-starting-IO is just an optimisation.  It's
      quite unlikely that any of the pages will be cleaned during the direct
      IO.
      
      
      This code is basically untestable under normal circumstances, because the
      relevant pages are pinned via get_user_pages().  This makes
      is_page_cache_freeable() evaluate false and the VM doesn't try to write them
      out anyway.  But if the pages happen to be MAP_SHARED file pages, pdflush
      could clean them.  The way I tested this code was to disable the call to
      bio_set_pages_dirty() in fs/direct-io.c.
      511d2652
    • Andrew Morton's avatar
      [PATCH] AIO support for raw/O_DIRECT · 08e6749e
      Andrew Morton authored
      Patch from Badari Pulavarty <pbadari@us.ibm.com> and myself
      
      This patch adds the infrastructure for performing asynchronous (AIO) blockdev
      direct-IO.
      
      - Adds generic_file_aio_write_nolock() and make other
        generic_file_*_write() to use it.
      
      - Modify generic_file_direct_IO() and ->direct_IO() functions to take
        "kiocb *" instead of "file *".
      
      - Renames generic_direct_IO() to blockdev_direct_IO().
      
      - Move generic_file_direct_IO() to mm/filemap.c (it is not
        blockdev-specific, whereas the rest of fs/direct-io.c is).
      
      - Add AIO read/write support to the raw driver.
      08e6749e
    • Andrew Morton's avatar
      [PATCH] return the correct thing from direct-io · a6d61b6b
      Andrew Morton authored
      If direct-io encounters an error, it currently returns that error even if it
      performed some I/O.
      
      Change it so that if there is an error and we read or wrote something, return
      the number of bytes written/read.  Only return the error code if zero bytes
      were written/read.
      a6d61b6b
    • Andrew Morton's avatar
      [PATCH] AIO exit fix · 90c4bb05
      Andrew Morton authored
      We need to run exit_aio() when the final user of the mm goes away, else lots
      of things leak.
      
      Also remove a printk which comes out when this change is made.
      
      This patch was acked by bcrl.
      90c4bb05