Re: [PATCH 5/9 v3] RFC: timekeeping: rtc: Introduce new kernel parameterhctosys

From: John Stultz
Date: Fri Jun 14 2013 - 15:24:17 EST

On 06/14/2013 09:52 AM, Alexander Holler wrote:
hctosys= specifies the driver (RTC) name which sets the system clock at
boot, if and only if userspace hasn't set the time before the driver will
be loaded.

If hctosys will not be specified, the first available hardware clock
with a valid time will be used (again, if and only if ...).

If you don't want that the system clock will be set by any hardware clock,
just specify a non-existent RTC driver name, e.g. with hctosys=none.

So what was the rational for this to be a boot time argument instead of using the existing compile time CONFIG_RTC_HCTOSYS_DEVICE?

If we need a boot argument, that's still doable, but it probably should fall back to CONFIG_RTC_HCTOSYS_DEVICE if not specified.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at