1. 15 Feb, 2016 18 commits
    • Vegard Nossum's avatar
      usb: add HAS_IOMEM dependency to USB_SL811_HCD · cfa33eae
      Vegard Nossum authored
        CC      drivers/usb/host/xhci-mtk.o
      drivers/usb/host/xhci-mtk.c:135:12: warning: ‘xhci_mtk_host_disable’ defined but not used [-Wunused-function]
       static int xhci_mtk_host_disable(struct xhci_hcd_mtk *mtk)
                  ^
      drivers/usb/host/xhci-mtk.c:313:13: warning: ‘usb_wakeup_enable’ defined but not used [-Wunused-function]
       static void usb_wakeup_enable(struct xhci_hcd_mtk *mtk)
                   ^
      drivers/usb/host/xhci-mtk.c:321:13: warning: ‘usb_wakeup_disable’ defined but not used [-Wunused-function]
       static void usb_wakeup_disable(struct xhci_hcd_mtk *mtk)
                   ^
        CC      drivers/usb/host/sl811-hcd.o
      drivers/usb/host/sl811-hcd.c: In function ‘sl811h_remove’:
      drivers/usb/host/sl811-hcd.c:1607:3: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
         iounmap(sl811->data_reg);
         ^
      drivers/usb/host/sl811-hcd.c: In function ‘sl811h_probe’:
      drivers/usb/host/sl811-hcd.c:1669:3: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]
         addr_reg = ioremap(addr->start, 1);
         ^
      drivers/usb/host/sl811-hcd.c:1669:12: warning: assignment makes pointer from integer without a cast [enabled by default]
         addr_reg = ioremap(addr->start, 1);
                  ^
      drivers/usb/host/sl811-hcd.c:1675:12: warning: assignment makes pointer from integer without a cast [enabled by default]
         data_reg = ioremap(data->start, 1);
                  ^
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      cfa33eae
    • Vegard Nossum's avatar
      usb: add HAS_IOMEM dependency to USB_C67X00_HCD · 149737a7
      Vegard Nossum authored
        CC      drivers/usb/c67x00/c67x00-drv.o
      drivers/usb/c67x00/c67x00-drv.c: In function ‘c67x00_drv_probe’:
      drivers/usb/c67x00/c67x00-drv.c:148:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]
        c67x00->hpi.base = ioremap(res->start, resource_size(res));
        ^
      drivers/usb/c67x00/c67x00-drv.c:148:19: warning: assignment makes pointer from integer without a cast [enabled by default]
        c67x00->hpi.base = ioremap(res->start, resource_size(res));
                         ^
      drivers/usb/c67x00/c67x00-drv.c:185:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
        iounmap(c67x00->hpi.base);
        ^
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      149737a7
    • Vegard Nossum's avatar
      usb: add HAS_IOMEM dependency to USB_MUSB_TUSB6010 · 49f77e3d
      Vegard Nossum authored
        CC      drivers/usb/musb/tusb6010.o
      drivers/usb/musb/tusb6010.c: In function ‘tusb_musb_init’:
      drivers/usb/musb/tusb6010.c:1133:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]
        sync = ioremap(mem->start, resource_size(mem));
        ^
      drivers/usb/musb/tusb6010.c:1133:7: warning: assignment makes pointer from integer without a cast [enabled by default]
        sync = ioremap(mem->start, resource_size(mem));
             ^
      drivers/usb/musb/tusb6010.c:1162:4: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
          iounmap(sync);
          ^
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      49f77e3d
    • Vegard Nossum's avatar
      usb: add HAS_IOMEM dependency to USB_R8A66597_HCD · e37a6c92
      Vegard Nossum authored
        CC      drivers/usb/host/r8a66597-hcd.o
      drivers/usb/host/r8a66597-hcd.c: In function ‘r8a66597_remove’:
      drivers/usb/host/r8a66597-hcd.c:2401:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
        iounmap(r8a66597->reg);
        ^
      drivers/usb/host/r8a66597-hcd.c: In function ‘r8a66597_probe’:
      drivers/usb/host/r8a66597-hcd.c:2447:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]
        reg = ioremap(res->start, resource_size(res));
        ^
      drivers/usb/host/r8a66597-hcd.c:2447:6: warning: assignment makes pointer from integer without a cast [enabled by default]
        reg = ioremap(res->start, resource_size(res));
            ^
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      e37a6c92
    • Vegard Nossum's avatar
      usb: add HAS_IOMEM dependency to USB_XHCI_MVEBU · 828638e9
      Vegard Nossum authored
      drivers/usb/host/xhci-mvebu.c: In function ‘xhci_mvebu_mbus_init_quirk’:
      drivers/usb/host/xhci-mvebu.c:58:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]
        base = ioremap(res->start, resource_size(res));
        ^
      drivers/usb/host/xhci-mvebu.c:58:7: warning: assignment makes pointer from integer without a cast [enabled by default]
        base = ioremap(res->start, resource_size(res));
             ^
      drivers/usb/host/xhci-mvebu.c:69:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
        iounmap(base);
        ^
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
      Acked-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      828638e9
    • Vegard Nossum's avatar
      usb: Add HAS_IOMEM dependency to USB_M66592 · be6708e6
      Vegard Nossum authored
      drivers/usb/gadget/udc/m66592-udc.c: In function ‘m66592_remove’:
      drivers/usb/gadget/udc/m66592-udc.c:1538:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
        iounmap(m66592->reg);
        ^
      drivers/usb/gadget/udc/m66592-udc.c: In function ‘m66592_probe’:
      drivers/usb/gadget/udc/m66592-udc.c:1577:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]
        reg = ioremap(res->start, resource_size(res));
        ^
      drivers/usb/gadget/udc/m66592-udc.c:1577:6: warning: assignment makes pointer from integer without a cast [enabled by default]
        reg = ioremap(res->start, resource_size(res));
            ^
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      be6708e6
    • Vegard Nossum's avatar
      usb: add HAS_IOMEM dependency to USB_NET2272 · 7562b75b
      Vegard Nossum authored
      drivers/usb/gadget/udc/net2272.c: In function ‘net2272_remove’:
      drivers/usb/gadget/udc/net2272.c:2232:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
        iounmap(dev->base_addr);
        ^
      drivers/usb/gadget/udc/net2272.c: In function ‘net2272_plat_probe’:
      drivers/usb/gadget/udc/net2272.c:2650:2: error: implicit declaration of function ‘ioremap_nocache’ [-Werror=implicit-function-declaration]
        dev->base_addr = ioremap_nocache(base, len);
        ^
      drivers/usb/gadget/udc/net2272.c:2650:17: warning: assignment makes pointer from integer without a cast [enabled by default]
        dev->base_addr = ioremap_nocache(base, len);
                       ^
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7562b75b
    • Vegard Nossum's avatar
      usb: add HAS_IOMEM dependency to USB_ISP116X_HCD · ca23d3b7
      Vegard Nossum authored
      drivers/usb/host/isp116x-hcd.c: In function ‘isp116x_remove’:
      drivers/usb/host/isp116x-hcd.c:1552:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
        iounmap(isp116x->data_reg);
        ^
      drivers/usb/host/isp116x-hcd.c: In function ‘isp116x_probe’:
      drivers/usb/host/isp116x-hcd.c:1604:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]
        addr_reg = ioremap(addr->start, resource_size(addr));
        ^
      drivers/usb/host/isp116x-hcd.c:1604:11: warning: assignment makes pointer from integer without a cast [enabled by default]
        addr_reg = ioremap(addr->start, resource_size(addr));
                 ^
      drivers/usb/host/isp116x-hcd.c:1613:11: warning: assignment makes pointer from integer without a cast [enabled by default]
        data_reg = ioremap(data->start, resource_size(data));
                 ^
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ca23d3b7
    • Robert Jarzmik's avatar
      usb: host: ohci-pxa27x: propagate the irq error code · c3853d5a
      Robert Jarzmik authored
      In several drivers in the pxa architecture, it was found that the
      platform_get_irq() was not propagated. This breaks the the device-tree
      probe deferral path, if -EPROBE_DEFER is returned. Unfortunately, the
      error return in this case is transformed into -ENXIO, breaking the
      deferral mechanism.
      
      Even if in this specific case the driver was not broken, because the
      interrupt controller is always probed before drivers, propagate the
      proper return code.
      Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c3853d5a
    • Oliver Neukum's avatar
      cdc-acm: implement put_char() and flush_chars() · a81cf979
      Oliver Neukum authored
      This should cut down latencies and waste if the tty layer writes single bytes.
      
      Signed-off-by: Oliver Neukum >oneukum@suse.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a81cf979
    • Oliver Neukum's avatar
      cdc-acm: fix mail address · ca1c3e6f
      Oliver Neukum authored
      This updates my email.
      Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ca1c3e6f
    • Mathias Nyman's avatar
      xhci: Support extended burst isoc TRB structure used by xhci 1.1 for USB 3.1 · 2f6d3b65
      Mathias Nyman authored
      The transfer burst count (TBC) field in the Isoc TRB does not fit the new
      larger burst count available for USB 3.1 SSP Isoc tranfers.
      xhci 1.1 solved this by reusing the TD size field for transfer burst count.
      The Mult field was outgrown as well. xhci 1.1  controllers can calculate
      Mult itself and is not set if the new layout is used.
      
      xhci 1.1 controllers that support the new Isoc TRB format expose a
      Extended TBC Capability (ETC). To take the new format into use the xhci
      host controller driver needs to set a Extended TBC Enable (ETE) bit.
      Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      2f6d3b65
    • Mathias Nyman's avatar
      xhci: cleanup isoc tranfers queuing code · 09c352ed
      Mathias Nyman authored
      Clean up xhci_queue_isoc_tx() and helpers to prepare them for USB 3.1 and
      xhci 1.1 isoc TRB changes.
      
      Only functional change is adding xhci version 1.1 to the BEI flag check
      toghether with xhci version 1.0. Both versions behave the same.
      Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      09c352ed
    • Mathias Nyman's avatar
      xhci: Add SuperSpeedPlus high bandwidth isoc support to xhci endpoints · 8ef8a9f5
      Mathias Nyman authored
      SuperSpeedPlus doubled the number of transactions per service interval
      the isoc endpoints supports.
      
      To support this, xhci 1.1 added Large ESIT Capability (LEC), which
      takes into use new bits in the endpoint context to fit the parameters.
      
      If xhci supports LEC, and the device has a SuperSpeedPlus Isoc companion
      descriptor then take into use the high bits of max esit payload, and
      skip calculating the Mult field as it wouldn't fit. LEC capable
      host will calculate the Mult based on other paramenters.
      Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8ef8a9f5
    • Mathias Nyman's avatar
      xhci: refactor and cleanup endpoint initialization. · def4e6f7
      Mathias Nyman authored
      xhci_endpoint_init() and helper functions were a bit messy.
      Adding the higher bandwidth SuperSpeedPlus Isoc support on
      top of it would make it even harder to read.
      
      No functional changes.
      Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      def4e6f7
    • Mathias Nyman's avatar
      usb: Add USB 3.1 Precision time measurement capability descriptor support · faee822c
      Mathias Nyman authored
      USB 3.1 devices that support precision time measurement have an
      additional PTM cabaility descriptor as part of the full BOS descriptor
      
      Look for this descriptor while parsing the BOS descriptor, and store it in
      struct usb_hub_bos if it exists.
      Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      faee822c
    • Mathias Nyman's avatar
      usb: Parse the new USB 3.1 SuperSpeedPlus Isoc endpoint companion descriptor · b37d83a6
      Mathias Nyman authored
      USB 3.1 devices can return a new SuperSpeedPlus isoc endpoint companion
      descriptor for a isochronous endpoint that requires more than 48K bytes
      per Service Interval.
      
      The new descriptor immediately follows the old USB 3.0 SuperSpeed Endpoint
      Companion and will provide a new BytesPerInterval value.
      
      It is parsed and stored in struct usb_host_endpoint with the other endpoint
      related descriptors, and should be used by USB3.1 capable hosts to reserve
      bus time in the schedule.
      Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b37d83a6
    • Mathias Nyman's avatar
      usb: Add USB3.1 SuperSpeedPlus Isoc Endpoint Companion descriptor · c8b1d897
      Mathias Nyman authored
      USB3.1 specifies a SuperSpeedPlus Isoc endpoint companion descriptor
      which is returned as part of the devices complete configuration
      descriptor.
      
      It contains number of bytes per service interval which is needed when
      reserving bus time in the schedule for transfers over 48K bytes per
      service interval.
      
      If bmAttributes bit 7 is set in the old SuperSpeed Endpoint Companion
      descriptor, it will be ollowed by the new SuperSpeedPlus Isoc Endpoint
      Companion descriptor.
      Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c8b1d897
  2. 14 Feb, 2016 16 commits
  3. 13 Feb, 2016 4 commits
  4. 12 Feb, 2016 2 commits
    • Linus Torvalds's avatar
      Merge tag 'pci-v4.5-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 0cbb0b92
      Linus Torvalds authored
      Pull PCI fixes from Bjorn Helgaas:
       "These are some Renesas binding updates for PCI host controllers, a
        Broadcom fix for a regression we added in v4.5-rc1, and a fix for an
        AER use-after-free problem that can cause memory corruption.
      
        Summary:
      
        AER:
          Flush workqueue on device remove to avoid use-after-free (Sebastian Andrzej Siewior)
      
        Broadcom iProc host bridge driver:
          Allow multiple devices except on PAXC (Ray Jui)
      
        Renesas R-Car host bridge driver:
          Add gen2 device tree support for r8a7793 (Simon Horman)
          Add device tree support for r8a7793 (Simon Horman)"
      
      * tag 'pci-v4.5-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        PCI: rcar: Add device tree support for r8a7793
        PCI: rcar: Add gen2 device tree support for r8a7793
        PCI: iproc: Allow multiple devices except on PAXC
        PCI/AER: Flush workqueue on device remove to avoid use-after-free
      0cbb0b92
    • Linus Torvalds's avatar
      Merge branch 'akpm'(patches from Andrew) · 29f1bf34
      Linus Torvalds authored
      Merge fixes from Andrew Morton:
       "10 fixes"
      
      The lockdep hlist conversion is in the locking tree too, waiting for the
      next merge window.  Andrew thought it should go in now.  I'll take it,
      since it fixes a real problem and looks trivially correct (famous last
      words).
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>:
        arch/x86/Kconfig: CONFIG_X86_UV should depend on CONFIG_EFI
        mm: fix pfn_t vs highmem
        kernel/locking/lockdep.c: convert hash tables to hlists
        mm,thp: fix spellos in describing __HAVE_ARCH_FLUSH_PMD_TLB_RANGE
        mm,thp: khugepaged: call pte flush at the time of collapse
        mm/backing-dev.c: fix error path in wb_init()
        mm, dax: check for pmd_none() after split_huge_pmd()
        vsprintf: kptr_restrict is okay in IRQ when 2
        mm: fix filemap.c kernel doc warning
        ubsan: cosmetic fix to Kconfig text
      29f1bf34