Re: [Xen-devel] [PATCH 19/21] treewide: add checks for the return value of memblock_alloc*()

2019-01-16 Thread Juergen Gross
u bytes align=0x%lx\n", __func__, > size, align); > > Signed-off-by: Mike Rapoport For the Xen part: Reviewed-by: Juergen Gross Juergen

Re: [PATCH] usb/gadget: use kasprintf() instead of open coding it

2016-10-10 Thread Juergen Gross
On 10/10/16 12:26, Felipe Balbi wrote: > > Hi, > > Juergen Gross writes: > >> Signed-off-by: Juergen Gross > > I can't apply anything without a commit log. Sorry. I always thought a subject line telling the complete story would be enough. I'll resend wi

[PATCH v2] usb/gadget: use kasprintf() instead of open coding it

2016-10-10 Thread Juergen Gross
Use kasprintf() instead of open coding it. Signed-off-by: Juergen Gross --- drivers/usb/gadget/composite.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index 32176f7..455efec 100644 --- a

[PATCH] usb/gadget: use kasprintf() instead of open coding it

2016-10-10 Thread Juergen Gross
Signed-off-by: Juergen Gross --- drivers/usb/gadget/composite.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index 32176f7..455efec 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb

Re: [Xen-devel] [Patch V4 0/3] xen, usb: support pvUSB frontend driver

2016-03-19 Thread Juergen Gross
k you. You're welcome. :-) Juergen > > On Mon, Jul 20, 2015 at 8:13 AM, Juergen Gross <mailto:jgr...@suse.com>> wrote: > > Ping? > > > On 06/23/2015 08:53 AM, Juergen Gross wrote: > > This series adds XEN guest pvUSB support. With p

Re: [Patch V4 1/3] usb: Add Xen pvUSB protocol description

2015-07-23 Thread Juergen Gross
On 07/23/2015 09:08 PM, Greg KH wrote: On Thu, Jul 23, 2015 at 08:46:17AM +0200, Juergen Gross wrote: On 07/23/2015 06:36 AM, Greg KH wrote: On Thu, Jul 23, 2015 at 06:04:39AM +0200, Juergen Gross wrote: On 07/23/2015 01:46 AM, Greg KH wrote: On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen

Re: [Patch V4 1/3] usb: Add Xen pvUSB protocol description

2015-07-22 Thread Juergen Gross
On 07/23/2015 06:36 AM, Greg KH wrote: On Thu, Jul 23, 2015 at 06:04:39AM +0200, Juergen Gross wrote: On 07/23/2015 01:46 AM, Greg KH wrote: On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen Gross wrote: Add the definition of pvUSB protocol used between the pvUSB frontend in a Xen domU and

Re: [Patch V4 1/3] usb: Add Xen pvUSB protocol description

2015-07-22 Thread Juergen Gross
On 07/23/2015 01:46 AM, Greg KH wrote: On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen Gross wrote: Add the definition of pvUSB protocol used between the pvUSB frontend in a Xen domU and the pvUSB backend in a Xen driver domain (usually Dom0). This header was originally provided by Fujitsu

Re: [Patch V4 0/3] xen, usb: support pvUSB frontend driver

2015-07-19 Thread Juergen Gross
Ping? On 06/23/2015 08:53 AM, Juergen Gross wrote: This series adds XEN guest pvUSB support. With pvUSB it is possible to use physical USB devices from a XEN domain. The support consists of a frontend in form of a virtual hcd driver in the unprivileged domU passing I/O-requests to the backend

[Patch V4 2/3] usb: Introduce Xen pvUSB frontend (xen hcd)

2015-06-22 Thread Juergen Gross
Linux style guide - minor code modifications to increase readability Signed-off-by: Juergen Gross --- drivers/usb/host/Kconfig | 11 + drivers/usb/host/Makefile |1 + drivers/usb/host/xen-hcd.c | 1594 3 files changed, 1606 insertions(+) create

[Patch V4 0/3] xen, usb: support pvUSB frontend driver

2015-06-22 Thread Juergen Gross
ns to the pvUSB interface description to make it independant from linux kernel USB internals - adapted frontend to newer kernel version and use new pvUSB interface macros - set port status in one chunk as suggested by Oliver Neukum Juergen Gross (3): usb: Add Xen pvUSB protocol description

[Patch V4 1/3] usb: Add Xen pvUSB protocol description

2015-06-22 Thread Juergen Gross
Add the definition of pvUSB protocol used between the pvUSB frontend in a Xen domU and the pvUSB backend in a Xen driver domain (usually Dom0). This header was originally provided by Fujitsu for Xen based on Linux 2.6.18. Changes are: - adapt to Linux style guide Signed-off-by: Juergen Gross

[Patch V4 3/3] xen: add Xen pvUSB maintainer

2015-06-22 Thread Juergen Gross
Add myself as maintainer for the Xen pvUSB stuff. Signed-off-by: Juergen Gross Acked-by: Konrad Rzeszutek Wilk --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d8afd29..8ef4e83 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10965,6

Re: [Patch V3 2/3] usb: Introduce Xen pvUSB frontend (xen hcd)

2015-06-16 Thread Juergen Gross
On 06/16/2015 04:45 PM, Greg KH wrote: On Tue, Jun 16, 2015 at 04:32:34PM +0200, Juergen Gross wrote: Introduces the Xen pvUSB frontend. With pvUSB it is possible for a Xen domU to communicate with a USB device assigned to that domU. The communication is all done via the pvUSB backend in a

[Patch V3 3/3] xen: add Xen pvUSB maintainer

2015-06-16 Thread Juergen Gross
Add myself as maintainer for the Xen pvUSB stuff. Signed-off-by: Juergen Gross Acked-by: Konrad Rzeszutek Wilk --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d8afd29..8ef4e83 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10965,6

[Patch V3 2/3] usb: Introduce Xen pvUSB frontend (xen hcd)

2015-06-16 Thread Juergen Gross
Linux style guide - minor code modifications to increase readability Signed-off-by: Juergen Gross --- drivers/usb/host/Kconfig | 11 + drivers/usb/host/Makefile |1 + drivers/usb/host/xen-hcd.c | 1638 3 files changed, 1650 insertions(+) create

[Patch V3 0/3] xen, usb: support pvUSB frontend driver

2015-06-16 Thread Juergen Gross
new pvUSB interface macros - set port status in one chunk as suggested by Oliver Neukum Juergen Gross (3): usb: Add Xen pvUSB protocol description usb: Introduce Xen pvUSB frontend (xen hcd) xen: add Xen pvUSB maintainer MAINTAINERS |8 + drivers/usb/host/Kconfig

[Patch V3 1/3] usb: Add Xen pvUSB protocol description

2015-06-16 Thread Juergen Gross
Add the definition of pvUSB protocol used between the pvUSB frontend in a Xen domU and the pvUSB backend in a Xen driver domain (usually Dom0). This header was originally provided by Fujitsu for Xen based on Linux 2.6.18. Changes are: - adapt to Linux style guide Signed-off-by: Juergen Gross

Re: [Xen-devel] [Patch V2 2/3] usb: Introduce Xen pvUSB frontend

2015-06-14 Thread Juergen Gross
On 06/12/2015 06:20 PM, Greg KH wrote: On Fri, Jun 12, 2015 at 04:10:00PM +0200, Juergen Gross wrote: Introduces the Xen pvUSB frontend. With pvUSB it is possible for a Xen domU to communicate with a USB device assigned to that domU. The communication is all done via the pvUSB backend in a

Re: [Patch V2 1/3] usb: Add Xen pvUSB protocol description

2015-06-14 Thread Juergen Gross
On 06/12/2015 06:23 PM, Greg KH wrote: On Fri, Jun 12, 2015 at 04:09:59PM +0200, Juergen Gross wrote: +enum usb_spec_version { + USB_VER_UNKNOWN = 0, + USB_VER_USB11, + USB_VER_USB20, + USB_VER_USB30, /* not supported yet */ +}; + You are defining a bunch of things in

[Patch V2 1/3] usb: Add Xen pvUSB protocol description

2015-06-12 Thread Juergen Gross
Add the definition of pvUSB protocol used between the pvUSB frontend in a Xen domU and the pvUSB backend in a Xen driver domain (usually Dom0). This header was originally provided by Fujitsu for Xen based on Linux 2.6.18. Changes are: - adapt to Linux style guide Signed-off-by: Juergen Gross

[Patch V2 2/3] usb: Introduce Xen pvUSB frontend

2015-06-12 Thread Juergen Gross
Signed-off-by: Juergen Gross --- drivers/usb/Kconfig|2 + drivers/usb/Makefile |2 + drivers/usb/xen/Kconfig| 10 + drivers/usb/xen/Makefile |5 + drivers/usb/xen/xen-usbfront.c | 1647 5 files changed, 1666

