1. Dec 09, 2008
    • Alan Cox's avatar
      ata: Fix experimental tags · e3389cbc
      Alan Cox authored
      
      
      Various tags are now way out of date
      
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      e3389cbc
    • Alan Cox's avatar
      pata_ninja32: update ID table · b604958a
      Alan Cox authored
      
      
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      b604958a
    • Alan Cox's avatar
      pata_sis: Remove bogus cable match · e33ba2c6
      Alan Cox authored
      
      
      Some systems report SIS 5513 as both vendor/id and subvendor/id
      string. In that case we can't distinguish the system by the id
      svid/sdid and in fact the entry here breaks some boxes. At some
      point we need to find another way to detect the Targa Visionary 1000,
      until then this trades a hang for some users with lower performance
      for others.
      
      Closes: #12092
      
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      e33ba2c6
    • Jiri Slaby's avatar
      ATA: piix, fix pointer deref on suspend · 9ac62126
      Jiri Slaby authored
      
      
      Hi,
      
      I've found this issue in the mmotm 2008-12-02-17-08.
      
      --
      
      Commit
      ata_piix: add borked Tecra M4 to broken suspend list
      introduced DMI variables checking, but they can be null, so that
      we possibly dereference null.
      
      Check if they are null and avoid checks in that case.
      
      Solves:
      BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
      IP: [<ffffffff8043da97>] piix_pci_device_suspend+0x117/0x230
      
      Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
      Cc: Jeff Garzik <jgarzik@redhat.com>
      Cc: Alexandru Romanescu <a_romanescu@yahoo.co.uk>
      Cc: Tejun Heo <tj@kernel.org>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      9ac62126
    • Tejun Heo's avatar
      pata_hpt366: fix clock detection · 2456eb81
      Tejun Heo authored
      
      
      pata_hpt366 had its clock detection wrong and detected 25Mhz as 40Mhz
      and vice-versa.  Fix it.
      
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      2456eb81
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · f7a8db89
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
        tproxy: fixe a possible read from an invalid location in the socket match
        zd1211rw: use unaligned safe memcmp() in-place of compare_ether_addr()
        mac80211: use unaligned safe memcmp() in-place of compare_ether_addr()
        ipw2200: fix netif_*_queue() removal regression
        iwlwifi: clean key table in iwl_clear_stations_table function
        tcp: tcp_vegas ssthresh bug fix
        can: omit received RTR frames for single ID filter lists
        ATM: CVE-2008-5079: duplicate listen() on socket corrupts the vcc table
        netx-eth: initialize per device spinlock
        tcp: make urg+gso work for real this time
        enc28j60: Fix sporadic packet loss (corrected again)
        hysdn: fix writing outside the field on 64 bits
        b1isa: fix b1isa_exit() to really remove registered capi controllers
        can: Fix CAN_(EFF|RTR)_FLAG handling in can_filter
        Phonet: do not dump addresses from other namespaces
        netlabel: Fix a potential NULL pointer dereference
        bnx2: Add workaround to handle missed MSI.
        xfrm: Fix kernel panic when flush and dump SPD entries
      f7a8db89
    • Linus Torvalds's avatar
      Merge branch 'x86-fixes-for-linus' of... · 6f84b4db
      Linus Torvalds authored
      Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        x86: fix default_spin_lock_flags() prototype
        AMD IOMMU: __unmap_single: check for bad_dma_address instead of 0
        AMD IOMMU: fix WARN_ON in dma_ops unmap path
        AMD IOMMU: fix typo in comment
        AMD IOMMU: fix loop counter in free_pagetable function
        AMD IOMMU: fix iommu_map_page function
      6f84b4db
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 · 7f336bf1
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
        ide: build-fix for CONFIG_BLK_DEV_IDEDMA_PMAC=n
        Revert "ide: respect current DMA setting during resume"
      7f336bf1
    • J. Bruce Fields's avatar
      EXPORTFS: handle NULL returns from fh_to_dentry()/fh_to_parent() · a4f4d6df
      J. Bruce Fields authored
      While 44003728 "[PATCH] switch all filesystems over to
      d_obtain_alias" removed some cases where fh_to_dentry() and
      fh_to_parent() could return NULL, there are still a few NULL returns
      left in individual filesystems.  Thus it was a mistake for that commit
      to remove the handling of NULL returns in the callers.
      
      Revert those parts of 44003728
      
       which removed the NULL handling.
      
      (We could, alternatively, modify all implementations to return -ESTALE
      instead of NULL, but that proves to require fixing a number of
      filesystems, and in some cases it's arguably more natural to return
      NULL.)
      
      Thanks to David for original patch and Linus, Christoph, and Hugh for
      review.
      
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Christoph Hellwig <hch@infradead.org>
      Cc: Hugh Dickins <hugh@veritas.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a4f4d6df
    • Bartlomiej Zolnierkiewicz's avatar
      ide: build-fix for CONFIG_BLK_DEV_IDEDMA_PMAC=n · 53846574
      Bartlomiej Zolnierkiewicz authored
      
      
      IDE pmac host driver build fails with CONFIG_BLK_DEV_IDEDMA_PMAC=n
      as reported by Kamalesh:
      
      > drivers/ide/pmac.c: In function 'pmac_ide_set_pio_mode':
      > drivers/ide/pmac.c:527: error: implicit declaration of function 'kauai_lookup_timing'
      > drivers/ide/pmac.c:527: error: 'shasta_pio_timings' undeclared (first use in this function)
      > drivers/ide/pmac.c:527: error: (Each undeclared identifier is reported only once
      > drivers/ide/pmac.c:527: error: for each function it appears in.)
      > drivers/ide/pmac.c:534: error: 'kauai_pio_timings' undeclared (first use in this function)
      > drivers/ide/pmac.c: In function 'pmac_ide_do_resume':
      > drivers/ide/pmac.c:914: error: 'IDE_WAKEUP_DELAY' undeclared (first use in this function)
      > drivers/ide/pmac.c: At top level:
      > drivers/ide/pmac.c:1007: error: 'pmac_ide_init_dma' undeclared here (not in a function)
      > drivers/ide/pmac.c: In function 'pmac_ide_setup_device':
      > drivers/ide/pmac.c:1107: error: 'IDE_WAKEUP_DELAY' undeclared (first use in this function)
      > drivers/ide/pmac.c: In function 'pmac_ide_macio_attach':
      > drivers/ide/pmac.c:1209: error: 'pmac_ide_hwif_t' has no member named 'dma_regs'
      > drivers/ide/pmac.c:1210: error: 'pmac_ide_hwif_t' has no member named 'dma_regs'
      > make[2]: *** [drivers/ide/pmac.o] Error 1
      
      Fix it by removing the superfluous config option.
      
      Reported-and-tested-by: default avatarKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      53846574
    • Bartlomiej Zolnierkiewicz's avatar
      Revert "ide: respect current DMA setting during resume" · 1a659880
      Bartlomiej Zolnierkiewicz authored
      This reverts commit e9eb8388
      
       since
      it could break resume (thanks to Paul Collins for the report).
      
      I'll look into sorting this out properly for 2.6.29
      but for 2.6.28 it is the best to just revert my patch.
      
      Reported-by: default avatarPaul Collins <paul@burly.ondioline.org>
      Cc: rjw@sisk.pl
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      1a659880
  2. Dec 08, 2008
  3. Dec 06, 2008
  4. Dec 05, 2008