Skip to contentSkip to conversation

PM: timeout waiting for write of PM_WKEN_WKUP.EN_IO_CHAIN

DISCUSSION Kevin Hilman 2 participants 2 messages May 14, 2009 – May 15, 2009

lore
Share & tools
lore
#0 lore raw

Kalle,

In your "Enable IO-CHAIN wakeup" patch[1], you set a timout based on 1000 tries of reading back from PM_WKST_WKUP.

Just curious how you came up with that value.

On ES3.1 3430SDP, some TI folks are seeing that timeout warning every time hitting idle.

Kevin

[1] http://marc.info/?l=linux-omap&m=123807750921423&w=2

#1 lore raw
Quoted 6 lines · Kevin Hilman

Kalle,

In your "Enable IO-CHAIN wakeup" patch[1], you set a timout based on 1000 tries of reading back from PM_WKST_WKUP.

Just curious how you came up with that value.

I tested it around a few times, and the loop seemed to run 2 iterations max. 1000 is just a random (big enough) number that I think should work if everything is ok.

Quoted 3 lines

On ES3.1 3430SDP, some TI folks are seeing that timeout warning every time hitting idle.

Then there is something wrong and the io-chain enable is not working. Please try removing the timeout and see if it hangs completely. I don't have a SDP to test on.

- Kalle

Quoted 4 lines

Kevin

[1] http://marc.info/?l=linux-omap&m=123807750921423&w=2