> From: [email protected] [mailto:linux-omap-
> [email protected]] On Behalf Of Russell King - ARM Linux
> Sent: Saturday, February 04, 2012 10:40 AM

> It is entirely unacceptable to drop characters on a serial port through
> the use of PM.  Many serial protocols just will not cope with that kind
> of behaviour - yes, serial protocols may have retry built-in, but will
> they retry _before_ the port re-idles and the PLL shuts down?  Can you
> be sure?

What is acceptable depends on the hardware and applications stack ups being 
used. There are ways to work around issues along whole path in SW and HW.  
There is no single setup which makes all combinations work. Some old PC chassis 
may define 1 of many standards but they probably were not defined with very low 
power tradeoffs in mind.

If the board designer hooks up all possible serial signals for 
uart/rs232/rs422/standard-xyz or just rx/tx, or adds some glue logic, or adds 
smart peripheral, or ..., there are will be constraints and ways to cope with 
issue being discussed.

For most OMAP reference platforms the HW design links available UARTs with 
likely peripherals used in that timeframe. When it comes to making each UART 
work with PM some changes are usually needed per interface. Depending on the 
given stack up (to include bugs/limitations) some per interface tweak is always 
needed. It might be as you say you have to defeat PM on a port and only release 
after protocol handshaking with some modem firmware or it might be the debug 
UART expectation is lowered and allowed to work in a lossy mode so as not to 
destroy platform power for non-production port.

[x] What is acceptable depends is not black and white.  Is there some QOS 
mapping which can be set per channel which allows runtime PM to pick a best 
chose (which may allow for loss and frame issues)?.

Regards,
Richard W.

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

Reply via email to