Hi,
I have Nvidia Orin Kit, testing PTP/PTM. Now my driver wants to read the PCIe root complex PTM Master time. This is also called as “PTM Responder” time.
Do we have any Linux Kernel any platform specific routines?
OR
Else, can you please let me know how to read?
Thanks, and Regards
-Naresh Bhat
2 Likes
I am looking for any Linux Kernel routine implemented by Nvidia to read the following offset
/* PCIE_X8_RC_PF0_PTM_RES_CAP_PTM_RES_LOCAL_LSB_OFF_0 (Offset: 0x330) - Ref: NVIDIA Orin Series System-on-Chip Technical Reference Manual, Page 7798 */
pci_read_config_dword(ORINpdev, PCIE_X8_RC_PF0_PTM_RES_CAP_PTM_RES_LOCAL_LSB_OFF_0, ®_data);
/* PCIE_X8_RC_PF0_PTM_RES_CAP_PTM_RES_LOCAL_MSB_OFF_0 (Offset: 0x334) - Ref: NVIDIA Orin Series System-on-Chip Technical Reference Manual, Page 7799 */
pci_read_config_dword(ORINpdev, PCIE_X8_RC_PF0_PTM_RES_CAP_PTM_RES_LOCAL_MSB_OFF_0, ®_data);