1. 19 Apr, 2007 4 commits
  2. 18 Apr, 2007 1 commit
  3. 16 Apr, 2007 1 commit
  4. 11 Apr, 2007 13 commits
  5. 06 Apr, 2007 1 commit
  6. 05 Apr, 2007 12 commits
  7. 04 Apr, 2007 8 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 · 8d00647f
      Linus Torvalds authored
      * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
        [S390] cio: Fix handling of interrupt for csch().
        [S390] page_mkclean data corruption.
      8d00647f
    • Eric W. Biederman's avatar
      [PATCH] net: Ignore sysfs network device rename bugs. · 92749821
      Eric W. Biederman authored
      The generic networking code ensures that no two networking devices
      have the same name, so  there is no time except when sysfs has
      implementation bugs that device_rename when called from
      dev_change_name will fail.
      
      The current error handling for errors from device_rename in
      dev_change_name is wrong and results in an unusable and unrecoverable
      network device if device_rename is happens to return an error.
      
      This patch removes the buggy error handling.  Which confines the mess
      when device_rename hits a problem to sysfs, instead of propagating it
      the rest of the network stack.  Making linux a little more robust.
      
      Without this patch you can observe what happens when sysfs has a bug
      when CONFIG_SYSFS_DEPRECATED is not set and you attempt to rename
      a real network device to a name like (broken_parity_status, device,
      modalias, power, resource2, subsystem_vendor, class,  driver, irq,
      msi_bus, resource, subsystem, uevent, config, enable, local_cpus,
      numa_node, resource0, subsystem_device, vendor)
      
      Greg has a patch that fixes the sysfs bugs but he doesn't trust it
      for a 2.6.21 timeframe.  This patch which just ignores errors should
      be safe and it keeps the system from going completely wacky.
      Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      92749821
    • David Howells's avatar
      [PATCH] SLAB: Mention slab name when listing corrupt objects · e94a40c5
      David Howells authored
      Mention the slab name when listing corrupt objects.  Although the function
      that released the memory is mentioned, that is frequently ambiguous as such
      functions often release several pieces of memory.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e94a40c5
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev · bb4899db
      Linus Torvalds authored
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
        libata: Limit ATAPI DMA to R/W commands only for TORiSAN DVD drives (take 3)
        libata: Limit max sector to 128 for TORiSAN DVD drives (take 3)
        libata: Clear tf before doing request sense (take 3)
        libata: reorder HSM_ST_FIRST for easier decoding (take 3)
        libata bugfix: preserve LBA bit for HDIO_DRIVE_TASK
        2.6.21 fix lba48 bug in libata fill_result_tf()
      bb4899db
    • Robert Hancock's avatar
      [PATCH] libata: add NCQ blacklist entries from Silicon Image Windows driver (v2) · 36e337d0
      Robert Hancock authored
      This adds some NCQ blacklist entries taken from the Silicon Image 3124/3132
      Windows driver .inf files. There are some confirming reports of problems
      with these drives under Linux (for example http://lkml.org/lkml/2007/3/4/178)
      so let's disable NCQ on these drives.
      
       [ I'm personally starting to wonder whether we shouldn't disable NCQ by
         default, and perhaps have a white-list. There seems to be a *lot* of
         drives that do this wrong..   - Linus ]
      Signed-off-by: default avatarRobert Hancock <hancockr@shaw.ca>
      Acked-by: default avatarTejun Heo <htejun@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      36e337d0
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 · b6d3d16e
      Linus Torvalds authored
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
        r8169: fix suspend/resume for down interface
        r8169: issue request_irq after the private data are completely initialized
        b44: fix IFF_ALLMULTI handling of CAM slots
        cxgb3 - Firwmare update
        cxgb3 - Tighten xgmac workaround
        cxgb3 - detect NIC only adapters
        cxgb3 - Safeguard TCAM size usage
      b6d3d16e
    • Cornelia Huck's avatar
      [S390] cio: Fix handling of interrupt for csch(). · 8c3ce5be
      Cornelia Huck authored
      Wipe internal irb if the clear function bit is set before accumulating
      bits from the irb in order to follow hardware behaviour.
      Signed-off-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      8c3ce5be
    • Martin Schwidefsky's avatar
      [S390] page_mkclean data corruption. · 6e1beb3c
      Martin Schwidefsky authored
      The git commit c2fda5fe which
      added the page_test_and_clear_dirty call to page_mkclean and the
      git commit 7658cc28 which fixes
      the "nasty and subtle race in shared mmap'ed page writeback"
      problem in clear_page_dirty_for_io cause data corruption on s390.
      
      The effect of the two changes is that for every call to
      clear_page_dirty_for_io a page_test_and_clear_dirty is done. If
      the per page dirty bit is set set_page_dirty is called. Strangly
      clear_page_dirty_for_io is called for not-uptodate pages, e.g.
      over this call-chain:
      
       [<000000000007c0f2>] clear_page_dirty_for_io+0x12a/0x130
       [<000000000007c494>] generic_writepages+0x258/0x3e0
       [<000000000007c692>] do_writepages+0x76/0x7c
       [<00000000000c7a26>] __writeback_single_inode+0xba/0x3e4
       [<00000000000c831a>] sync_sb_inodes+0x23e/0x398
       [<00000000000c8802>] writeback_inodes+0x12e/0x140
       [<000000000007b9ee>] wb_kupdate+0xd2/0x178
       [<000000000007cca2>] pdflush+0x162/0x23c
      
      The bad news now is that page_test_and_clear_dirty might claim
      that a not-uptodate page is dirty since SetPageUptodate which
      resets the per page dirty bit has not yet been called. The page
      writeback that follows clobbers the data on disk.
      
      The simplest solution to this problem is to move the call to
      page_test_and_clear_dirty under the "if (page_mapped(page))".
      If a file backed page is mapped it is uptodate.
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      6e1beb3c