1. 14 May, 2008 36 commits
  2. 13 May, 2008 4 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 · 9604006d
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
        [SCSI] qla1280: Fix queue depth problem
        [SCSI] aha152x: Fix oops on module removal
        [SCSI] aha152x: fix init suspiciously returned 1, it should follow 0/-E convention
        [SCSI] libiscsi regression in 2.6.25: fix setting of recv timer
        [SCSI] libiscsi regression in 2.6.25: fix nop timer handling
        [SCSI] gdth: fix Error: Driver 'gdth' is already registered, aborting...
        [SCSI] gdth: fix timer handling
      9604006d
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 · 25c55d97
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
        ACPI/PCI: another multiple _OSC memory leak fix
        x86/PCI: X86_PAT & mprotect
        PCI: enable nv_msi_ht_cap_quirk for ALi bridges
        PCI: Make the intel-iommu_wait_op macro work when jiffies are not running
        ACPI/PCI: handle multiple _OSC
        ACPI/PCI: handle multiple _OSC
        x86/PCI: fix broken ISA DMA
        PCI ACPI: fix uninitialized variable in __pci_osc_support_set
      25c55d97
    • Jeremy Higdon's avatar
      [SCSI] qla1280: Fix queue depth problem · af5741c6
      Jeremy Higdon authored
      The qla1280 driver was ANDing the output value of mailbox register
      0 with (1 << target-number) to determine whether to enable queueing
      on the target in question.
      
      But mailbox register 0 has the status code for the mailbox command
      (in this case, Set Target Parameters).  Potential values are:
      /*
       * ISP mailbox command complete status codes
       */
      
      So clearly that is in error.  I can't think what the author of that
      line was looking for in a mailbox register, so I just eliminated the
      AND.  flag is used later in the function, and I think that the later
      usage was also wrong, though it was used to set values that aren't
      used.  Oh well, an overhaul of this driver is not what I want to do
      now -- just a bugfix.
      
      After the fix, I found that my disks were getting a queue depth of
      255, which is far too many.  Most SCSI disks are limited to 32 or
      64.  In any case, there's no point, queueing up a bunch of commands
      to the adapter that will just result in queue full or starve other
      targets from being issued commands due to running out of internal
      memory.  So I dropped default queue depth to 32 (from which 1 is
      subtracted elsewhere, giving net of 31).
      
      I tested with a Seagate ST336753LC, and results look good, so
      I'm satisfied with this patch.
      Signed-off-by: default avatarJeremy Higdon <jeremy@sgi.com>
      Acked-by: default avatarJes Sorensen <jes@sgi.com>
      Cc: Stable Tree <stable@kernel.org>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
      af5741c6
    • Kenji Kaneshige's avatar
      ACPI/PCI: another multiple _OSC memory leak fix · c4e5fadd
      Kenji Kaneshige authored
      The acpi_query_osc() function can be called for the ACPI object that
      doesn't have _OSC method. In this case, acpi_get_osc_data() would
      allocate a useless memory region. To avoid this, we need to check the
      existence of _OSC before calling acpi_get_osc_data() in acpi_query_osc().
      Signed-off-by: default avatarKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
      Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
      c4e5fadd