Re: [PATCH v6 01/10] drivers/char: allow using both dbgp=xhci and dbgp=ehci

2022-09-06 Thread Marek Marczykowski-Górecki
On Tue, Sep 06, 2022 at 05:07:27PM +0200, Jan Beulich wrote: > On 02.09.2022 15:17, Marek Marczykowski-Górecki wrote: > > This allows configuring EHCI and XHCI consoles separately, > > simultaneously. > > > > This changes string_param() to custom_param() in both ehci and xhci > > drivers. Both

Re: [PATCH v6 01/10] drivers/char: allow using both dbgp=xhci and dbgp=ehci

2022-09-06 Thread Jan Beulich
On 06.09.2022 17:46, Marek Marczykowski-Górecki wrote: > On Tue, Sep 06, 2022 at 05:07:27PM +0200, Jan Beulich wrote: >> On 02.09.2022 15:17, Marek Marczykowski-Górecki wrote: >>> --- a/xen/drivers/char/xhci-dbc.c >>> +++ b/xen/drivers/char/xhci-dbc.c >>> @@ -245,6 +245,7 @@ struct dbc { >>>

Re: [PATCH v6 01/10] drivers/char: allow using both dbgp=xhci and dbgp=ehci

2022-09-06 Thread Jan Beulich
On 02.09.2022 15:17, Marek Marczykowski-Górecki wrote: > This allows configuring EHCI and XHCI consoles separately, > simultaneously. > > This changes string_param() to custom_param() in both ehci and xhci > drivers. Both drivers parse only values applicable to them. > > While at it, drop

[PATCH v6 01/10] drivers/char: allow using both dbgp=xhci and dbgp=ehci

2022-09-02 Thread Marek Marczykowski-Górecki
This allows configuring EHCI and XHCI consoles separately, simultaneously. This changes string_param() to custom_param() in both ehci and xhci drivers. Both drivers parse only values applicable to them. While at it, drop unnecessary memset() of a static variable. Suggested-by: Jan Beulich