Re: [PATCH v6 2/2] usb/gadget: Add driver for Aspeed SoC virtual hub

2018-03-25 Thread Benjamin Herrenschmidt
On Sun, 2018-03-25 at 12:25 +1100, Benjamin Herrenschmidt wrote: > On Sat, 2018-03-24 at 12:19 +1100, Benjamin Herrenschmidt wrote: > > > In function ‘memcpy’, > > > inlined from ‘ast_vhub_rep_desc’ at > > > drivers/usb/gadget/udc/aspeed-vhub/hub.c:276:2: > > > ./include/linux/string.h:341:4:

Re: [PATCH v6 2/2] usb/gadget: Add driver for Aspeed SoC virtual hub

2018-03-24 Thread Benjamin Herrenschmidt
On Sat, 2018-03-24 at 12:19 +1100, Benjamin Herrenschmidt wrote: > > In function ‘memcpy’, > > inlined from ‘ast_vhub_rep_desc’ at > > drivers/usb/gadget/udc/aspeed-vhub/hub.c:276:2: > > ./include/linux/string.h:341:4: error: call to ‘__read_overflow2’ declared > > with attribute error: dete

Re: [PATCH v6 2/2] usb/gadget: Add driver for Aspeed SoC virtual hub

2018-03-23 Thread Benjamin Herrenschmidt
On Fri, 2018-03-23 at 09:54 +0200, Felipe Balbi wrote: > Hi, > > Benjamin Herrenschmidt writes: > > > The Aspeed BMC SoCs support a "virtual hub" function. It provides some > > HW support for a top-level USB2 hub behind which sit 5 gadget "ports". > > > > This driver adds support for the full f

Re: [PATCH v6 2/2] usb/gadget: Add driver for Aspeed SoC virtual hub

2018-03-23 Thread Felipe Balbi
Hi, Benjamin Herrenschmidt writes: > The Aspeed BMC SoCs support a "virtual hub" function. It provides some > HW support for a top-level USB2 hub behind which sit 5 gadget "ports". > > This driver adds support for the full functionality, emulating the > hub standard requests and exposing 5 UDC

[PATCH v6 2/2] usb/gadget: Add driver for Aspeed SoC virtual hub

2018-03-22 Thread Benjamin Herrenschmidt
The Aspeed BMC SoCs support a "virtual hub" function. It provides some HW support for a top-level USB2 hub behind which sit 5 gadget "ports". This driver adds support for the full functionality, emulating the hub standard requests and exposing 5 UDC gadget drivers corresponding to the ports. The