** Changed in: linux (Ubuntu Focal)
     Assignee: Jesse Sung (wenchien) => Dimitri John Ledkov (xnox)

** Changed in: linux (Ubuntu)
     Assignee: Jesse Sung (wenchien) => Dimitri John Ledkov (xnox)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1952077

Title:
  System time doesn't sync with RTC time on boot

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Focal:
  Confirmed

Bug description:
  == Impact ==
  Although we have CONFIG_RTC_HCTOSYS enabled and set CONFIG_RTC_HCTOSYS_DEVICE 
to "rtc0", system time would only be set if the RTC driver is built-in. This 
may not be an issue on most amd64 systems because CONFIG_RTC_DRV_CMOS is y for 
amd64, however it is an issue for other architectures since there may not be a 
proper RTC driver enabled as built-in. Also making every RTC driver that may be 
used as built-in is not a good option.

  == Fix ==
  The commit is in mainline since v5.7:

  commit f9b2a4d6a5f18e0aaf715206a056565c56889d9f
  Author: Steve Muckle <smuc...@google.com>
  Date:   Wed Nov 6 11:46:25 2019 -0800

      rtc: class: support hctosys from modular RTC drivers

      Due to distribution constraints it may not be possible to statically
      compile the required RTC driver into the kernel.

      Expand RTC_HCTOSYS support to cover all RTC devices (statically compiled
      or not) by checking at the end of RTC device registration whether the
      time should be synced.

      Signed-off-by: Steve Muckle <smuc...@google.com>
      Link: https://lore.kernel.org/r/20191106194625.116692-1-smuc...@google.com
      Signed-off-by: Alexandre Belloni <alexandre.bell...@bootlin.com>

  == Risk of Regression ==
  It's a clean cherry-pick for v5.4 and looks straight forward so risk should 
be low.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1952077/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to