1. 07 Feb, 2014 3 commits
    • Hans de Goede's avatar
      ehci-platform: Add support for clks and phy passed through devicetree · a4aeb211
      Hans de Goede authored
      Currently ehci-platform is only used in combination with devicetree when used
      with some Via socs. By extending it to (optionally) get clks and a phy from
      devicetree, and enabling / disabling those on power_on / off, it can be used
      more generically. Specifically after this commit it can be used for the
      ehci controller on Allwinner sunxi SoCs.
      
      Since ehci-platform is intended to handle any generic enough non pci ehci
      device, add a "usb-ehci" compatibility string.
      
      There already is a usb-ehci device-tree bindings document, update this
      with clks and phy bindings info.
      
      Although actually quite generic so far the via,vt8500 compatibilty string
      had its own bindings document. Somehow we even ended up with 2 of them. Since
      these provide no extra information over the generic usb-ehci documentation,
      this patch removes them.
      
      The ehci-ppc-of.c driver also claims the usb-ehci compatibility string,
      even though it mostly is ibm,usb-ehci-440epx specific. ehci-platform.c is
      not needed on ppc platforms, so add a !PPC_OF dependency to it to avoid
      2 drivers claiming the same compatibility string getting build on ppc.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a4aeb211
    • Hans de Goede's avatar
      ohci-platform: Add support for devicetree instantiation · ca52a17b
      Hans de Goede authored
      Add support for ohci-platform instantiation from devicetree, including
      optionally getting clks and a phy from devicetree, and enabling / disabling
      those on power_on / off.
      
      This should allow using ohci-platform from devicetree in various cases.
      Specifically after this commit it can be used for the ohci controller found
      on Allwinner sunxi SoCs.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ca52a17b
    • Bjørn Mork's avatar
      usb: core: let dynamic ids override static ids · 31c6bf70
      Bjørn Mork authored
      This modifies the probing order so that any matching
      dynamic entry always will be used, even if the driver
      has a matching static entry.
      
      It is sometimes useful to dynamically update existing
      device entries. With the new ability to set the dynamic
      entry driver_info field, this can be used to test new
      additions to class driver exception lists or proposed
      changes to existing static per-device driver_info
      entries.
      Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      31c6bf70
  2. 04 Feb, 2014 10 commits
  3. 03 Feb, 2014 4 commits
    • Linus Torvalds's avatar
      Linus 3.14-rc1 · 38dbfb59
      Linus Torvalds authored
      38dbfb59
    • Linus Torvalds's avatar
      Merge branch 'parisc-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 69048e01
      Linus Torvalds authored
      Pull parisc updates from Helge Deller:
       "The three major changes in this patchset is a implementation for
        flexible userspace memory maps, cache-flushing fixes (again), and a
        long-discussed ABI change to make EWOULDBLOCK the same value as
        EAGAIN.
      
        parisc has been the only platform where we had EWOULDBLOCK != EAGAIN
        to keep HP-UX compatibility.  Since we will probably never implement
        full HP-UX support, we prefer to drop this compatibility to make it
        easier for us with Linux userspace programs which mostly never checked
        for both values.  We don't expect major fall-outs because of this
        change, and if we face some, we will simply rebuild the necessary
        applications in the debian archives"
      
      * 'parisc-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: add flexible mmap memory layout support
        parisc: Make EWOULDBLOCK be equal to EAGAIN on parisc
        parisc: convert uapi/asm/stat.h to use native types only
        parisc: wire up sched_setattr and sched_getattr
        parisc: fix cache-flushing
        parisc/sti_console: prefer Linux fonts over built-in ROM fonts
      69048e01
    • Mikulas Patocka's avatar
      hpfs: optimize quad buffer loading · 1c0b8a7a
      Mikulas Patocka authored
      HPFS needs to load 4 consecutive 512-byte sectors when accessing the
      directory nodes or bitmaps.  We can't switch to 2048-byte block size
      because files are allocated in the units of 512-byte sectors.
      
      Previously, the driver would allocate a 2048-byte area using kmalloc,
      copy the data from four buffers to this area and eventually copy them
      back if they were modified.
      
      In the current implementation of the buffer cache, buffers are allocated
      in the pagecache.  That means that 4 consecutive 512-byte buffers are
      stored in consecutive areas in the kernel address space.  So, we don't
      need to allocate extra memory and copy the content of the buffers there.
      
      This patch optimizes the code to avoid copying the buffers.  It checks
      if the four buffers are stored in contiguous memory - if they are not,
      it falls back to allocating a 2048-byte area and copying data there.
      Signed-off-by: default avatarMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1c0b8a7a
    • Mikulas Patocka's avatar
      hpfs: remember free space · 2cbe5c76
      Mikulas Patocka authored
      Previously, hpfs scanned all bitmaps each time the user asked for free
      space using statfs.  This patch changes it so that hpfs scans the
      bitmaps only once, remembes the free space and on next invocation of
      statfs it returns the value instantly.
      
      New versions of wine are hammering on the statfs syscall very heavily,
      making some games unplayable when they're stored on hpfs, with load
      times in minutes.
      
      This should be backported to the stable kernels because it fixes
      user-visible problem (excessive level load times in wine).
      Signed-off-by: default avatarMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2cbe5c76
  4. 02 Feb, 2014 12 commits
  5. 01 Feb, 2014 11 commits