Re: [PATCH v2 1/4] usb: early: Avoid using DbC if already enabled

2021-05-18 Thread Mathias Nyman
On 17.5.2021 17.24, Connor Davis wrote: > > On 5/17/21 8:13 AM, Jan Beulich wrote: >> On 17.05.2021 15:48, Connor Davis wrote: >>> On 5/17/21 3:32 AM, Jan Beulich wrote: On 14.05.2021 02:56, Connor Davis wrote: > Check if the debug capability is enabled in early_xdbc_parse_parameter,

Re: [PATCH v2 1/4] usb: early: Avoid using DbC if already enabled

2021-05-17 Thread Connor Davis
On 5/17/21 8:13 AM, Jan Beulich wrote: On 17.05.2021 15:48, Connor Davis wrote: On 5/17/21 3:32 AM, Jan Beulich wrote: On 14.05.2021 02:56, Connor Davis wrote: Check if the debug capability is enabled in early_xdbc_parse_parameter, and if it is, return with an error. This avoids collisions w

Re: [PATCH v2 1/4] usb: early: Avoid using DbC if already enabled

2021-05-17 Thread Jan Beulich
On 17.05.2021 15:48, Connor Davis wrote: > > On 5/17/21 3:32 AM, Jan Beulich wrote: >> On 14.05.2021 02:56, Connor Davis wrote: >>> Check if the debug capability is enabled in early_xdbc_parse_parameter, >>> and if it is, return with an error. This avoids collisions with whatever >>> enabled the D

Re: [PATCH v2 1/4] usb: early: Avoid using DbC if already enabled

2021-05-17 Thread Connor Davis
On 5/17/21 3:32 AM, Jan Beulich wrote: On 14.05.2021 02:56, Connor Davis wrote: Check if the debug capability is enabled in early_xdbc_parse_parameter, and if it is, return with an error. This avoids collisions with whatever enabled the DbC prior to linux starting. Doesn't this go too far and

Re: [PATCH v2 1/4] usb: early: Avoid using DbC if already enabled

2021-05-17 Thread Jan Beulich
On 14.05.2021 02:56, Connor Davis wrote: > Check if the debug capability is enabled in early_xdbc_parse_parameter, > and if it is, return with an error. This avoids collisions with whatever > enabled the DbC prior to linux starting. Doesn't this go too far and prevent use even if firmware (perhaps

[PATCH v2 1/4] usb: early: Avoid using DbC if already enabled

2021-05-13 Thread Connor Davis
Check if the debug capability is enabled in early_xdbc_parse_parameter, and if it is, return with an error. This avoids collisions with whatever enabled the DbC prior to linux starting. Signed-off-by: Connor Davis --- drivers/usb/early/xhci-dbc.c | 10 ++ 1 file changed, 10 insertions(+)