From: Geoff Levand <geoffrey.levand@am.sony.com>
To: Alessandro Zummo <alessandro.zummo@towertech.it>
Cc: linuxppc-dev list <linuxppc-dev@ozlabs.org>,
rz@linux-m68k.org, LKML Kernel <linux-kernel@vger.kernel.org>,
rtc-linux@googlegroups.com
Subject: Re: [rtc-linux] state of GEN_RTC vs rtc subsystem
Date: Fri, 30 May 2008 15:45:40 -0700 [thread overview]
Message-ID: <48408394.8000406@am.sony.com> (raw)
In-Reply-To: <20080220180325.46446675@i1501.lan.towertech.it>
Alessandro Zummo wrote:
> On Wed, 20 Feb 2008 10:11:23 -0600
> Kumar Gala <galak@kernel.crashing.org> wrote:
>
>>
>> Is the functionality provided by drivers/char/gen_rtc.c completely
>> handled by the rtc subsystem in drivers/rtc?
>>
>> I ask for two reasons:
>> 1. should we make it mutually exclusive in Kconfig
>> 2. I've enabled both and get (we'll my defconfig did):
>
> They shouldn't be enabled at once. I think a patch
> for Kconfig has been recently submitted to give a warning
> in such a case.
>
> rtc-cmos should be able to handle the vast majority of x86
> rtcs out there.
gen_rtc was hooked up to the powerpc platform
ppc_md.set_rtc_time and ppc_md.get_rtc_time via the arch
specific get_rtc_time() and set_rtc_time() routines.
>From what I can tell, those generic rtc routines the powerpc
arch provides are not properly hooked into the new rtc subsystem.
This causes problems for multi-platform builds where some platforms
must use gen_rtc, and some must the new rtc subsytem.
-Geoff
WARNING: multiple messages have this Message-ID (diff)
From: Geoff Levand <geoffrey.levand@am.sony.com>
To: Alessandro Zummo <alessandro.zummo@towertech.it>
Cc: rtc-linux@googlegroups.com,
linuxppc-dev list <linuxppc-dev@ozlabs.org>,
rz@linux-m68k.org, LKML Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [rtc-linux] state of GEN_RTC vs rtc subsystem
Date: Fri, 30 May 2008 15:45:40 -0700 [thread overview]
Message-ID: <48408394.8000406@am.sony.com> (raw)
In-Reply-To: <20080220180325.46446675@i1501.lan.towertech.it>
Alessandro Zummo wrote:
> On Wed, 20 Feb 2008 10:11:23 -0600
> Kumar Gala <galak@kernel.crashing.org> wrote:
>
>>
>> Is the functionality provided by drivers/char/gen_rtc.c completely
>> handled by the rtc subsystem in drivers/rtc?
>>
>> I ask for two reasons:
>> 1. should we make it mutually exclusive in Kconfig
>> 2. I've enabled both and get (we'll my defconfig did):
>
> They shouldn't be enabled at once. I think a patch
> for Kconfig has been recently submitted to give a warning
> in such a case.
>
> rtc-cmos should be able to handle the vast majority of x86
> rtcs out there.
gen_rtc was hooked up to the powerpc platform
ppc_md.set_rtc_time and ppc_md.get_rtc_time via the arch
specific get_rtc_time() and set_rtc_time() routines.
>From what I can tell, those generic rtc routines the powerpc
arch provides are not properly hooked into the new rtc subsystem.
This causes problems for multi-platform builds where some platforms
must use gen_rtc, and some must the new rtc subsytem.
-Geoff
next prev parent reply other threads:[~2008-05-30 22:45 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-20 16:11 state of GEN_RTC vs rtc subsystem Kumar Gala
2008-02-20 16:11 ` Kumar Gala
2008-02-20 17:03 ` [rtc-linux] " Alessandro Zummo
2008-02-20 17:03 ` Alessandro Zummo
2008-02-20 20:37 ` woodys
2008-02-20 20:37 ` woodys
2008-02-21 0:14 ` [rtc-linux] " Alessandro Zummo
2008-02-21 0:14 ` Alessandro Zummo
2008-02-22 7:47 ` [rtc-linux] " J.A. Magallón
2008-05-30 22:45 ` Geoff Levand [this message]
2008-05-30 22:45 ` Geoff Levand
2008-06-02 22:27 ` Geoff Levand
2008-06-02 22:27 ` Geoff Levand
2008-06-07 6:38 ` Rogério Brito
2008-06-07 9:46 ` [rtc-linux] " David Woodhouse
2008-06-07 9:46 ` David Woodhouse
2008-02-21 9:26 ` Richard Zidlicky
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=48408394.8000406@am.sony.com \
--to=geoffrey.levand@am.sony.com \
--cc=alessandro.zummo@towertech.it \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=rtc-linux@googlegroups.com \
--cc=rz@linux-m68k.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.