Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-20 Thread Alexander Holler
Am 20.06.2013 21:28, schrieb John Stultz: But ntpd can be installed afterwards, and it would be silly to require users edit their boot arguments when installing the ntp package. This point you left un-addressed, and is the key problem I see with requiring boot arguments. There is no

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-20 Thread John Stultz
On 06/20/2013 11:45 AM, Alexander Holler wrote: Am 20.06.2013 19:27, schrieb John Stultz: On 06/20/2013 03:15 AM, Alexander Holler wrote: Therefor there now will be hctosys as a kernel command line parameter. Instead of a kernel config option which can't be changed by 99% of all Linux users,

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-20 Thread Alexander Holler
Am 20.06.2013 19:27, schrieb John Stultz: On 06/20/2013 03:15 AM, Alexander Holler wrote: Am 17.06.2013 20:10, schrieb John Stultz: On 06/14/2013 11:01 PM, Alexander Holler wrote: What do you think I should write? void set_systime_was_set(void) and void clear_systime_was_set(void)? And

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-20 Thread John Stultz
On 06/20/2013 03:15 AM, Alexander Holler wrote: Am 17.06.2013 20:10, schrieb John Stultz: On 06/14/2013 11:01 PM, Alexander Holler wrote: What do you think I should write? void set_systime_was_set(void) and void clear_systime_was_set(void)? And both functions would have to be exported in

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-20 Thread Alexander Holler
Am 17.06.2013 20:10, schrieb John Stultz: On 06/14/2013 11:01 PM, Alexander Holler wrote: Am 14.06.2013 20:28, schrieb John Stultz: On 06/14/2013 11:05 AM, Alexander Holler wrote: Am 14.06.2013 19:41, schrieb John Stultz: On 06/14/2013 09:52 AM, Alexander Holler wrote: In order to let an

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-20 Thread Alexander Holler
Am 17.06.2013 20:10, schrieb John Stultz: On 06/14/2013 11:01 PM, Alexander Holler wrote: Am 14.06.2013 20:28, schrieb John Stultz: On 06/14/2013 11:05 AM, Alexander Holler wrote: Am 14.06.2013 19:41, schrieb John Stultz: On 06/14/2013 09:52 AM, Alexander Holler wrote: In order to let an

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-20 Thread John Stultz
On 06/20/2013 03:15 AM, Alexander Holler wrote: Am 17.06.2013 20:10, schrieb John Stultz: On 06/14/2013 11:01 PM, Alexander Holler wrote: What do you think I should write? void set_systime_was_set(void) and void clear_systime_was_set(void)? And both functions would have to be exported in

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-20 Thread Alexander Holler
Am 20.06.2013 19:27, schrieb John Stultz: On 06/20/2013 03:15 AM, Alexander Holler wrote: Am 17.06.2013 20:10, schrieb John Stultz: On 06/14/2013 11:01 PM, Alexander Holler wrote: What do you think I should write? void set_systime_was_set(void) and void clear_systime_was_set(void)? And

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-20 Thread John Stultz
On 06/20/2013 11:45 AM, Alexander Holler wrote: Am 20.06.2013 19:27, schrieb John Stultz: On 06/20/2013 03:15 AM, Alexander Holler wrote: Therefor there now will be hctosys as a kernel command line parameter. Instead of a kernel config option which can't be changed by 99% of all Linux users,

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-20 Thread Alexander Holler
Am 20.06.2013 21:28, schrieb John Stultz: But ntpd can be installed afterwards, and it would be silly to require users edit their boot arguments when installing the ntp package. This point you left un-addressed, and is the key problem I see with requiring boot arguments. There is no

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-17 Thread John Stultz
On 06/14/2013 11:01 PM, Alexander Holler wrote: Am 14.06.2013 20:28, schrieb John Stultz: On 06/14/2013 11:05 AM, Alexander Holler wrote: Am 14.06.2013 19:41, schrieb John Stultz: On 06/14/2013 09:52 AM, Alexander Holler wrote: In order to let an RTC set the time at boot without the problem

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-17 Thread John Stultz
On 06/14/2013 11:01 PM, Alexander Holler wrote: Am 14.06.2013 20:28, schrieb John Stultz: On 06/14/2013 11:05 AM, Alexander Holler wrote: Am 14.06.2013 19:41, schrieb John Stultz: On 06/14/2013 09:52 AM, Alexander Holler wrote: In order to let an RTC set the time at boot without the problem

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-15 Thread Alexander Holler
Am 14.06.2013 20:28, schrieb John Stultz: On 06/14/2013 11:05 AM, Alexander Holler wrote: Am 14.06.2013 19:41, schrieb John Stultz: On 06/14/2013 09:52 AM, Alexander Holler wrote: In order to let an RTC set the time at boot without the problem that a second RTC overwrites it, the flag

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-15 Thread Alexander Holler
Am 14.06.2013 20:28, schrieb John Stultz: On 06/14/2013 11:05 AM, Alexander Holler wrote: Am 14.06.2013 19:41, schrieb John Stultz: On 06/14/2013 09:52 AM, Alexander Holler wrote: In order to let an RTC set the time at boot without the problem that a second RTC overwrites it, the flag

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-14 Thread John Stultz
On 06/14/2013 11:05 AM, Alexander Holler wrote: Am 14.06.2013 19:41, schrieb John Stultz: On 06/14/2013 09:52 AM, Alexander Holler wrote: In order to let an RTC set the time at boot without the problem that a second RTC overwrites it, the flag systime_was_set is introduced. systime_was_set

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-14 Thread Alexander Holler
Am 14.06.2013 19:41, schrieb John Stultz: On 06/14/2013 09:52 AM, Alexander Holler wrote: In order to let an RTC set the time at boot without the problem that a second RTC overwrites it, the flag systime_was_set is introduced. systime_was_set will be true, if a persistent clock sets the time

Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-14 Thread John Stultz
On 06/14/2013 09:52 AM, Alexander Holler wrote: In order to let an RTC set the time at boot without the problem that a second RTC overwrites it, the flag systime_was_set is introduced. systime_was_set will be true, if a persistent clock sets the time at boot, or if do_settimeofday() is called

[PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-14 Thread Alexander Holler
In order to let an RTC set the time at boot without the problem that a second RTC overwrites it, the flag systime_was_set is introduced. systime_was_set will be true, if a persistent clock sets the time at boot, or if do_settimeofday() is called (e.g. by the RTC subsystem or userspace).

[PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-14 Thread Alexander Holler
In order to let an RTC set the time at boot without the problem that a second RTC overwrites it, the flag systime_was_set is introduced. systime_was_set will be true, if a persistent clock sets the time at boot, or if do_settimeofday() is called (e.g. by the RTC subsystem or userspace).

Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-14 Thread John Stultz
On 06/14/2013 09:52 AM, Alexander Holler wrote: In order to let an RTC set the time at boot without the problem that a second RTC overwrites it, the flag systime_was_set is introduced. systime_was_set will be true, if a persistent clock sets the time at boot, or if do_settimeofday() is called

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-14 Thread Alexander Holler
Am 14.06.2013 19:41, schrieb John Stultz: On 06/14/2013 09:52 AM, Alexander Holler wrote: In order to let an RTC set the time at boot without the problem that a second RTC overwrites it, the flag systime_was_set is introduced. systime_was_set will be true, if a persistent clock sets the time

Re: [rtc-linux] Re: [PATCH 4/9 RESEND] RFC: timekeeping: introduce flag systime_was_set

2013-06-14 Thread John Stultz
On 06/14/2013 11:05 AM, Alexander Holler wrote: Am 14.06.2013 19:41, schrieb John Stultz: On 06/14/2013 09:52 AM, Alexander Holler wrote: In order to let an RTC set the time at boot without the problem that a second RTC overwrites it, the flag systime_was_set is introduced. systime_was_set