1. 26 Feb, 2010 7 commits
    • Sebastian Ott's avatar
      [S390] cio: wait for channel report · b4563e89
      Sebastian Ott authored
      To fetch a pending channel report word (crw) we use a kernel
      thread which triggers stcrw and sleeps on a semaphore. The s390
      machine check handler uses crw_handle_channel_report to handle
      one crw if needed.
      
      This patch replaces the semaphore with a waitqueue (to block the
      kernel thread) and an atomic_t (to count the number of pending
      requests).
      
      By this we achieve the ability to force this thread to check for
      a pending crw (independent on when it is triggered by the machine
      check handler) and wait for this action to finish.
      Signed-off-by: default avatarSebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      b4563e89
    • Sebastian Ott's avatar
      [S390] cio: introduce cio_settle · 879acca5
      Sebastian Ott authored
      This patch introduces a proc file cio_settle. A write request to
      this file is blocked until all queued cio actions are handled.
      
      This will allow userspace to wait for pending work affecting
      device availability after changing cio_ignore or the hardware
      configuration.
      Signed-off-by: default avatarSebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      879acca5
    • Sebastian Ott's avatar
      [S390] cio: consolidate workqueues · be5d3823
      Sebastian Ott authored
      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: default avatarSebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      be5d3823
    • Ursula Braun's avatar
      [S390] adapt text to cu3088-removal · 6f5d09a0
      Ursula Braun authored
      cu3088 layer for lcs and ctcm has been removed. Thus the reference
      to cu3088 in this text is to be removed as well.
      Signed-off-by: default avatarUrsula Braun <ursula.braun@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      6f5d09a0
    • Heiko Carstens's avatar
      [S390] uaccess: implement strict user copy checks · 1dcec254
      Heiko Carstens authored
      Same as on x86 and sparc, besides the fact that enabling the option
      will just emit compile time warnings instead of errors.
      Keeps allyesconfig kernels compiling.
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      1dcec254
    • Linus Torvalds's avatar
      Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 · 68c6b859
      Linus Torvalds authored
      * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (48 commits)
        x86/PCI: Prevent mmconfig memory corruption
        ACPI: Use GPE reference counting to support shared GPEs
        x86/PCI: use host bridge _CRS info by default on 2008 and newer machines
        PCI: augment bus resource table with a list
        PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs
        PCI: read bridge windows before filling in subtractive decode resources
        PCI: split up pci_read_bridge_bases()
        PCIe PME: use pci_pcie_cap()
        PCI PM: Run-time callbacks for PCI bus type
        PCIe PME: use pci_is_pcie()
        PCI / ACPI / PM: Platform support for PCI PME wake-up
        ACPI / ACPICA: Multiple system notify handlers per device
        ACPI / PM: Add more run-time wake-up fields
        ACPI: Use GPE reference counting to support shared GPEs
        PCI PM: Make it possible to force using INTx for PCIe PME signaling
        PCI PM: PCIe PME root port service driver
        PCI PM: Add function for checking PME status of devices
        PCI: mark is_pcie obsolete
        PCI: set PCI_PREF_RANGE_TYPE_64 in pci_bridge_check_ranges
        PCI: pciehp: second try to get big range for pcie devices
        ...
      68c6b859
    • Linus Torvalds's avatar
      Lower USB storage settling delay to something more reasonable · a4a47bc0
      Linus Torvalds authored
      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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a4a47bc0
  2. 25 Feb, 2010 12 commits
  3. 24 Feb, 2010 21 commits