[PATCH] generic RTC support for PPC

Olof Johansson olof at lixom.net
Wed Feb 7 02:24:42 EST 2007


On Tue, Feb 06, 2007 at 08:40:33AM -0600, Kumar Gala wrote:
> 
> On Feb 6, 2007, at 5:08 AM, Paul Mackerras wrote:
> 
> >Olof Johansson writes:
> >
> >>Make the PPC RTC functions use the generic RTC infrastructure if they
> >>are not already defined (and an RTC is registered in the system).
> >>
> >>This should make it possible to remove the hideous direct access used
> >>in some of the 83xx platforms.
> >
> >What was the consensus in the end about this?  Should it go in for
> >2.6.21?
> 
> Are the "scheduling while atomic" issues that existed before actually  
> been fixed?
> 
> http://marc.theaimsgroup.com/?l=linux-kernel&m=116378523012349&w=2

My patch shouldn't do it since it uses a work queue, but that bug report
was for the rtc class api instead of genrtc. It'll need something similar.

I can't even find the rtc_class_hookup code in 2.6.20, so I'm not sure
just what he was running.


-Olof



More information about the Linuxppc-dev mailing list