On Thu, 3 Nov 2005, Ralf Baechle wrote: > Unlike on PC CMOS_READ on a DEC is a single read operation, so atomic > and so doesn't need to be protected. I'd have to check the datasheet > for any other reason why it might need locking though, so I apply your > patch for now and leave this to Maciej for later optimization. You are correct -- unless you need to perform multiple RTC access cycles uninterrupted in a row, a lock is not needed. Single accesses are executed as single cycles on the system bus, with some glue logic attached to the RTC chip converting them into pairs of chip accesses consisting of an index register write and the actual data cycle. Even the exact latency of the whole operation is specified for some system models. ;-) Welcome to a clean design! Maciej