Public bug reported:

Please update the ena driver in the default AWS images to 2.10.x or
later.  This is to enable use of the PTP hardware clock (PHC) for high
resolution timekeeping.  https://github.com/amzn/amzn-
drivers/tree/master/kernel/linux/ena#ptp-hardware-clock-phc

Ideally it would be accompanied with a configuration which sets `option
phc_enable 1` in `/etc/modprobe.d/`, reads the error bound from
`/sys/devices/pci0000:00/0000:00:05.0/phc_error_bound` and adds an
appropriate chrony config snippet to `/etc/chrony/conf.d/` to use this
as a source per https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-
time.html#ptp-hardware-clock-requirements, but just making the driver
available for users to configure would be a good step.

This is only relevant on r7g instances in ap-northeast-1 (Tokyo) at the
moment, but is apparently rolling out to other instances and regions.
https://aws.amazon.com/about-aws/whats-new/2023/11/amazon-time-sync-
service-microsecond-accurate-time/

** Affects: linux-aws (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Please update the ena driver in the default AWS images to 2.10.x or
  later.  This is to enable use of the PTP hardware clock (PHC) for high
  resolution timekeeping.  https://github.com/amzn/amzn-
  drivers/tree/master/kernel/linux/ena#ptp-hardware-clock-phc
  
  Ideally it would be accompanied with a configuration which sets `option
- phc_enable 1`, reads the error bound from
+ phc_enable 1` in `/etc/modprobe.d/`, reads the error bound from
  `/sys/devices/pci0000:00/0000:00:05.0/phc_error_bound` and adds an
  appropriate chrony config snippet to `/etc/chrony/conf.d/` to use this
  as a source per https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-
  time.html#ptp-hardware-clock-requirements, but just making the driver
  available for users to configure would be a good step.
  
  This is only relevant on r7g instances in ap-northeast-1 (Tokyo) at the
  moment, but is apparently rolling out to other instances and regions.
  https://aws.amazon.com/about-aws/whats-new/2023/11/amazon-time-sync-
  service-microsecond-accurate-time/

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

Title:
  Update ena to 2.10.x or later

Status in linux-aws package in Ubuntu:
  New

Bug description:
  Please update the ena driver in the default AWS images to 2.10.x or
  later.  This is to enable use of the PTP hardware clock (PHC) for high
  resolution timekeeping.  https://github.com/amzn/amzn-
  drivers/tree/master/kernel/linux/ena#ptp-hardware-clock-phc

  Ideally it would be accompanied with a configuration which sets
  `option phc_enable 1` in `/etc/modprobe.d/`, reads the error bound
  from `/sys/devices/pci0000:00/0000:00:05.0/phc_error_bound` and adds
  an appropriate chrony config snippet to `/etc/chrony/conf.d/` to use
  this as a source per
  https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html#ptp-
  hardware-clock-requirements, but just making the driver available for
  users to configure would be a good step.

  This is only relevant on r7g instances in ap-northeast-1 (Tokyo) at
  the moment, but is apparently rolling out to other instances and
  regions.  https://aws.amazon.com/about-aws/whats-new/2023/11/amazon-
  time-sync-service-microsecond-accurate-time/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-aws/+bug/2054688/+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