From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw01.freescale.net (de01egw01.freescale.net [192.88.165.102]) by ozlabs.org (Postfix) with ESMTP id 5F05CDDDDB for ; Wed, 7 Feb 2007 12:55:42 +1100 (EST) Date: Tue, 6 Feb 2007 19:55:29 -0600 From: Kim Phillips To: Kumar Gala Subject: Re: [PATCH] generic RTC support for PPC Message-Id: <20070206195529.7724ebbb.kim.phillips@freescale.com> In-Reply-To: <91DAA7F5-2893-45CC-A920-2B3746D71DF9@kernel.crashing.org> References: <20070125073754.GA10004@lixom.net> <17864.25011.534976.210942@cargo.ozlabs.ibm.com> <01A15290-2EA9-454A-8DD5-28A01E39862B@kernel.crashing.org> <20070206152442.GB21050@lixom.net> <91DAA7F5-2893-45CC-A920-2B3746D71DF9@kernel.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: olof@lixom.net, linuxppc-dev@ozlabs.org, paulus@samba.org, kimphill@freescale.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 6 Feb 2007 10:16:55 -0600 Kumar Gala wrote: > > 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. > hwclock works fine here without this patch. So unless there is a dependency I'm unaware of, this patch should not go into 2.6.21. I'll send a patch out to remove the ds1374_[gs]et_rtc_time cruft from the 83xxMDS platform files when the ds1374 rtc class support patch goes in. Kim