Re: dwc2: Confusing warnings in next-20180327 on Raspberry Pi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Grigor,

> Grigor Tovmasyan <Grigor.Tovmasyan@xxxxxxxxxxxx> hat am 2. April 2018 um 18:00 geschrieben:
> 
> 
> Hi Stefan,
> 
> On 4/2/2018 7:47 PM, Stefan Wahren wrote:
> > Hi Minas,
> > 
> > in linux-next-20180327 i will get the following confusing warnings on the Raspberry Pi:
> > 
> > Linux raspberrypi 4.16.0-rc7-next-20180327+ #2 SMP PREEMPT Sat Mar 31 13:24:47 CEST 2018 armv6l GNU/Linux
> > 
> > [    6.809185] dwc2 20980000.usb: dwc2_check_params: Invalid parameter lpm=1
> > [    6.816741] dwc2 20980000.usb: dwc2_check_params: Invalid parameter lpm_clock_gating=1
> > [    6.825852] dwc2 20980000.usb: dwc2_check_params: Invalid parameter besl=1
> > [    6.833836] dwc2 20980000.usb: dwc2_check_params: Invalid parameter hird_threshold_en=1
> > 
> > I think the reason is that these features aren't supported.
> 
> Yes. By default LPM feature enabled in dwc2  driver, and if  hardware 
> does not support LPM feature this warning are asserting.

thanks for your fast reply. These warnings aren't acceptable, because users think there is something wrong with the driver.

As the driver is able to detect the support of this feature, we can avoid this.

Stefan

> 
> > 
> > DWC2 core: 2.80a
> > 
> > Extract of the BCM2835 datasheet:
> > LPM Mode of Operation: 0 (Non-LPM-capable core)
> > Enable Power Optimization: No
> > 
> > I hope we can suppress these confusing warnings. >
> > Best regards
> > Stefan
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  https://urldefense.proofpoint.com/v2/url?u=http-3A__vger.kernel.org_majordomo-2Dinfo.html&d=DwICaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=K1ULVL1slpLXpMJJlAXSOxws4tRq0IkTBqxDkyW2hUQ&m=p8QSzOQ6Jl5b4edTsdasqPqOC-ZomQDDvkluCvJItpU&s=u8I6yUuioJrmqhLWhxbAkQbxnCvYXqyPqqpZSzxp0UU&e=
> > 
> 
> Thanks,
> Grigor.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux