[OS-BUILD PATCHv2] common: enable RTC_SYSTOHC to supplement update_persistent_clock64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Peter Robinson <pbrobinson@xxxxxxxxx>

We already enable RTC_HCTOSYS in common config, this is the inverse
for syncing NTP to HW RTCs, and seems slightly better/preferred on
non x86-style CMOS RTCa than update_persistent_clock.

Set the device to rtc0, the same as we set RTC_HCTOSYS to.

Signed-off-by: Peter Robinson <pbrobinson@xxxxxxxxx>
---
 redhat/configs/common/generic/CONFIG_RTC_SYSTOHC        | 2 +-
 redhat/configs/common/generic/CONFIG_RTC_SYSTOHC_DEVICE | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 redhat/configs/common/generic/CONFIG_RTC_SYSTOHC_DEVICE

diff --git a/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC b/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC
index 03ebe734a152..f3581c76b8c6 100644
--- a/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC
+++ b/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC
@@ -1 +1 @@
-# CONFIG_RTC_SYSTOHC is not set
+CONFIG_RTC_SYSTOHC=y
diff --git a/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC_DEVICE b/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC_DEVICE
new file mode 100644
index 000000000000..031950602e96
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC_DEVICE
@@ -0,0 +1 @@
+CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
-- 
GitLab
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux