News: 0001529760

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Years In The Making, Intel Timed I/O "TIO" Looks To Finally Land In Linux 6.15

([Intel] 6 Hours Ago Intel Timed I/O)


Intel Timed I/O "TIO" has been present on Intel processors going back to 2019 and the Linux driver support has been worked on for several years, but finally this year with the upcoming Linux 6.15 cycle is this Intel Timed I/O code expected to be merged.

It's been several years since last talking about [1]Intel Timed I/O for Linux as the new driver for Intel's 2019 and newer CPUs to help with time synchronization between multiple devices.

Intel Timed I/O Pulse Per Second (PPS) handling can allow for more accurate time synchronization between devices and at long last the mainline kernel is set to support it. The new documentation on Intel TIO explains:

"Intel Timed I/O is a high precision device, present on 2019 and newer Intel CPUs, that can generate PPS signals.

Timed I/O and system time are both driven by same hardware clock. The signal is generated with a precision of ~20 nanoseconds. The generated PPS signal is used to synchronize an external device with system clock. For example, it can be used to share your clock with a device that receives PPS signal, generated by Timed I/O device. There are dedicated Timed I/O pins to deliver the PPS signal to an external device.

Usage of Intel Timed I/O as PPS generator:

Start generating PPS signal:

$echo 1 > /sys/class/pps-gen/pps-genx/enable

Stop generating PPS signal:

$echo 0 > /sys/class/pps-gen/pps-genx/enable

With the pending Linux patches, the Intel Timed I/O support is gated by the new PPS_GENERATOR_TIO Kconfig switch.

After going through fifteen rounds of code review the past several years, the Intel Timed I/O patches were finally queued up a few days ago by Greg Kroah-Hartman into the [2]char-misc-next branch. With the code now in the "-next" branch of char/misc ahead of the Linux 6.15 merge window in late March, Intel Timed I/O will finally be merged barring any last minute objections or code issues from being reported.



[1] https://www.phoronix.com/news/Intel-Timed-IO-PPS-Linux-v2

[2] https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/log/?h=char-misc-next



ms178

euduvda

The strong individual loves the earth so much he lusts for recurrence. He
can smile in the face of the most terrible thought: meaningless, aimless
existence recurring eternally. The second characteristic of such a man is
that he has the strength to recognise -- and to live with the recognition --
that the world is valueless in itself and that all values are human ones.
He creates himself by fashoning his own values; he has the pride to live
by the values he wills.
-- Nietzsche