[Patch V2 3/3] xen: add Xen pvUSB maintainer

2015-06-12 Thread Juergen Gross
Add myself as maintainer for the Xen pvUSB stuff. Signed-off-by: Juergen Gross Acked-by: Konrad Rzeszutek Wilk --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d8afd29..5f54a0d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10965,6

[Patch V2 0/3] xen, usb: support pvUSB frontend driver

2015-06-12 Thread Juergen Gross
- adapted frontend to newer kernel version and use new pvUSB interface macros - set port status in one chunk as suggested by Oliver Neukum Juergen Gross (3): usb: Add Xen pvUSB protocol description usb: Introduce Xen pvUSB frontend xen: add Xen pvUSB maintainer MAINTAINERS

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Juergen Gross
On 03/04/2015 04:27 PM, Greg KH wrote: On Wed, Mar 04, 2015 at 02:31:08PM +0100, Juergen Gross wrote: On 03/02/2015 12:39 PM, David Vrabel wrote: On 26/02/15 13:35, Juergen Gross wrote: Introduces the Xen pvUSB backend. With pvUSB it is possible for a Xen domU to communicate with a USB device

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Juergen Gross
On 03/04/2015 03:29 PM, Ian Campbell wrote: On Wed, 2015-03-04 at 14:19 +, David Vrabel wrote: On 04/03/15 14:09, Juergen Gross wrote: The main question whether it is worth to consider this alternative is the performance aspect. Does anyone have an idea which USB devices would typically

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Juergen Gross
On 03/04/2015 02:53 PM, David Vrabel wrote: On 04/03/15 13:31, Juergen Gross wrote: On 03/02/2015 12:39 PM, David Vrabel wrote: On 26/02/15 13:35, Juergen Gross wrote: Introduces the Xen pvUSB backend. With pvUSB it is possible for a Xen domU to communicate with a USB device assigned to that

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Juergen Gross
On 03/04/2015 02:41 PM, Ian Campbell wrote: On Wed, 2015-03-04 at 14:31 +0100, Juergen Gross wrote: - move module to appropriate location in kernel tree drivers/xen/ is the correct location for this driver. Hmm, so you regard placement of xen-netback under drivers/net and xen-blkback under

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Juergen Gross
On 03/02/2015 12:39 PM, David Vrabel wrote: On 26/02/15 13:35, Juergen Gross wrote: Introduces the Xen pvUSB backend. With pvUSB it is possible for a Xen domU to communicate with a USB device assigned to that domU. The communication is all done via the pvUSB backend in a driver domain (usually

[PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-02-26 Thread Juergen Gross
- correct sequence of state changes when assigning a device Signed-off-by: Juergen Gross --- drivers/usb/Makefile |1 + drivers/usb/xen/Kconfig | 10 + drivers/usb/xen/Makefile |1 + drivers/usb/xen/xen-usbback.c | 1845 + 4

[PATCH 2/4] usb: Introduce Xen pvUSB frontend

2015-02-26 Thread Juergen Gross
Signed-off-by: Juergen Gross --- drivers/usb/Kconfig|2 + drivers/usb/Makefile |2 + drivers/usb/xen/Kconfig| 10 + drivers/usb/xen/Makefile |5 + drivers/usb/xen/xen-usbfront.c | 1634 5 files changed, 1653

[PATCH 4/4] xen: add Xen pvUSB maintainer

2015-02-26 Thread Juergen Gross
Add myself as maintainer for the Xen pvUSB stuff. Signed-off-by: Juergen Gross --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddc5a8c..8ec1e1f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10787,6 +10787,14 @@ F: drivers/scsi/xen

[PATCH 1/4] usb: Add Xen pvUSB protocol description

2015-02-26 Thread Juergen Gross
Add the definition of pvUSB protocol used between the pvUSB frontend in a Xen domU and the pvUSB backend in a Xen driver domain (usually Dom0). This header was originally provided by Fujitsu for Xen based on Linux 2.6.18. Changes are: - adapt to Linux style guide Signed-off-by: Juergen Gross

[PATCH 0/4] xen, usb: support pvUSB drivers

2015-02-26 Thread Juergen Gross
has been tested as well. Tests have been performed with the xm toolset and with xl using patches from Chun Yan Liu which are not upstream yet. Juergen Gross (4): usb: Add Xen pvUSB protocol description usb: Introduce Xen pvUSB frontend usb: Introduce Xen pvUSB backend xen: add Xen pvUSB