From: Andreas Schwab <schwab@linux-m68k.org>
To: John Stultz <john.stultz@linaro.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Alessandro Zummo <a.zummo@towertech.it>,
Thomas Gleixner <tglx@linutronix.de>,
Richard Cochran <richardcochran@gmail.com>
Subject: Re: [PATCH 3/5] RTC: Rework RTC code to use timerlist for events
Date: Fri, 21 Jan 2011 11:23:22 +0100 [thread overview]
Message-ID: <m262tizhb9.fsf@whitebox.home> (raw)
In-Reply-To: <1295550774.2998.58.camel@work-vm> (John Stultz's message of "Thu, 20 Jan 2011 11:12:54 -0800")
John Stultz <john.stultz@linaro.org> writes:
> On Thu, 2011-01-20 at 19:07 +0100, Andreas Schwab wrote:
>> John Stultz <john.stultz@linaro.org> writes:
>>
>> > This patch reworks a large portion of the generic RTC code
>> > to in-effect virtualize the rtc interrupt code.
>>
>> That breaks RTC on powermac which uses rtc-generic.
>>
>> # hwclock
>> select() to /dev/rtc0 to wait for clock tick timed out
>
> Actually, can you also send strace output?
ioctl(4, RTC_UIE_ON, 0) = 0
select(5, [4], NULL, NULL, {5, 0}) = 0 (Timeout)
write(2, "select() to /dev/rtc0 to wait fo"..., 55) = 55
ioctl(4, RTC_UIE_OFF, 0) = 0
CONFIG_RTC_INTF_DEV_UIE_EMUL was never enabled, and RTC_UIE_ON returned
EINVAL before, which caused hwclock to fall back to polling.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2011-01-21 10:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-19 3:12 [PATCH 0/5] Reworked RTC layer & Alarm timers John Stultz
2010-11-19 3:12 ` [PATCH 1/5] Introduce timerlist infrastructure John Stultz
2010-11-19 3:12 ` [PATCH 2/5] hrtimers: Convert hrtimers to use " John Stultz
2010-11-19 3:12 ` [PATCH 3/5] RTC: Rework RTC code to use timerlist for events John Stultz
2011-01-20 18:07 ` Andreas Schwab
2011-01-20 19:09 ` John Stultz
2011-01-20 19:12 ` John Stultz
2011-01-21 10:23 ` Andreas Schwab [this message]
2010-11-19 3:12 ` [PATCH 4/5] RTC: Remove UIE emulation John Stultz
2011-01-21 15:56 ` [PATCH] RTC: remove Kconfig symbol for " Uwe Kleine-König
2011-01-21 18:55 ` John Stultz
2010-11-19 3:12 ` [PATCH 5/5] [RFC] Introduce Alarm (hybrid) timers John Stultz
2010-11-20 17:25 ` [PATCH 0/5] Reworked RTC layer & Alarm timers Alessandro Zummo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m262tizhb9.fsf@whitebox.home \
--to=schwab@linux-m68k.org \
--cc=a.zummo@towertech.it \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=richardcochran@gmail.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome