1. 27 2月, 2010 2 次提交
    • S
      [S390] cio: consolidate workqueues · be5d3823
      Sebastian Ott 提交于
      We used to maintain 2 singlethreaded workqueues for synchronization
      and to trigger work from interrupt context. Since our latest cio
      changes we only use one of these workqueues. So get rid of the
      unused workqueue, rename the remaining one to "cio_work_q" and move
      its ownership to the channel subsystem driver.
      Signed-off-by: NSebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      be5d3823
    • L
      Lower USB storage settling delay to something more reasonable · a4a47bc0
      Linus Torvalds 提交于
      The five-second delay can be rather annoying, and makes the system
      appear much less responsive when you connect a USB drive.
      
      It's also not entirely clear that it is needed - the settling delay has
      at least historically been an issue on some Apple iPods, for example,
      and some devices have been reported to need even more than the old 5s
      delay.
      
      But before we penalize them all, let's see how bad it really is.  Some
      of the reasons for long delays seem to be actual historical kernel bugs
      that should probably never have been papered over with a delay in the
      first place (there's a Ubuntu bug report for 2.6.20 about a NULL pointer
      dereference unless 'delay_use' is 8 or more, for example).
      
      It also looks like some distros have already shipped with delay_use=0,
      so the five second default may well be totally historical.
      
      In other words: "Let's see if anybody screams".
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a4a47bc0
  2. 25 2月, 2010 2 次提交
    • R
      ahci: disable FPDMA auto-activate optimization on NVIDIA AHCI · 453d3131
      Robert Hancock 提交于
      Mike Cui reported that his system with an NVIDIA MCP79 (aka MCP7A)
      chipset stopped working with 2.6.32. The problem appears to be that
      2.6.32 now enables the FPDMA auto-activate optimization in the ahci
      driver. The drive works fine with this enabled on an Intel AHCI so
      this appears to be a chipset bug.  Since MCP79 is a fairly recent
      NVIDIA chipset and we don't have any info on whether any other NVIDIA
      chipsets have this issue, disable FPDMA AA optimization on all NVIDIA
      AHCI controllers for now.
      
      Should address http://bugzilla.kernel.org/show_bug.cgi?id=14922Signed-off-by: NRobert Hancock <hancockrwd@gmail.com>
      While-we-investigate-issue-this-patch-looks-good-to-me-by: NPrajakta Gudadhe <pgudadhe@nvidia.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      Cc: stable@kernel.org
      453d3131
    • R
      ACPI: Use GPE reference counting to support shared GPEs · cbbc0de7
      Rafael J. Wysocki 提交于
      To fix a bug and address the reviewers' comments regarding the ACPI
      GPE refcounting patch, do the following additional changes:
      
      o Remove the second argument of acpi_ev_enable_gpe(),
        'write_to_hardware', because it is not necessary any more.
      
      o Add the "bad parameter" test against 'type' in
        acpi_enable_gpe() and acpi_disable_gpe().
      
      o Make acpi_enable_gpe() only check 'status' for runtime GPEs if
        acpi_ev_enable_gpe() was actually called.
      
      o Make acpi_disable_gpe() return 'status' returned by
        acpi_ev_disable_gpe() and fix a bug where ACPI_GPE_TYPE_WAKE
        and ACPI_GPE_TYPE_RUNTIME were exchanged by mistake.
      
      o Add comments explaining why acpi_set_gpe() is used by the ACPI EC
        driver.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      cbbc0de7
  3. 24 2月, 2010 36 次提交