1. 23 8月, 2007 12 次提交
  2. 22 8月, 2007 21 次提交
  3. 21 8月, 2007 7 次提交
    • D
      [SPARC32]: Revert f642b263. · efb89630
      David S. Miller 提交于
      This causes boot failures for some people.
      It looks like in fact that some SILO provided
      ramdisk images should not be KERNBASE normalized.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      efb89630
    • D
      [SPARC64]: Need to clobber global reg vars in switch_to(). · 195f7fd0
      David S. Miller 提交于
      Otherwise the compiler can't see the things like the
      per-cpu area base register are changing.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      195f7fd0
    • L
      Revert "USB: EHCI cpufreq fix" · 8eb891fc
      Linus Torvalds 提交于
      This reverts commit 196705c9.  It was
      reported to cause a regression by Daniel Exner, and Arjan van de Ven
      points out that we actually already have infrastructure in place for
      setting limits on acceptable DMA latency that would be the much more
      correct fix for the problem with some Broadcom EHCI controllers.
      
      Fixed up trivial conflicts due to the changes to support big-endian host
      controller descriptors in drivers/usb/host/{ehci-sched.c,ehci.h}.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8eb891fc
    • Z
      dio: zero struct dio with kzalloc instead of manually · 848c4dd5
      Zach Brown 提交于
      This patch uses kzalloc to zero all of struct dio rather than manually
      trying to track which fields we rely on being zero.  It passed aio+dio
      stress testing and some bug regression testing on ext3.
      
      This patch was introduced by Linus in the conversation that lead up to
      Badari's minimal fix to manually zero .map_bh.b_state in commit:
      
        6a648fa7
      
      It makes the code a bit smaller.  Maybe a couple fewer cachelines to
      load, if we're lucky:
      
         text    data     bss     dec     hex filename
      3285925  568506 1304616 5159047  4eb887 vmlinux
      3285797  568506 1304616 5158919  4eb807 vmlinux.patched
      
      I was unable to measure a stable difference in the number of cpu cycles
      spent in blockdev_direct_IO() when pushing aio+dio 256K reads at
      ~340MB/s.
      
      So the resulting intent of the patch isn't a performance gain but to
      avoid exposing ourselves to the risk of finding another field like
      .map_bh.b_state where we rely on zeroing but don't enforce it in the
      code.
      Signed-off-by: NZach Brown <zach.brown@oracle.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      848c4dd5
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 · 38f061c5
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
        ide-disk: workaround for buggy HPA support on ST340823A (take 3)
        hpt34x: fix CONFIG_HPT34X_AUTODMA=n handling
        triflex: add missing ->dma_base check
        pdc202xx_old: add missing ->dma_base check
        pdc202xx_new: add missing ->dma_base check
        cs5530: add missing ->dma_base check
        ide: ide_config_drive_speed() bugfixes
        ide: add cable detection for early UDMA66 devices (take 3)
        ide-pmac: fix drive->init_speed reporting
        ide: config_drive_for_dma() fixes
        ide-cris: fix ->set_pio_mode method to set transfer mode on the device
        ide: fix hidden dependencies on CONFIG_IDE_GENERIC
        ide: make CONFIG_IDE_GENERIC default to N
      38f061c5
    • L
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb · 09d4b9aa
      Linus Torvalds 提交于
      * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb:
        V4L/DVB (6028): Turn an unnecessary mdelay() into msleep().
        V4L/DVB (6027): Get rid of an ill-behaved msleep in i2c write
        V4L/DVB (6026): Avoid powering up the camera on resume
        V4L/DVB (6016): get_dvb_firmware: update script for new location of tda10046 firmware
        V4L/DVB (5991): dvb-pll: Set minimum and maximum frequency properly
        V4L/DVB (5969): ivtv: report ivtv version in status log
        V4L/DVB (5967): ivtv: fix VIDIOC_S_FBUF:new OSD values where never set
        V4L/DVB (5968): videodev2.h: remove superfluous FBUF GLOBAL_INV_ALPHA support
      09d4b9aa
    • D
      JFFS2 locking regression fix. · b5748643
      David Woodhouse 提交于
      Commit a491486a introduced a locking
      problem in JFFS2 -- we up() the alloc_sem when we weren't previously
      holding it. This leads to all kinds of fun behaviour later.
      
      There was a _reason_ for the
      	if (1 /* alternative path needs testing */ ||
      which the above-mentioned commit removed :)
      
      Discovered and debugged by Giulio Fedel <giulio.fedel@andorsystems.com>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b5748643