PCIe PTM time adjustment
Hi,
We are using "Intel(R) Xeon(R) E-2334 CPU @ 3.40GHz" processor to test PCIe PTM with a third party PCIe NIC card. We see that PTM is supported on the PCI bridge (below is the lspci output)
00:00.0 Host bridge: Intel Corporation Device 4c63 (rev 01)
00:01.0 PCI bridge: Intel Corporation Device 4c01 (rev 01)
lspci -d :4c01 -vv
...
Capabilities: [150 v1] Precision Time Measurement
PTMCap: Requester:- Responder:+ Root:+
PTMClockGranularity: 4ns
PTMControl: Enabled:+ RootSelected:+
PTMEffectiveGranularity: Unknown
...
We found that the PTM time is showing the "uptime" of the x86 system(say 4 days). We read this using ART time using sample program using "rdtsc" instruction from x86. How can we synchronize x86 system time to PCIe PTM? so that the PTM requester sees the x86 system time in the PTM messages.
Please let us know any further information is required in this regard.