1. 15 Sep, 2016 1 commit
  2. 14 Sep, 2016 3 commits
    • Greg Kroah-Hartman's avatar
      Merge tag 'usb-for-v4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next · 81522637
      Greg Kroah-Hartman authored
      Felipe writes:
      
      usb: patches for v4.9 merge window
      
      This time around we have 92 non-merge commits. Most
      of the changes are in drivers/usb/gadget (40.3%)
      with drivers/usb/gadget/function being the most
      active directory (27.2%).
      
      As for UDC drivers, only dwc3 (26.5%) and dwc2
      (12.7%) have really been active.
      
      The most important changes for dwc3 are better
      support for scatterlist and, again, throughput
      improvements. While on dwc2 got some minor stability
      fixes related to soft reset and FIFO usage.
      
      Felipe Tonello has done some good work fixing up our
      f_midi gadget and Tal Shorer has implemented a nice
      API change for our ULPI bus.
      
      Apart from these, we have our usual set of
      non-critical fixes, spelling fixes, build warning
      fixes, etc.
      81522637
    • Andreas Kemnade's avatar
      phy-twl4030-usb: initialize charging-related stuff via pm_runtime · b78ea84a
      Andreas Kemnade authored
      twl4030_phy_power_on() initializes some bits which are required for
      charging. As they are not set in twl4030_usb_runtime_resume()
      a call to pm_runtime_get_sync() is not sufficient to enable charging.
      
      This patch moves the initialization to twl4030_usb_runtime_resume()
      so everything needed for charging is initialized upon
      pm_runtime_get_sync().
      
      That also gives improved possibilities to debug problems in that area
      because the relevant parts can be checked separately. Charging can be
      enabled without having the musb subsystem active.
      
      As a side effect this hides some bugs in musb which causes
      unbalanced calls to phy_power_off()/phy_power_on() so that
      phy->power_count becomes -1.
      
      The result is that e.g. the GTA04 phone (dm3730 + twl4030) works
      finally as a usb gadget again and charging is working.
      Signed-off-by: default avatarAndreas Kemnade <andreas@kemnade.info>
      Acked-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
      b78ea84a
    • Andreas Kemnade's avatar
      phy-twl4030-usb: better handle musb_mailbox() failure · 78489c7c
      Andreas Kemnade authored
      setting twl->linkstat = MUSB_UNKNOWN upon error in musb_mailbox as
      introduced in
      commit 12b7db2b ("usb: musb: Return error value from musb_mailbox")
      causes twl4030_usb_irq() to not detect a state change form cable connected
      to cable disconnected after such an error so that
      pm_runtime_put_autosuspend() will not be called and the usage counter
      gets unbalanced. Such errors happen e.g. if the omap2430 module is not
      (yet) loaded during plug/unplug events.
      
      This patch introduces a flag instead that indicates whether there is
      information for the musb_mailbox pending and calls musb_mailbox() if
      that flag is set.
      Signed-off-by: default avatarAndreas Kemnade <andreas@kemnade.info>
      Tested-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
      78489c7c
  3. 13 Sep, 2016 27 commits
  4. 12 Sep, 2016 5 commits
  5. 11 Sep, 2016 3 commits
    • Linus Torvalds's avatar
      nvme: make NVME_RDMA depend on BLOCK · bd0b841f
      Linus Torvalds authored
      Commit aa719874 ("nvme: fabrics drivers don't need the nvme-pci
      driver") removed the dependency on BLK_DEV_NVME, but the cdoe does
      depend on the block layer (which used to be an implicit dependency
      through BLK_DEV_NVME).
      
      Otherwise you get various errors from the kbuild test robot random
      config testing when that happens to hit a configuration with BLOCK
      device support disabled.
      
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Jay Freyensee <james_p_freyensee@linux.intel.com>
      Cc: Sagi Grimberg <sagi@grimberg.me>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      bd0b841f
    • Linus Torvalds's avatar
      Merge tag 'staging-4.8-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 2afe669a
      Linus Torvalds authored
      Pull IIO fixes from Greg KH:
       "Here are a few small IIO fixes for 4.8-rc6.
      
        Nothing major, full details are in the shortlog, all of these have
        been in linux-next with no reported issues"
      
      * tag 'staging-4.8-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        iio:core: fix IIO_VAL_FRACTIONAL sign handling
        iio: ensure ret is initialized to zero before entering do loop
        iio: accel: kxsd9: Fix scaling bug
        iio: accel: bmc150: reset chip at init time
        iio: fix pressure data output unit in hid-sensor-attributes
        tools:iio:iio_generic_buffer: fix trigger-less mode
      2afe669a
    • Linus Torvalds's avatar
      Merge tag 'usb-4.8-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 61c3dae6
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB gadget, phy, and xhci fixes for 4.8-rc6.
      
        All of these resolve minor issues that have been reported, and all
        have been in linux-next with no reported issues"
      
      * tag 'usb-4.8-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        usb: chipidea: udc: fix NULL ptr dereference in isr_setup_status_phase
        xhci: fix null pointer dereference in stop command timeout function
        usb: dwc3: pci: fix build warning on !PM_SLEEP
        usb: gadget: prevent potenial null pointer dereference on skb->len
        usb: renesas_usbhs: fix clearing the {BRDY,BEMP}STS condition
        usb: phy: phy-generic: Check clk_prepare_enable() error
        usb: gadget: udc: renesas-usb3: clear VBOUT bit in DRD_CON
        Revert "usb: dwc3: gadget: always decrement by 1"
      61c3dae6
  6. 10 Sep, 2016 1 commit
    • Linus Torvalds's avatar
      Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · 98ac9a60
      Linus Torvalds authored
      Pull libnvdimm fixes from Dan Williams:
       "nvdimm fixes for v4.8, two of them are tagged for -stable:
      
         - Fix devm_memremap_pages() to use track_pfn_insert().  Otherwise,
           DAX pmd mappings end up with an uncached pgprot, and unusable
           performance for the device-dax interface.  The device-dax interface
           appeared in 4.7 so this is tagged for -stable.
      
         - Fix a couple VM_BUG_ON() checks in the show_smaps() path to
           understand DAX pmd entries.  This fix is tagged for -stable.
      
         - Fix a mis-merge of the nfit machine-check handler to flip the
           polarity of an if() to match the final version of the patch that
           Vishal sent for 4.8-rc1.  Without this the nfit machine check
           handler never detects / inserts new 'badblocks' entries which
           applications use to identify lost portions of files.
      
         - For test purposes, fix the nvdimm_clear_poison() path to operate on
           legacy / simulated nvdimm memory ranges.  Without this fix a test
           can set badblocks, but never clear them on these ranges.
      
         - Fix the range checking done by dax_dev_pmd_fault().  This is not
           tagged for -stable since this problem is mitigated by specifying
           aligned resources at device-dax setup time.
      
        These patches have appeared in a next release over the past week.  The
        recent rebase you can see in the timestamps was to drop an invalid fix
        as identified by the updated device-dax unit tests [1].  The -mm
        touches have an ack from Andrew"
      
      [1]: "[ndctl PATCH 0/3] device-dax test for recent kernel bugs"
         https://lists.01.org/pipermail/linux-nvdimm/2016-September/006855.html
      
      * 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        libnvdimm: allow legacy (e820) pmem region to clear bad blocks
        nfit, mce: Fix SPA matching logic in MCE handler
        mm: fix cache mode of dax pmd mappings
        mm: fix show_smap() for zone_device-pmd ranges
        dax: fix mapping size check
      98ac9a60