From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Subject: Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions Date: Wed, 28 Mar 2007 23:27:55 +0200 Message-ID: <200703282327.56132.maximlevitsky@gmail.com> References: <200703282220.00199.maximlevitsky@gmail.com> <200703281359.29009.david-b@pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from qb-out-0506.google.com ([72.14.204.233]:27104 "EHLO qb-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753136AbXC1V2X (ORCPT ); Wed, 28 Mar 2007 17:28:23 -0400 Received: by qb-out-0506.google.com with SMTP id q10so11469083qbq for ; Wed, 28 Mar 2007 14:28:23 -0700 (PDT) In-Reply-To: <200703281359.29009.david-b@pacbell.net> Content-Disposition: inline Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: David Brownell Cc: linux-pm@lists.linux-foundation.org, Linus Torvalds , Jeff Chua , linux-ide@vger.kernel.org, gregkh@suse.de, linux-pm@lists.osdl.org, Linux Kernel Mailing List , Adrian Bunk , linux-acpi@vger.kernel.org, linux-pci@atrey.karlin.mff.cuni.cz, "Eric W. Biederman" , Ingo Molnar , Jens Axboe , "Michael S. Tsirkin" , Thomas Gleixner , jgarzik@pobox.com, Andrew Morton On Wednesday 28 March 2007 22:59:26 David Brownell wrote: > On Wednesday 28 March 2007 1:19 pm, Maxim wrote: > > On Wednesday 28 March 2007 21:38:55 David Brownell wrote: > > > > > > > Also, making HPET use the legacy mode seems like a step backwards. > > > It is not 'legacy' mode, > > It is a legacy replacement mode. > > Typo, sorry. > > > > It this mode HPET takes over IRQ0 and IRQ 8 and provides this way > > replacement for PIT and RTC periodic function > > It's that RTC periodic thing that bothers me, I don't mind about > the PIT. Remember that IRQ8 is also used for other RTC functions. > > Now, if there were a way to tell rtc-cmos that HPET is active, > and arrange some kind of handshake ... that would be different. > > - Dave > Yes, When HPET is active it eats RTC IRQ, So the only way out is to emulate RTC using HPET, It is done this way in old rtc driver, rtc-cmos should do the same. Of course suspend resume is not supported at all by old rtc driver I already wrote complete support for suspend/resume for old rtc driver (I wrote it long time ago) Now I fixed it to support HPET , and this way I discovered that HPET doesn't have suspend resume functions I will do last checks now and send this patch very soon I am also planning to add support of HPET and suspend/resume for rtc-cmos, but I didn't start this yet. Best regards, Maxim Levitsky