RE: [PATCH] PM: Disable usb host HW save and restore

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

 



On Thu, 2009-05-14 at 20:40 +0300, Woodruff, Richard wrote:
> > From: Kevin Hilman [mailto:khilman@xxxxxxxxxxxxxxxxxxx]
> > Sent: Thursday, May 14, 2009 12:10 PM
> > To: Kalle Jokiniemi
> 
> > Kalle Jokiniemi <kalle.jokiniemi@xxxxxxxxx> writes:
> >
> > > The hardware SAVEANDRESTORE mechanism seems to leave
> > > USB HOST power domain permanently into active state
> > > after one transition from off to active state.
> > > Disabling for now.
> 
> Some are is needed around USB host domain handling.  There are a
> couple errata impacting different chip revs.
> 
> Today in the older TI reference code this condition of a stuck on
> power domain does not happen.  However, we are using a software
> supervised method to disable the power domain.  May be this code has a
> bug or the hardware does around auto use for this domain.

Yes, usb-host autoidle was enabled when I was digging this issue.

> 
> You will want TLL or host SAR activated to minimally work around a
> possible false cold reset issue.  There is a window coming back from
> OFF where a reset will be thrown.  Enabling SAR conclusively moves the
> internal window so there is no danger.  The error is fairly easily
> seen so if you start taking resets know this is likely the root cause.
> 
> What Rev of CPU is the issue occurring on?

I think the usb-host problem was on ES3.1 at least.

> 
> The USBTLL SAR in 3.0 and before silicon will case a deadlock on 2nd
> sleep attempt.  On 3.1 and after its fixed.

So ES3.0 devices are exposed to the cold reset issue (since USBTLL SAR
is only enabled in ES3.1). Would you suspect that we can enable USB host
SAR, if the AUTOIDLE is turned off? Then we would not need this patch.

- Kalle

> 
> Regards,
> Richard W.

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux