* X86: Impossible select Enhanced Real Time Clock Support (legacy PC RTC driver)
@ 2014-04-13 19:05 Stefani Seibold
2014-04-21 17:58 ` Randy Dunlap
0 siblings, 1 reply; 7+ messages in thread
From: Stefani Seibold @ 2014-04-13 19:05 UTC (permalink / raw)
To: linux-kernel@vger.kernel.org, Greg KH, rtc-linux, a.zummo
Since some kernel version it is impossible to select the Enhanced Real
Time Clock Support (legacy PC RTC driver) because RTC_LIB is set by
default in arch/x86/Kconfig, but the rule for selecting CONFIG_RTC is
RTC_LIB=n. So the code of driver/char/rtc is still useless.
This breaks the API since there is no more misc device /dev/rtc
available without a udev rule or a link to /dev/rtc0.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X86: Impossible select Enhanced Real Time Clock Support (legacy PC RTC driver)
2014-04-13 19:05 X86: Impossible select Enhanced Real Time Clock Support (legacy PC RTC driver) Stefani Seibold
@ 2014-04-21 17:58 ` Randy Dunlap
2014-04-28 18:16 ` John Stultz
0 siblings, 1 reply; 7+ messages in thread
From: Randy Dunlap @ 2014-04-21 17:58 UTC (permalink / raw)
To: Stefani Seibold, linux-kernel@vger.kernel.org, Greg KH, rtc-linux,
a.zummo
Cc: John Stultz, Prarit Bhargava
[adding more patch committers]
On 04/13/2014 12:05 PM, Stefani Seibold wrote:
> Since some kernel version it is impossible to select the Enhanced Real
> Time Clock Support (legacy PC RTC driver) because RTC_LIB is set by
> default in arch/x86/Kconfig, but the rule for selecting CONFIG_RTC is
> RTC_LIB=n. So the code of driver/char/rtc is still useless.
>
> This breaks the API since there is no more misc device /dev/rtc
> available without a udev rule or a link to /dev/rtc0.
--
~Randy
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X86: Impossible select Enhanced Real Time Clock Support (legacy PC RTC driver)
2014-04-21 17:58 ` Randy Dunlap
@ 2014-04-28 18:16 ` John Stultz
2014-04-28 18:20 ` Alessandro Zummo
0 siblings, 1 reply; 7+ messages in thread
From: John Stultz @ 2014-04-28 18:16 UTC (permalink / raw)
To: Randy Dunlap
Cc: Stefani Seibold, linux-kernel@vger.kernel.org, Greg KH,
rtc-linux@googlegroups.com, Alessandro Zummo, Prarit Bhargava
On Mon, Apr 21, 2014 at 10:58 AM, Randy Dunlap <rdunlap@infradead.org> wrote:
> [adding more patch committers]
>
> On 04/13/2014 12:05 PM, Stefani Seibold wrote:
>> Since some kernel version it is impossible to select the Enhanced Real
>> Time Clock Support (legacy PC RTC driver) because RTC_LIB is set by
>> default in arch/x86/Kconfig, but the rule for selecting CONFIG_RTC is
>> RTC_LIB=n. So the code of driver/char/rtc is still useless.
>>
>> This breaks the API since there is no more misc device /dev/rtc
>> available without a udev rule or a link to /dev/rtc0.
So yea.. I feel like that /dev/rtcN renaming (and API) break (which
was a huge and annoying pain) was back in the 2.6.18-ish era?
But it sounds like the driver/char/rtc bit is dead code, and needs a
cleanup? Or is there some use of that code that you need that the
generic RTC layer doesn't have?
thanks
-john
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X86: Impossible select Enhanced Real Time Clock Support (legacy PC RTC driver)
2014-04-28 18:16 ` John Stultz
@ 2014-04-28 18:20 ` Alessandro Zummo
2014-05-02 20:03 ` Stefani Seibold
2014-05-05 23:34 ` Maciej W. Rozycki
0 siblings, 2 replies; 7+ messages in thread
From: Alessandro Zummo @ 2014-04-28 18:20 UTC (permalink / raw)
To: John Stultz
Cc: Randy Dunlap, Stefani Seibold, linux-kernel@vger.kernel.org,
Greg KH, rtc-linux@googlegroups.com, Prarit Bhargava
On Mon, 28 Apr 2014 11:16:37 -0700
John Stultz <john.stultz@linaro.org> wrote:
> >> This breaks the API since there is no more misc device /dev/rtc
> >> available without a udev rule or a link to /dev/rtc0.
>
> So yea.. I feel like that /dev/rtcN renaming (and API) break (which
> was a huge and annoying pain) was back in the 2.6.18-ish era?
It's very old and linking/renaming is around since then.
> But it sounds like the driver/char/rtc bit is dead code, and needs a
> cleanup? Or is there some use of that code that you need that the
> generic RTC layer doesn't have?
as far as I know, no recent distribution is using the old code
anymore and the new (well, not so new anymore) framework provides the same functionality.
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X86: Impossible select Enhanced Real Time Clock Support (legacy PC RTC driver)
2014-04-28 18:20 ` Alessandro Zummo
@ 2014-05-02 20:03 ` Stefani Seibold
2014-05-05 23:34 ` Maciej W. Rozycki
1 sibling, 0 replies; 7+ messages in thread
From: Stefani Seibold @ 2014-05-02 20:03 UTC (permalink / raw)
To: Alessandro Zummo
Cc: John Stultz, Randy Dunlap, linux-kernel@vger.kernel.org, Greg KH,
rtc-linux@googlegroups.com, Prarit Bhargava
On Mon, 2014-04-28 at 20:20 +0200, Alessandro Zummo wrote:
> On Mon, 28 Apr 2014 11:16:37 -0700
> John Stultz <john.stultz@linaro.org> wrote:
>
> > >> This breaks the API since there is no more misc device /dev/rtc
> > >> available without a udev rule or a link to /dev/rtc0.
> >
> > So yea.. I feel like that /dev/rtcN renaming (and API) break (which
> > was a huge and annoying pain) was back in the 2.6.18-ish era?
>
> It's very old and linking/renaming is around since then.
>
> > But it sounds like the driver/char/rtc bit is dead code, and needs a
> > cleanup? Or is there some use of that code that you need that the
> > generic RTC layer doesn't have?
>
The driver/char/rtc is not working code and should be a wrapper to the
first rtc device.
> as far as I know, no recent distribution is using the old code
> anymore and the new (well, not so new anymore) framework provides the same functionality.
>
Embedded distribution use it and depending on the /dev/rtc device. So
what is missing is the /dev/rtc misc device 10,135.
- Stefani
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X86: Impossible select Enhanced Real Time Clock Support (legacy PC RTC driver)
2014-04-28 18:20 ` Alessandro Zummo
2014-05-02 20:03 ` Stefani Seibold
@ 2014-05-05 23:34 ` Maciej W. Rozycki
2014-05-06 9:56 ` [rtc-linux] " Alessandro Zummo
1 sibling, 1 reply; 7+ messages in thread
From: Maciej W. Rozycki @ 2014-05-05 23:34 UTC (permalink / raw)
To: Alessandro Zummo
Cc: John Stultz, Randy Dunlap, Stefani Seibold,
linux-kernel@vger.kernel.org, Greg KH, rtc-linux@googlegroups.com,
Prarit Bhargava
On Mon, 28 Apr 2014, Alessandro Zummo wrote:
> > But it sounds like the driver/char/rtc bit is dead code, and needs a
> > cleanup? Or is there some use of that code that you need that the
> > generic RTC layer doesn't have?
>
> as far as I know, no recent distribution is using the old code anymore
> and the new (well, not so new anymore) framework provides the same
> functionality.
Well, the handling of update-ended interrupts is still missing, as is
some non-x86 stuff I posted a fix for recently (still pending review, can
you please look into it sometime?).
Maciej
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [rtc-linux] Re: X86: Impossible select Enhanced Real Time Clock Support (legacy PC RTC driver)
2014-05-05 23:34 ` Maciej W. Rozycki
@ 2014-05-06 9:56 ` Alessandro Zummo
0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Zummo @ 2014-05-06 9:56 UTC (permalink / raw)
To: rtc-linux
Cc: macro, John Stultz, Randy Dunlap, Stefani Seibold,
linux-kernel@vger.kernel.org, Greg KH, Prarit Bhargava
On Tue, 6 May 2014 00:34:41 +0100 (BST)
"Maciej W. Rozycki" <macro@linux-mips.org> wrote:
> Well, the handling of update-ended interrupts is still missing, as is
> some non-x86 stuff I posted a fix for recently (still pending review, can
> you please look into it sometime?).
Done, sorry for the delay.
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-05-06 9:56 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-13 19:05 X86: Impossible select Enhanced Real Time Clock Support (legacy PC RTC driver) Stefani Seibold
2014-04-21 17:58 ` Randy Dunlap
2014-04-28 18:16 ` John Stultz
2014-04-28 18:20 ` Alessandro Zummo
2014-05-02 20:03 ` Stefani Seibold
2014-05-05 23:34 ` Maciej W. Rozycki
2014-05-06 9:56 ` [rtc-linux] " Alessandro Zummo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox