[PATCH] generic RTC support for PPC

Kumar Gala galak at kernel.crashing.org
Wed Feb 7 03:16:55 EST 2007


On Feb 6, 2007, at 9:24 AM, Olof Johansson wrote:

> 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.

Not 100% sure but we did back out some of the patches to arch/powerpc  
code related to this.

- k



More information about the Linuxppc-dev mailing list