2017-07-03 14:58:53

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [GIT PULL] USB/PHY patches for 4.13-rc1

The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52:

Linux 4.12-rc6 (2017-06-19 22:19:37 +0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.13-rc1

for you to fetch changes up to 6836796de4019944f4ba4c99a360e8250fd2e735:

Add USB quirk for HVR-950q to avoid intermittent device resets (2017-06-29 14:49:06 +0200)

----------------------------------------------------------------
USB/PHY patches for 4.13-rc1

Here is the big patchset of USB and PHY driver updates for 4.13-rc1.

On the PHY side, they decided to move files around to "make things
easier" in their tree. Hopefully that wasn't a mistake, but in
linux-next testing, we haven't had any reported problems.

There's the usual set of gadget and xhci and musb updates in here as
well, along with a number of smaller updates for a raft of different USB
drivers. Full details in the shortlog, nothing really major.

All of these have been in linux-next for a while with no reported
issues.

Signed-off-by: Greg Kroah-Hartman <[email protected]>

----------------------------------------------------------------
Alan Stern (8):
USB: f_mass_storage: improve async notification handling
USB: f_mass_storage: improve memory barriers and synchronization
USB: ene_usb6250: fix first command execution
USB: ene_usb6250: fix SCSI residue overwriting
USB: ene_usb6250: implement REQUEST SENSE
USB: ene_usb6250: remove subroutine duplication
USB: ene_usb6250: turn off the Removable flag
USB: add usbfs ioctl to retrieve the connection speed

Alexandre Bailon (1):
usb: musb: musb_cppi41: Defer probe only if DMA is not ready

Alexandre Belloni (1):
usb: gadget: udc: atmel: Remove unnecessary macros

Andy Shevchenko (4):
extcon: int3496: Switch to devm_acpi_dev_add_driver_gpios()
usb: misc: usbsevseg: Use sysfs_match_string() helper
usb: gadget: udc: atmel: Remove AVR32 bits from the driver
usb: dwc3: gadget: increase readability of dwc3_gadget_init_endpoints()

Arnd Bergmann (1):
phy: cpcap-usb: add MUSB dependency

Arvind Yadav (6):
usb: host: ehci-exynos: Handle return value of clk_prepare_enable
usb: mtu3: Handle return value of clk_prepare_enable
usb: mtu3: Handle return value of clk_prepare_enable
usb: gadget: mv_udc: Handle return value of clk_prepare_enable.
usb: dwc3: exynos: Handle return value of clk_prepare_enable
usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

Badhri Jagan Sridharan (1):
usb: typec: Add a sysfs node to manage port type

Baolin Wang (3):
usb: phy: Introduce one extcon device into usb phy
usb: phy: phy-qcom-8x16-usb: Remove redundant extcon register/unregister
usb: phy: phy-msm-usb: Remove redundant extcon register/unregister

Benjamin Herrenschmidt (2):
usb/uhci: Add support for Aspeed BMC SoCs
usb: Fix typo in the definition of Endpoint[out]Request

Dan Carpenter (1):
usb: gadget: udc-xilinx: clean up a variable name

Devin Heitmueller (1):
Add USB quirk for HVR-950q to avoid intermittent device resets

Eugene Korenevsky (1):
USB hub_probe: rework ugly goto-into-compound-statement

Felipe Balbi (23):
usb: dwc3: gadget: don't WARN about lack of TRBs
usb: dwc3: gadget: lazily map requests for DMA
usb: dwc3: replace %p with %pK
tools: usb: testusb: update default vary for superspeed
usb: dwc3: update documentation
usb: dwc3: debugfs: slightly improve output of trb_ring
usb: dwc3: gadget: slight cleanup to dwc3_process_event_entry()
usb: dwc3: trace: rely on __string() and __assign_str()
usb: dwc3: debug: remove static char buffer from dwc3_decode_event()
usb: dwc3: trace: decode ctrl request
usb: dwc3: add ReST documentation
usb: move ReST documentation to Documentation/driver-api/usb/
phy: tusb1210: add support for TUSB1211
phy: tusb1210: implement ->set_mode()
usb: gadget: core: introduce ->udc_set_speed() method
usb: dwc3: gadget: implement ->udc_set_speed()
usb: gadget: dummy: implement ->udc_set_speed()
usb: gadget: udc: add a 'function' sysfs file
Documentation: ABI: sysfs-class-udc: remove duplicated entry
usb: dwc3: ep0: make sure wValue is 0 on GetStatus()
usb: dwc3: ulpi: conditionally resume ULPI PHY
usb: dwc3: core: initialize ULPI before trying to get the PHY
usb: dwc3: core: program PHY for proper DRD modes

Florian Fainelli (2):
usb: core: Check URB setup_packet and transfer_buffer sanity
usb: udc: core: Error if req->buf is either from vmalloc or stack

Frank Wang (1):
phy: rockchip-inno-usb2: add support of usb2-phy for rk3228 SoCs

Geliang Tang (2):
usb: cdc-wdm: use memdup_user
USB: iowarrior: use memdup_user

Greg Kroah-Hartman (8):
Merge 4.12-rc2 into usb-next
Merge 4.12-rc5 into usb-next
Merge tag 'phy-for-4.13' of git://git.kernel.org/.../kishon/linux-phy into usb-next
Merge 4.12-rc6 into usb-next
Merge tag 'usb-for-v4.13' of git://git.kernel.org/.../balbi/usb into usb-testing
Merge tag 'usb-ci-v4.13-rc1' of git://git.kernel.org/.../peter.chen/usb into usb-next
Merge tag 'extcon-next-for-4.13' of git://git.kernel.org/.../chanwoo/extcon into usb-next
Merge tag 'usb-serial-4.13-rc1' of git://git.kernel.org/.../johan/usb-serial into usb-next

Gustavo A. R. Silva (4):
usb: host: remove unnecessary null check
usb: gadget: udc: add null check before pointer dereference
uwb: i1480: add missing goto
usb: musb: compress return logic into one line

Heikki Krogerus (3):
usb: typec: update partner power delivery support with opmode
usb: typec: Add support for UCSI interface
usb: typec: ucsi: Add ACPI driver

Jeremie Rapin (1):
USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick

Jerry Zhang (2):
usb: gadget: function: f_fs: Let ffs_epfile_ioctl wait for enable.
usb: gadget: function: f_fs: Move epfile waitqueue to ffs_data.

Jisheng Zhang (1):
usb: chipidea: properly handle host or gadget initialization failure

Johan Hovold (9):
USB: core: fix device node leak
USB: of: document reference taken by child-lookup helper
driver core: add helper to reuse a device-tree node
driver core: fix automatic pinctrl management
USB: of: fix root-hub device-tree node handling
thermal: max77620: fix device-node reference imbalance
thermal: max77620: fix pinmux conflict on reprobe
USB: serial: refactor port endpoint setup
USB: serial: propagate late probe errors

John Youn (2):
usb: gadget: composite: Exclude SS Dev Cap Desc
usb: gadget: Allow a non-SuperSpeed gadget to support LPM

Li Jun (1):
usb: gadget: mass_storage: set msg_registered after msg registered

Lu Baolu (1):
usb/early: Remove trace_printk() callers in xhci-dbc

Magnus Lynch (1):
USB: serial: qcserial: expose methods for modem control

Maksim Salau (1):
USB: serial: upd78f0730: make constants static

Mariusz Skamra (1):
usb: Make use of ktime_* comparison functions

Markus Elfring (3):
extcon: Use devm_kcalloc() in extcon_dev_register()
extcon: Fix a typo in three comment lines
extcon: arizona: Use devm_kcalloc() in arizona_extcon_get_micd_configs()

Martin Blumenstingl (4):
dt-bindings: phy: meson-gxl-usb2-phy: Add documentation for the Meson GXL USB2 PHY
phy: meson: add USB2 PHY support for Meson GXL and GXM
dt-bindings: phy: meson8b-usb2-phy: add support for the Meson8 SoCs
phy: meson8b-usb2: add support for the USB PHY on Meson8 SoCs

Masahiro Yamada (1):
usb: mtu3: cleanup with list_first_entry_or_null()

Mathias Nyman (13):
xhci: remove unused stopped_td pointer
usb: optimize acpi companion search for usb port devices
xhci: Find out where an endpoint or stream stopped from its context.
xhci: Add stream id to xhci_dequeue_state structure
xhci: Add helper to get hardware dequeue pointer for stopped rings.
usb: Avoid unnecessary LPM enabling and disabling during suspend and resume
xhci: remove endpoint ring cache
xhci: refactor transfer event errors and completion codes
xhci: Add support for endpoint soft reset
xhci: support calling cleanup_halted_endpoint with soft retry
xhci: handle transfer events without TRB pointer
xhci: cleanup virtual endoint structure, remove stopped_stream
xhci: cleanup finish_td() skip option

Mats Karrman (1):
usb: typec: Don't prevent using constant typec_mode_desc initializers

Mauro Carvalho Chehab (1):
usb: fix the comment with regards to DocBook

Michael Grzeschik (1):
usb: usbip: set buffer pointers to NULL after free

Peter Robinson (1):
extcon: qcom-spmi-misc: add dependency on ARCH_QCOM

Peter Ujfalusi (9):
dmaengine: omap-dma: port_window support correction for both direction
usb: musb: Add quirk to avoid skb reserve in gadget mode
usb: musb: tusb6010: Add MUSB_G_NO_SKB_RESERVE to quirks
usb: musb: tusb6010_omap: Use one musb_ep_select call in tusb_omap_dma_program
usb: musb: tusb6010_omap: Create new struct for DMA data/parameters
usb: musb: tusb6010_omap: Allocate DMA channels upfront
usb: musb: tusb6010: Handle DMA TX completion in DMA callback as well
ARM: OMAP2+: DMA: Add slave map entries for 24xx external request lines
usb: musb: tusb6010_omap: Convert to DMAengine API

Rafał Miłecki (7):
phy: bcm-ns-usb3: always wait for idle after writing to the PHY reg
phy: bcm-ns-usb3: use pointer for PHY writing function
phy: bcm-ns-usb3: enable MDIO in the platform specific code
dt-bindings: phy: Modify Broadcom NS USB 3.0 PHY binding to use MDIO
phy: bcm-ns-usb3: add MDIO driver using proper bus layer
dt-bindings: leds: document new trigger-sources property
usb: core: read USB ports from DT in the usbport LED trigger driver

Raviteja Garimella (7):
dt-bindings: phy: Add DT bindings documentation for NS2 USB DRD PHY
phy: phy-bcm-ns2-usbdrd: Broadcom USB DRD PHY driver for Northstar2
usb: gadget: udc: Rename amd5536udc driver file based on IP
usb: gadget: udc: make debug prints compatible with both pci and platform devices
usb: gadget: udc: Provide correct arguments for 'dma_pool_create'
dt-bindings: usb: DT bindings documentation for Broadcom IPROC USB Device controller.
usb: gadget: udc: Add Synopsys UDC Platform driver

Ruslan Bilovol (5):
usb: gadget: function: f_uac1: implement get_alt()
usb: gadget: f_uac2: remove platform driver/device creation
usb: gadget: f_uac2: split out audio core
usb: gadget: function: make current f_uac1 implementation legacy
usb: gadget: add f_uac1 variant based on a new u_audio api

Sekhar Nori (1):
usb: gadget: f_uac2: calculate wMaxPacketSize before endpoint match

Srinath Mannam (3):
dt-bindings: Update documentation for stingray SATA phy
phy: Add stingray SATA phy support
usb: gadget: bdc: 64-bit pointer capability check

Stefan Agner (3):
usb: gadget: remove redundant self assignment
usb: gadget: configfs: make qw_sign attribute symmetric
usb: gadget: configfs: use hexadecimal values and new line

Tony Lindgren (5):
usb: host: ohci-platform: Add basic runtime PM support
usb: host: ohci-platform: Add support for omap3 and later
usb: host: ohci-omap3: Remove driver in favor of ohci-platform
phy: cpcap-usb: Add CPCAP PMIC USB support
phy: cpcap-usb: Fix missing return statement

Vivek Gautam (3):
phy: qcom-usb: Remove unused ulpi phy header
phy: Move ULPI phy header out of drivers to include path
phy: Group vendor specific phy drivers

William Wu (4):
usb: dwc3: add disable u2mac linestate check quirk
phy: rockchip-inno-usb2: add a delay after phy resume
phy: rockchip-inno-usb2: increase otg sm work first schedule time
phy: rockchip-inno-usb2: add one phy comprises with two host-ports support

Yoshihiro Shimoda (2):
phy: rcar-gen3-usb3: add support for R-Car Gen3 USB 3.0 PHY
usb: gadget: udc: renesas_usb3: add support for dedicated DMAC

Yuyang Du (14):
usb: usbip tool: Check the return of get_nports()
usb: usbip tool: Add ncontrollers in vhci_driver structure
usb: usbip tool: Fix refresh_imported_device_list()
usb: usbip tool: Fix parse_status()
usbip: vhci-hcd: Rename function names to reflect their struct names
usbip: vhci-hcd: Add vhci struct
usbip: vhci-hcd: Move VHCI platform device into vhci struct
usbip: vhci-hcd: Rework vhci_hcd_init
usbip: vhci-hcd: Set the vhci structure up to work
usbip: vhci-hcd: Add USB3 SuperSpeed support
usbip: Add USB_SPEED_SUPER as valid arg
usbip: vhci-hcd: Add USB3 port status bits
usbip: vhci-hcd: Clean up the code by adding a new macro
usbip: Fix uninitialized variable bug in vhci

Documentation/ABI/stable/sysfs-class-udc | 16 +-
Documentation/ABI/testing/configfs-usb-gadget-uac1 | 18 +-
.../ABI/testing/configfs-usb-gadget-uac1_legacy | 12 +
Documentation/ABI/testing/sysfs-class-typec | 15 +
Documentation/devicetree/bindings/leds/common.txt | 35 +-
.../devicetree/bindings/phy/bcm-ns-usb3-phy.txt | 27 +-
.../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 +
.../devicetree/bindings/phy/brcm-sata-phy.txt | 7 +-
.../devicetree/bindings/phy/meson-gxl-usb2-phy.txt | 17 +
.../devicetree/bindings/phy/meson8b-usb2-phy.txt | 3 +-
.../devicetree/bindings/phy/phy-cpcap-usb.txt | 40 +
.../bindings/phy/phy-rockchip-inno-usb2.txt | 1 +
.../devicetree/bindings/phy/rcar-gen3-phy-usb3.txt | 46 +
Documentation/devicetree/bindings/usb/dwc3.txt | 2 +
.../devicetree/bindings/usb/iproc-udc.txt | 21 +
Documentation/devicetree/bindings/usb/usb-ohci.txt | 1 +
Documentation/driver-api/usb/dwc3.rst | 712 ++++++++++++++
Documentation/driver-api/usb/index.rst | 3 +
Documentation/{ => driver-api}/usb/typec.rst | 0
.../{ => driver-api}/usb/usb3-debug-port.rst | 0
Documentation/usb/gadget-testing.txt | 53 +-
MAINTAINERS | 20 +-
arch/arm/mach-omap2/dma.c | 24 +
drivers/base/core.c | 16 +
drivers/base/pinctrl.c | 3 +
drivers/dma/omap-dma.c | 39 +-
drivers/extcon/Kconfig | 1 +
drivers/extcon/extcon-arizona.c | 4 +-
drivers/extcon/extcon-intel-int3496.c | 5 +-
drivers/extcon/extcon.c | 11 +-
drivers/phy/Kconfig | 492 +---------
drivers/phy/Makefile | 71 +-
drivers/phy/allwinner/Kconfig | 31 +
drivers/phy/allwinner/Makefile | 2 +
drivers/phy/{ => allwinner}/phy-sun4i-usb.c | 0
drivers/phy/{ => allwinner}/phy-sun9i-usb.c | 0
drivers/phy/amlogic/Kconfig | 27 +
drivers/phy/amlogic/Makefile | 2 +
drivers/phy/amlogic/phy-meson-gxl-usb2.c | 273 ++++++
drivers/phy/{ => amlogic}/phy-meson8b-usb2.c | 5 +-
drivers/phy/broadcom/Kconfig | 69 ++
drivers/phy/broadcom/Makefile | 7 +
drivers/phy/{ => broadcom}/phy-bcm-cygnus-pcie.c | 0
drivers/phy/{ => broadcom}/phy-bcm-kona-usb2.c | 0
drivers/phy/{ => broadcom}/phy-bcm-ns-usb2.c | 0
drivers/phy/{ => broadcom}/phy-bcm-ns-usb3.c | 230 +++--
drivers/phy/{ => broadcom}/phy-bcm-ns2-pcie.c | 0
drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c | 437 +++++++++
drivers/phy/{ => broadcom}/phy-brcm-sata.c | 73 ++
drivers/phy/hisilicon/Kconfig | 20 +
drivers/phy/hisilicon/Makefile | 2 +
drivers/phy/{ => hisilicon}/phy-hi6220-usb.c | 0
drivers/phy/{ => hisilicon}/phy-hix5hd2-sata.c | 0
drivers/phy/marvell/Kconfig | 50 +
drivers/phy/marvell/Makefile | 6 +
drivers/phy/{ => marvell}/phy-armada375-usb2.c | 0
drivers/phy/{ => marvell}/phy-berlin-sata.c | 0
drivers/phy/{ => marvell}/phy-berlin-usb.c | 0
drivers/phy/{ => marvell}/phy-mvebu-sata.c | 0
drivers/phy/{ => marvell}/phy-pxa-28nm-hsic.c | 0
drivers/phy/{ => marvell}/phy-pxa-28nm-usb2.c | 0
drivers/phy/motorola/Kconfig | 12 +
drivers/phy/motorola/Makefile | 5 +
drivers/phy/motorola/phy-cpcap-usb.c | 676 +++++++++++++
drivers/phy/qualcomm/Kconfig | 58 ++
drivers/phy/qualcomm/Makefile | 9 +
drivers/phy/{ => qualcomm}/phy-qcom-apq8064-sata.c | 0
drivers/phy/{ => qualcomm}/phy-qcom-ipq806x-sata.c | 0
drivers/phy/{ => qualcomm}/phy-qcom-qmp.c | 0
drivers/phy/{ => qualcomm}/phy-qcom-qusb2.c | 0
drivers/phy/{ => qualcomm}/phy-qcom-ufs-i.h | 0
drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-14nm.c | 0
drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-14nm.h | 0
drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-20nm.c | 0
drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-20nm.h | 0
drivers/phy/{ => qualcomm}/phy-qcom-ufs.c | 0
drivers/phy/{ => qualcomm}/phy-qcom-usb-hs.c | 3 +-
drivers/phy/{ => qualcomm}/phy-qcom-usb-hsic.c | 3 +-
drivers/phy/renesas/Kconfig | 24 +
drivers/phy/renesas/Makefile | 3 +
drivers/phy/{ => renesas}/phy-rcar-gen2.c | 0
drivers/phy/{ => renesas}/phy-rcar-gen3-usb2.c | 0
drivers/phy/renesas/phy-rcar-gen3-usb3.c | 226 +++++
drivers/phy/rockchip/Kconfig | 51 +
drivers/phy/rockchip/Makefile | 6 +
drivers/phy/{ => rockchip}/phy-rockchip-dp.c | 0
drivers/phy/{ => rockchip}/phy-rockchip-emmc.c | 0
.../phy/{ => rockchip}/phy-rockchip-inno-usb2.c | 74 +-
drivers/phy/{ => rockchip}/phy-rockchip-pcie.c | 0
drivers/phy/{ => rockchip}/phy-rockchip-typec.c | 0
drivers/phy/{ => rockchip}/phy-rockchip-usb.c | 0
drivers/phy/samsung/Kconfig | 95 ++
drivers/phy/samsung/Makefile | 11 +
drivers/phy/{ => samsung}/phy-exynos-dp-video.c | 0
drivers/phy/{ => samsung}/phy-exynos-mipi-video.c | 0
drivers/phy/{ => samsung}/phy-exynos-pcie.c | 0
drivers/phy/{ => samsung}/phy-exynos4210-usb2.c | 0
drivers/phy/{ => samsung}/phy-exynos4x12-usb2.c | 0
drivers/phy/{ => samsung}/phy-exynos5-usbdrd.c | 0
drivers/phy/{ => samsung}/phy-exynos5250-sata.c | 0
drivers/phy/{ => samsung}/phy-exynos5250-usb2.c | 0
drivers/phy/{ => samsung}/phy-s5pv210-usb2.c | 0
drivers/phy/{ => samsung}/phy-samsung-usb2.c | 0
drivers/phy/{ => samsung}/phy-samsung-usb2.h | 0
drivers/phy/st/Kconfig | 33 +
drivers/phy/st/Makefile | 4 +
drivers/phy/{ => st}/phy-miphy28lp.c | 0
drivers/phy/{ => st}/phy-spear1310-miphy.c | 0
drivers/phy/{ => st}/phy-spear1340-miphy.c | 0
drivers/phy/{ => st}/phy-stih407-usb.c | 0
drivers/phy/ti/Kconfig | 78 ++
drivers/phy/ti/Makefile | 7 +
drivers/phy/{ => ti}/phy-da8xx-usb.c | 0
drivers/phy/{ => ti}/phy-dm816x-usb.c | 0
drivers/phy/{ => ti}/phy-omap-control.c | 0
drivers/phy/{ => ti}/phy-omap-usb2.c | 0
drivers/phy/{ => ti}/phy-ti-pipe3.c | 0
drivers/phy/{ => ti}/phy-tusb1210.c | 41 +-
drivers/phy/{ => ti}/phy-twl4030-usb.c | 0
drivers/thermal/max77620_thermal.c | 8 +-
drivers/usb/chipidea/core.c | 29 +-
drivers/usb/chipidea/otg_fsm.c | 8 +-
drivers/usb/class/cdc-wdm.c | 17 +-
drivers/usb/core/devio.c | 3 +
drivers/usb/core/hcd.c | 14 +-
drivers/usb/core/hub.c | 51 +-
drivers/usb/core/ledtrig-usbport.c | 56 ++
drivers/usb/core/of.c | 3 +-
drivers/usb/core/quirks.c | 4 +
drivers/usb/core/usb-acpi.c | 26 +-
drivers/usb/core/usb.c | 2 +
drivers/usb/dwc3/core.c | 57 +-
drivers/usb/dwc3/core.h | 48 +-
drivers/usb/dwc3/debug.h | 247 ++++-
drivers/usb/dwc3/debugfs.c | 9 +-
drivers/usb/dwc3/dwc3-exynos.c | 13 +-
drivers/usb/dwc3/dwc3-st.c | 2 +-
drivers/usb/dwc3/ep0.c | 8 +-
drivers/usb/dwc3/gadget.c | 299 +++---
drivers/usb/dwc3/gadget.h | 22 +-
drivers/usb/dwc3/trace.h | 28 +-
drivers/usb/dwc3/ulpi.c | 12 +
drivers/usb/early/xhci-dbc.c | 1 -
drivers/usb/gadget/Kconfig | 31 +-
drivers/usb/gadget/composite.c | 59 +-
drivers/usb/gadget/configfs.c | 14 +-
drivers/usb/gadget/function/Makefile | 5 +-
drivers/usb/gadget/function/f_fs.c | 110 ++-
drivers/usb/gadget/function/f_mass_storage.c | 430 ++++-----
drivers/usb/gadget/function/f_uac1.c | 896 +++++++----------
drivers/usb/gadget/function/f_uac1_legacy.c | 1021 ++++++++++++++++++++
drivers/usb/gadget/function/f_uac2.c | 807 ++--------------
drivers/usb/gadget/function/storage_common.h | 18 +-
drivers/usb/gadget/function/u_audio.c | 662 +++++++++++++
drivers/usb/gadget/function/u_audio.h | 95 ++
drivers/usb/gadget/function/u_fs.h | 3 +
drivers/usb/gadget/function/u_uac1.h | 87 +-
.../gadget/function/{u_uac1.c => u_uac1_legacy.c} | 7 +-
drivers/usb/gadget/function/u_uac1_legacy.h | 82 ++
drivers/usb/gadget/legacy/Kconfig | 15 +-
drivers/usb/gadget/legacy/audio.c | 55 +-
drivers/usb/gadget/legacy/mass_storage.c | 8 +-
drivers/usb/gadget/udc/Kconfig | 18 +-
drivers/usb/gadget/udc/Makefile | 3 +-
drivers/usb/gadget/udc/amd5536udc.h | 18 +-
drivers/usb/gadget/udc/amd5536udc_pci.c | 1 +
drivers/usb/gadget/udc/atmel_usba_udc.c | 4 +-
drivers/usb/gadget/udc/atmel_usba_udc.h | 27 +-
drivers/usb/gadget/udc/bdc/bdc_core.c | 2 +-
drivers/usb/gadget/udc/core.c | 46 +-
drivers/usb/gadget/udc/dummy_hcd.c | 39 +-
drivers/usb/gadget/udc/mv_udc_core.c | 9 +-
drivers/usb/gadget/udc/net2280.c | 5 +-
drivers/usb/gadget/udc/renesas_usb3.c | 392 ++++++++
.../gadget/udc/{amd5536udc.c => snps_udc_core.c} | 80 +-
drivers/usb/gadget/udc/snps_udc_plat.c | 344 +++++++
drivers/usb/gadget/udc/udc-xilinx.c | 2 +-
drivers/usb/host/Kconfig | 12 +-
drivers/usb/host/Makefile | 1 -
drivers/usb/host/ehci-exynos.c | 4 +-
drivers/usb/host/ehci-sched.c | 2 +-
drivers/usb/host/ehci-timer.c | 2 +-
drivers/usb/host/fotg210-hcd.c | 2 +-
drivers/usb/host/ohci-omap3.c | 211 ----
drivers/usb/host/ohci-platform.c | 13 +
drivers/usb/host/ohci-pxa27x.c | 10 +-
drivers/usb/host/uhci-hcd.c | 17 +-
drivers/usb/host/uhci-hcd.h | 51 +
drivers/usb/host/uhci-platform.c | 22 +-
drivers/usb/host/xhci-mem.c | 81 +-
drivers/usb/host/xhci-ring.c | 200 ++--
drivers/usb/host/xhci.c | 25 +-
drivers/usb/host/xhci.h | 22 +-
drivers/usb/misc/Kconfig | 26 -
drivers/usb/misc/Makefile | 1 -
drivers/usb/misc/iowarrior.c | 11 +-
drivers/usb/misc/ucsi.c | 478 ---------
drivers/usb/misc/usbsevseg.c | 18 +-
drivers/usb/mtu3/mtu3.h | 8 +-
drivers/usb/mtu3/mtu3_plat.c | 23 +-
drivers/usb/musb/musb_core.c | 3 +
drivers/usb/musb/musb_core.h | 1 +
drivers/usb/musb/musb_cppi41.c | 11 +-
drivers/usb/musb/musb_host.c | 6 +-
drivers/usb/musb/tusb6010.c | 21 +-
drivers/usb/musb/tusb6010_omap.c | 379 +++-----
drivers/usb/phy/Kconfig | 6 +-
drivers/usb/phy/phy-msm-usb.c | 85 +-
drivers/usb/phy/phy-qcom-8x16-usb.c | 20 +-
drivers/usb/phy/phy.c | 57 ++
drivers/usb/serial/cp210x.c | 1 +
drivers/usb/serial/qcserial.c | 2 +
drivers/usb/serial/upd78f0730.c | 6 +-
drivers/usb/serial/usb-serial.c | 243 +++--
drivers/usb/storage/ene_ub6250.c | 87 +-
drivers/usb/typec/Kconfig | 2 +
drivers/usb/typec/Makefile | 1 +
drivers/usb/typec/typec.c | 136 ++-
drivers/usb/typec/ucsi/Kconfig | 39 +
drivers/usb/typec/ucsi/Makefile | 9 +
drivers/usb/typec/ucsi/debug.h | 64 ++
drivers/usb/typec/ucsi/trace.c | 2 +
drivers/usb/typec/ucsi/trace.h | 143 +++
drivers/usb/typec/ucsi/ucsi.c | 790 +++++++++++++++
drivers/usb/{misc => typec/ucsi}/ucsi.h | 194 +++-
drivers/usb/typec/ucsi/ucsi_acpi.c | 158 +++
drivers/usb/usbip/stub_main.c | 4 +
drivers/usb/usbip/stub_tx.c | 4 +
drivers/usb/usbip/vhci.h | 36 +-
drivers/usb/usbip/vhci_hcd.c | 605 +++++++++---
drivers/usb/usbip/vhci_rx.c | 16 +-
drivers/usb/usbip/vhci_sysfs.c | 138 ++-
drivers/uwb/i1480/dfu/phy.c | 1 +
include/linux/device.h | 4 +
{drivers => include/linux}/phy/ulpi_phy.h | 0
include/linux/usb/gadget.h | 4 +
include/linux/usb/hcd.h | 4 +-
include/linux/usb/phy.h | 7 +
include/linux/usb/typec.h | 10 +-
include/uapi/linux/usb/functionfs.h | 7 +-
include/uapi/linux/usbdevice_fs.h | 6 +
tools/usb/testusb.c | 16 +-
tools/usb/usbip/libsrc/vhci_driver.c | 133 ++-
tools/usb/usbip/libsrc/vhci_driver.h | 10 +-
tools/usb/usbip/src/usbip_attach.c | 5 +-
245 files changed, 11039 insertions(+), 4437 deletions(-)
create mode 100644 Documentation/ABI/testing/configfs-usb-gadget-uac1_legacy
create mode 100644 Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt
create mode 100644 Documentation/devicetree/bindings/phy/meson-gxl-usb2-phy.txt
create mode 100644 Documentation/devicetree/bindings/phy/phy-cpcap-usb.txt
create mode 100644 Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt
create mode 100644 Documentation/devicetree/bindings/usb/iproc-udc.txt
create mode 100644 Documentation/driver-api/usb/dwc3.rst
rename Documentation/{ => driver-api}/usb/typec.rst (100%)
rename Documentation/{ => driver-api}/usb/usb3-debug-port.rst (100%)
create mode 100644 drivers/phy/allwinner/Kconfig
create mode 100644 drivers/phy/allwinner/Makefile
rename drivers/phy/{ => allwinner}/phy-sun4i-usb.c (100%)
rename drivers/phy/{ => allwinner}/phy-sun9i-usb.c (100%)
create mode 100644 drivers/phy/amlogic/Kconfig
create mode 100644 drivers/phy/amlogic/Makefile
create mode 100644 drivers/phy/amlogic/phy-meson-gxl-usb2.c
rename drivers/phy/{ => amlogic}/phy-meson8b-usb2.c (98%)
create mode 100644 drivers/phy/broadcom/Kconfig
create mode 100644 drivers/phy/broadcom/Makefile
rename drivers/phy/{ => broadcom}/phy-bcm-cygnus-pcie.c (100%)
rename drivers/phy/{ => broadcom}/phy-bcm-kona-usb2.c (100%)
rename drivers/phy/{ => broadcom}/phy-bcm-ns-usb2.c (100%)
rename drivers/phy/{ => broadcom}/phy-bcm-ns-usb3.c (70%)
rename drivers/phy/{ => broadcom}/phy-bcm-ns2-pcie.c (100%)
create mode 100644 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c
rename drivers/phy/{ => broadcom}/phy-brcm-sata.c (85%)
create mode 100644 drivers/phy/hisilicon/Kconfig
create mode 100644 drivers/phy/hisilicon/Makefile
rename drivers/phy/{ => hisilicon}/phy-hi6220-usb.c (100%)
rename drivers/phy/{ => hisilicon}/phy-hix5hd2-sata.c (100%)
create mode 100644 drivers/phy/marvell/Kconfig
create mode 100644 drivers/phy/marvell/Makefile
rename drivers/phy/{ => marvell}/phy-armada375-usb2.c (100%)
rename drivers/phy/{ => marvell}/phy-berlin-sata.c (100%)
rename drivers/phy/{ => marvell}/phy-berlin-usb.c (100%)
rename drivers/phy/{ => marvell}/phy-mvebu-sata.c (100%)
rename drivers/phy/{ => marvell}/phy-pxa-28nm-hsic.c (100%)
rename drivers/phy/{ => marvell}/phy-pxa-28nm-usb2.c (100%)
create mode 100644 drivers/phy/motorola/Kconfig
create mode 100644 drivers/phy/motorola/Makefile
create mode 100644 drivers/phy/motorola/phy-cpcap-usb.c
create mode 100644 drivers/phy/qualcomm/Kconfig
create mode 100644 drivers/phy/qualcomm/Makefile
rename drivers/phy/{ => qualcomm}/phy-qcom-apq8064-sata.c (100%)
rename drivers/phy/{ => qualcomm}/phy-qcom-ipq806x-sata.c (100%)
rename drivers/phy/{ => qualcomm}/phy-qcom-qmp.c (100%)
rename drivers/phy/{ => qualcomm}/phy-qcom-qusb2.c (100%)
rename drivers/phy/{ => qualcomm}/phy-qcom-ufs-i.h (100%)
rename drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-14nm.c (100%)
rename drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-14nm.h (100%)
rename drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-20nm.c (100%)
rename drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-20nm.h (100%)
rename drivers/phy/{ => qualcomm}/phy-qcom-ufs.c (100%)
rename drivers/phy/{ => qualcomm}/phy-qcom-usb-hs.c (99%)
rename drivers/phy/{ => qualcomm}/phy-qcom-usb-hsic.c (99%)
create mode 100644 drivers/phy/renesas/Kconfig
create mode 100644 drivers/phy/renesas/Makefile
rename drivers/phy/{ => renesas}/phy-rcar-gen2.c (100%)
rename drivers/phy/{ => renesas}/phy-rcar-gen3-usb2.c (100%)
create mode 100644 drivers/phy/renesas/phy-rcar-gen3-usb3.c
create mode 100644 drivers/phy/rockchip/Kconfig
create mode 100644 drivers/phy/rockchip/Makefile
rename drivers/phy/{ => rockchip}/phy-rockchip-dp.c (100%)
rename drivers/phy/{ => rockchip}/phy-rockchip-emmc.c (100%)
rename drivers/phy/{ => rockchip}/phy-rockchip-inno-usb2.c (94%)
rename drivers/phy/{ => rockchip}/phy-rockchip-pcie.c (100%)
rename drivers/phy/{ => rockchip}/phy-rockchip-typec.c (100%)
rename drivers/phy/{ => rockchip}/phy-rockchip-usb.c (100%)
create mode 100644 drivers/phy/samsung/Kconfig
create mode 100644 drivers/phy/samsung/Makefile
rename drivers/phy/{ => samsung}/phy-exynos-dp-video.c (100%)
rename drivers/phy/{ => samsung}/phy-exynos-mipi-video.c (100%)
rename drivers/phy/{ => samsung}/phy-exynos-pcie.c (100%)
rename drivers/phy/{ => samsung}/phy-exynos4210-usb2.c (100%)
rename drivers/phy/{ => samsung}/phy-exynos4x12-usb2.c (100%)
rename drivers/phy/{ => samsung}/phy-exynos5-usbdrd.c (100%)
rename drivers/phy/{ => samsung}/phy-exynos5250-sata.c (100%)
rename drivers/phy/{ => samsung}/phy-exynos5250-usb2.c (100%)
rename drivers/phy/{ => samsung}/phy-s5pv210-usb2.c (100%)
rename drivers/phy/{ => samsung}/phy-samsung-usb2.c (100%)
rename drivers/phy/{ => samsung}/phy-samsung-usb2.h (100%)
create mode 100644 drivers/phy/st/Kconfig
create mode 100644 drivers/phy/st/Makefile
rename drivers/phy/{ => st}/phy-miphy28lp.c (100%)
rename drivers/phy/{ => st}/phy-spear1310-miphy.c (100%)
rename drivers/phy/{ => st}/phy-spear1340-miphy.c (100%)
rename drivers/phy/{ => st}/phy-stih407-usb.c (100%)
create mode 100644 drivers/phy/ti/Kconfig
create mode 100644 drivers/phy/ti/Makefile
rename drivers/phy/{ => ti}/phy-da8xx-usb.c (100%)
rename drivers/phy/{ => ti}/phy-dm816x-usb.c (100%)
rename drivers/phy/{ => ti}/phy-omap-control.c (100%)
rename drivers/phy/{ => ti}/phy-omap-usb2.c (100%)
rename drivers/phy/{ => ti}/phy-ti-pipe3.c (100%)
rename drivers/phy/{ => ti}/phy-tusb1210.c (78%)
rename drivers/phy/{ => ti}/phy-twl4030-usb.c (100%)
create mode 100644 drivers/usb/gadget/function/f_uac1_legacy.c
create mode 100644 drivers/usb/gadget/function/u_audio.c
create mode 100644 drivers/usb/gadget/function/u_audio.h
rename drivers/usb/gadget/function/{u_uac1.c => u_uac1_legacy.c} (98%)
create mode 100644 drivers/usb/gadget/function/u_uac1_legacy.h
rename drivers/usb/gadget/udc/{amd5536udc.c => snps_udc_core.c} (97%)
create mode 100644 drivers/usb/gadget/udc/snps_udc_plat.c
delete mode 100644 drivers/usb/host/ohci-omap3.c
delete mode 100644 drivers/usb/misc/ucsi.c
create mode 100644 drivers/usb/typec/ucsi/Kconfig
create mode 100644 drivers/usb/typec/ucsi/Makefile
create mode 100644 drivers/usb/typec/ucsi/debug.h
create mode 100644 drivers/usb/typec/ucsi/trace.c
create mode 100644 drivers/usb/typec/ucsi/trace.h
create mode 100644 drivers/usb/typec/ucsi/ucsi.c
rename drivers/usb/{misc => typec/ucsi}/ucsi.h (59%)
create mode 100644 drivers/usb/typec/ucsi/ucsi_acpi.c
rename {drivers => include/linux}/phy/ulpi_phy.h (100%)


2017-07-04 01:27:44

by Stephen Rothwell

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1

Hi all,

On Mon, 3 Jul 2017 16:58:47 +0200 Greg KH <[email protected]> wrote:
>
> All of these have been in linux-next for a while with no reported
> issues.

I have been carrying the following merge fix patch for the merge
against the uuid tree (now in Linus' tree):

From: Stephen Rothwell <[email protected]>
Date: Thu, 29 Jun 2017 14:36:10 +1000
Subject: [PATCH] usb: typec: fix for "ACPI: Switch to use generic guid_t in
acpi_evaluate_dsm()"

Signed-off-by: Stephen Rothwell <[email protected]>
---
drivers/usb/typec/ucsi/ucsi_acpi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/typec/ucsi/ucsi_acpi.c b/drivers/usb/typec/ucsi/ucsi_acpi.c
index 3fb2e48e1c91..7b7c9373a9b6 100644
--- a/drivers/usb/typec/ucsi/ucsi_acpi.c
+++ b/drivers/usb/typec/ucsi/ucsi_acpi.c
@@ -23,14 +23,14 @@ struct ucsi_acpi {
struct device *dev;
struct ucsi *ucsi;
struct ucsi_ppm ppm;
- uuid_le uuid;
+ guid_t uuid;
};

static int ucsi_acpi_dsm(struct ucsi_acpi *ua, int func)
{
union acpi_object *obj;

- obj = acpi_evaluate_dsm(ACPI_HANDLE(ua->dev), ua->uuid.b, 1, func,
+ obj = acpi_evaluate_dsm(ACPI_HANDLE(ua->dev), &ua->uuid, 1, func,
NULL);
if (!obj) {
dev_err(ua->dev, "%s: failed to evaluate _DSM %d\n",
--
2.11.0

--
Cheers,
Stephen Rothwell

2017-07-04 07:15:59

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1

Hi Greg, Heikki,

On Mon, Jul 3, 2017 at 4:58 PM, Greg KH <[email protected]> wrote:
> The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52:
>
> Linux 4.12-rc6 (2017-06-19 22:19:37 +0800)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.13-rc1
>
> for you to fetch changes up to 6836796de4019944f4ba4c99a360e8250fd2e735:
>
> Add USB quirk for HVR-950q to avoid intermittent device resets (2017-06-29 14:49:06 +0200)
>
> ----------------------------------------------------------------
> USB/PHY patches for 4.13-rc1
>
> Here is the big patchset of USB and PHY driver updates for 4.13-rc1.
>
> On the PHY side, they decided to move files around to "make things
> easier" in their tree. Hopefully that wasn't a mistake, but in
> linux-next testing, we haven't had any reported problems.
>
> There's the usual set of gadget and xhci and musb updates in here as
> well, along with a number of smaller updates for a raft of different USB
> drivers. Full details in the shortlog, nothing really major.
>
> All of these have been in linux-next for a while with no reported
> issues.
>
> Signed-off-by: Greg Kroah-Hartman <[email protected]>
>
> ----------------------------------------------------------------

> Heikki Krogerus (3):
> usb: typec: Add support for UCSI interface

Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):

> --- /dev/null
> +++ b/drivers/usb/typec/ucsi/Kconfig
> @@ -0,0 +1,23 @@
> +config TYPEC_UCSI
> + tristate "USB Type-C Connector System Software Interface driver"
> + depends on !CPU_BIG_ENDIAN

To work as expected, and prevent this driver from being enabled on big endian
systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
inconsistencies".
https://lkml.org/lkml/2017/6/12/1068

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

2017-07-04 08:05:28

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1

On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
> Hi Greg, Heikki,
>
> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH <[email protected]> wrote:
> > The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52:
> >
> > Linux 4.12-rc6 (2017-06-19 22:19:37 +0800)
> >
> > are available in the git repository at:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.13-rc1
> >
> > for you to fetch changes up to 6836796de4019944f4ba4c99a360e8250fd2e735:
> >
> > Add USB quirk for HVR-950q to avoid intermittent device resets (2017-06-29 14:49:06 +0200)
> >
> > ----------------------------------------------------------------
> > USB/PHY patches for 4.13-rc1
> >
> > Here is the big patchset of USB and PHY driver updates for 4.13-rc1.
> >
> > On the PHY side, they decided to move files around to "make things
> > easier" in their tree. Hopefully that wasn't a mistake, but in
> > linux-next testing, we haven't had any reported problems.
> >
> > There's the usual set of gadget and xhci and musb updates in here as
> > well, along with a number of smaller updates for a raft of different USB
> > drivers. Full details in the shortlog, nothing really major.
> >
> > All of these have been in linux-next for a while with no reported
> > issues.
> >
> > Signed-off-by: Greg Kroah-Hartman <[email protected]>
> >
> > ----------------------------------------------------------------
>
> > Heikki Krogerus (3):
> > usb: typec: Add support for UCSI interface
>
> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
>
> > --- /dev/null
> > +++ b/drivers/usb/typec/ucsi/Kconfig
> > @@ -0,0 +1,23 @@
> > +config TYPEC_UCSI
> > + tristate "USB Type-C Connector System Software Interface driver"
> > + depends on !CPU_BIG_ENDIAN
>
> To work as expected, and prevent this driver from being enabled on big endian
> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
> inconsistencies".
> https://lkml.org/lkml/2017/6/12/1068

Is this a problem? I thought that series was slated to be merged soon,
is that not going to happen?

thanks,

greg k-h

2017-07-04 09:09:39

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1

Hi Greg,

On Tue, Jul 4, 2017 at 10:04 AM, Greg KH <[email protected]> wrote:
> On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
>> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH <[email protected]> wrote:
>> > USB/PHY patches for 4.13-rc1

>> > Heikki Krogerus (3):
>> > usb: typec: Add support for UCSI interface
>>
>> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
>>
>> > --- /dev/null
>> > +++ b/drivers/usb/typec/ucsi/Kconfig
>> > @@ -0,0 +1,23 @@
>> > +config TYPEC_UCSI
>> > + tristate "USB Type-C Connector System Software Interface driver"
>> > + depends on !CPU_BIG_ENDIAN
>>
>> To work as expected, and prevent this driver from being enabled on big endian
>> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
>> inconsistencies".
>> https://lkml.org/lkml/2017/6/12/1068
>
> Is this a problem?

I have no idea what happens if you enable the driver on big endian.

> I thought that series was slated to be merged soon,
> is that not going to happen?

Me too. But it's not in next-20170704.

Babu, what's the plan?

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

2017-07-04 09:13:33

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1

On Tue, Jul 04, 2017 at 11:09:36AM +0200, Geert Uytterhoeven wrote:
> Hi Greg,
>
> On Tue, Jul 4, 2017 at 10:04 AM, Greg KH <[email protected]> wrote:
> > On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
> >> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH <[email protected]> wrote:
> >> > USB/PHY patches for 4.13-rc1
>
> >> > Heikki Krogerus (3):
> >> > usb: typec: Add support for UCSI interface
> >>
> >> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
> >>
> >> > --- /dev/null
> >> > +++ b/drivers/usb/typec/ucsi/Kconfig
> >> > @@ -0,0 +1,23 @@
> >> > +config TYPEC_UCSI
> >> > + tristate "USB Type-C Connector System Software Interface driver"
> >> > + depends on !CPU_BIG_ENDIAN
> >>
> >> To work as expected, and prevent this driver from being enabled on big endian
> >> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
> >> inconsistencies".
> >> https://lkml.org/lkml/2017/6/12/1068
> >
> > Is this a problem?
>
> I have no idea what happens if you enable the driver on big endian.

As I don't think anyone has USB type-c hardware for such a system, we
should be ok for now :)

thanks,

greg k-h

2017-07-04 10:33:47

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1

Hi Greg,

On Tue, Jul 4, 2017 at 11:13 AM, Greg KH <[email protected]> wrote:
> On Tue, Jul 04, 2017 at 11:09:36AM +0200, Geert Uytterhoeven wrote:
>> On Tue, Jul 4, 2017 at 10:04 AM, Greg KH <[email protected]> wrote:
>> > On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
>> >> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH <[email protected]> wrote:
>> >> > USB/PHY patches for 4.13-rc1
>>
>> >> > Heikki Krogerus (3):
>> >> > usb: typec: Add support for UCSI interface
>> >>
>> >> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
>> >>
>> >> > --- /dev/null
>> >> > +++ b/drivers/usb/typec/ucsi/Kconfig
>> >> > @@ -0,0 +1,23 @@
>> >> > +config TYPEC_UCSI
>> >> > + tristate "USB Type-C Connector System Software Interface driver"
>> >> > + depends on !CPU_BIG_ENDIAN
>> >>
>> >> To work as expected, and prevent this driver from being enabled on big endian
>> >> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
>> >> inconsistencies".
>> >> https://lkml.org/lkml/2017/6/12/1068
>> >
>> > Is this a problem?
>>
>> I have no idea what happens if you enable the driver on big endian.
>
> As I don't think anyone has USB type-c hardware for such a system, we
> should be ok for now :)

Insert PCIe USB-C adapter into SPARC system?

But the actual platform-specific driver depends on ACPI, so the world should
be safe ;-)

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

2017-07-04 17:19:26

by Babu Moger

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1



On 7/4/2017 4:09 AM, Geert Uytterhoeven wrote:
> Hi Greg,
>
> On Tue, Jul 4, 2017 at 10:04 AM, Greg KH <[email protected]> wrote:
>> On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
>>> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH <[email protected]> wrote:
>>>> USB/PHY patches for 4.13-rc1
>>>> Heikki Krogerus (3):
>>>> usb: typec: Add support for UCSI interface
>>> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
>>>
>>>> --- /dev/null
>>>> +++ b/drivers/usb/typec/ucsi/Kconfig
>>>> @@ -0,0 +1,23 @@
>>>> +config TYPEC_UCSI
>>>> + tristate "USB Type-C Connector System Software Interface driver"
>>>> + depends on !CPU_BIG_ENDIAN
>>> To work as expected, and prevent this driver from being enabled on big endian
>>> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
>>> inconsistencies".
>>> https://lkml.org/lkml/2017/6/12/1068
>> Is this a problem?
> I have no idea what happens if you enable the driver on big endian.
>
>> I thought that series was slated to be merged soon,
>> is that not going to happen?
> Me too. But it's not in next-20170704.
>
> Babu, what's the plan?

Yes. I think these series are safe to be merged.

Max, Do you have any concerns about xtensa?

>
> Thanks!
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds

2017-07-06 08:25:04

by Max Filippov

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1

Hi Babu,

On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger <[email protected]> wrote:
> Max, Do you have any concerns about xtensa?

no, not ATM. I still haven't got a chance to look closer at moving endianness
macros back to Kconfig for xtensa.

--
Thanks.
-- Max

2017-07-06 14:28:24

by Babu Moger

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1

On 7/6/2017 3:24 AM, Max Filippov wrote:
> Hi Babu,
>
> On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger <[email protected]> wrote:
>> Max, Do you have any concerns about xtensa?
> no, not ATM. I still haven't got a chance to look closer at moving endianness
> macros back to Kconfig for xtensa.
>

Thanks. Greg, Can you please stage this series for the next merge.

2017-07-06 14:33:34

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1

On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote:
> On 7/6/2017 3:24 AM, Max Filippov wrote:
> > Hi Babu,
> >
> > On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger <[email protected]> wrote:
> > > Max, Do you have any concerns about xtensa?
> > no, not ATM. I still haven't got a chance to look closer at moving endianness
> > macros back to Kconfig for xtensa.
> >
>
> Thanks. Greg, Can you please stage this series for the next merge.

What series? What exactly are you referring to here?

totally confused...

greg k-h

2017-07-06 15:28:17

by Babu Moger

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1


On 7/6/2017 9:33 AM, Greg KH wrote:
> On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote:
>> On 7/6/2017 3:24 AM, Max Filippov wrote:
>>> Hi Babu,
>>>
>>> On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger <[email protected]> wrote:
>>>> Max, Do you have any concerns about xtensa?
>>> no, not ATM. I still haven't got a chance to look closer at moving endianness
>>> macros back to Kconfig for xtensa.
>>>
>> Thanks. Greg, Can you please stage this series for the next merge.
> What series? What exactly are you referring to here?
>
> totally confused...

Greg, Sorry for not making it clear. I am referring to this following
series.

https://patchwork.kernel.org/patch/9782851/
https://patchwork.kernel.org/patch/9782843/
https://patchwork.kernel.org/patch/9782847/

> greg k-h

2017-07-06 15:51:48

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1

On Thu, Jul 06, 2017 at 10:28:03AM -0500, Babu Moger wrote:
>
> On 7/6/2017 9:33 AM, Greg KH wrote:
> > On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote:
> > > On 7/6/2017 3:24 AM, Max Filippov wrote:
> > > > Hi Babu,
> > > >
> > > > On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger <[email protected]> wrote:
> > > > > Max, Do you have any concerns about xtensa?
> > > > no, not ATM. I still haven't got a chance to look closer at moving endianness
> > > > macros back to Kconfig for xtensa.
> > > >
> > > Thanks. Greg, Can you please stage this series for the next merge.
> > What series? What exactly are you referring to here?
> >
> > totally confused...
>
> Greg, Sorry for not making it clear. I am referring to this following
> series.
>
> https://patchwork.kernel.org/patch/9782851/
> https://patchwork.kernel.org/patch/9782843/
> https://patchwork.kernel.org/patch/9782847/

Can you resend them please so I can take them from email?

thanks,

greg k-h

2017-07-06 15:54:41

by Babu Moger

[permalink] [raw]
Subject: Re: [GIT PULL] USB/PHY patches for 4.13-rc1


On 7/6/2017 10:51 AM, Greg KH wrote:
> On Thu, Jul 06, 2017 at 10:28:03AM -0500, Babu Moger wrote:
>> On 7/6/2017 9:33 AM, Greg KH wrote:
>>> On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote:
>>>> On 7/6/2017 3:24 AM, Max Filippov wrote:
>>>>> Hi Babu,
>>>>>
>>>>> On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger <[email protected]> wrote:
>>>>>> Max, Do you have any concerns about xtensa?
>>>>> no, not ATM. I still haven't got a chance to look closer at moving endianness
>>>>> macros back to Kconfig for xtensa.
>>>>>
>>>> Thanks. Greg, Can you please stage this series for the next merge.
>>> What series? What exactly are you referring to here?
>>>
>>> totally confused...
>> Greg, Sorry for not making it clear. I am referring to this following
>> series.
>>
>> https://patchwork.kernel.org/patch/9782851/
>> https://patchwork.kernel.org/patch/9782843/
>> https://patchwork.kernel.org/patch/9782847/
> Can you resend them please so I can take them from email?

Sure. Will send it in a bit. thanks

>
> thanks,
>
> greg k-h