Debian Codegraph @

Documentation/ABI/testing/debugfs-pcie-ptm

raw
1 What: /sys/kernel/debug/pcie_ptm_*/local_clock
2 Date: May 2025
3 Contact: Manivannan Sadhasivam <[email protected]>
4 Description:
5 (RO) PTM local clock in nanoseconds. Applicable for both Root
6 Complex and Endpoint controllers.
7
8 What: /sys/kernel/debug/pcie_ptm_*/master_clock
9 Date: May 2025
10 Contact: Manivannan Sadhasivam <[email protected]>
11 Description:
12 (RO) PTM master clock in nanoseconds. Applicable only for
13 Endpoint controllers.
14
15 What: /sys/kernel/debug/pcie_ptm_*/t1
16 Date: May 2025
17 Contact: Manivannan Sadhasivam <[email protected]>
18 Description:
19 (RO) PTM T1 timestamp in nanoseconds. Applicable only for
20 Endpoint controllers.
21
22 What: /sys/kernel/debug/pcie_ptm_*/t2
23 Date: May 2025
24 Contact: Manivannan Sadhasivam <[email protected]>
25 Description:
26 (RO) PTM T2 timestamp in nanoseconds. Applicable only for
27 Root Complex controllers.
28
29 What: /sys/kernel/debug/pcie_ptm_*/t3
30 Date: May 2025
31 Contact: Manivannan Sadhasivam <[email protected]>
32 Description:
33 (RO) PTM T3 timestamp in nanoseconds. Applicable only for
34 Root Complex controllers.
35
36 What: /sys/kernel/debug/pcie_ptm_*/t4
37 Date: May 2025
38 Contact: Manivannan Sadhasivam <[email protected]>
39 Description:
40 (RO) PTM T4 timestamp in nanoseconds. Applicable only for
41 Endpoint controllers.
42
43 What: /sys/kernel/debug/pcie_ptm_*/context_update
44 Date: May 2025
45 Contact: Manivannan Sadhasivam <[email protected]>
46 Description:
47 (RW) Control the PTM context update mode. Applicable only for
48 Endpoint controllers.
49
50 Following values are supported:
51
52 * auto = PTM context auto update trigger for every 10ms
53
54 * manual = PTM context manual update. Writing 'manual' to this
55 file triggers PTM context update (default)
56
57 What: /sys/kernel/debug/pcie_ptm_*/context_valid
58 Date: May 2025
59 Contact: Manivannan Sadhasivam <[email protected]>
60 Description:
61 (RW) Control the PTM context validity (local clock timing).
62 Applicable only for Root Complex controllers. PTM context is
63 invalidated by hardware if the Root Complex enters low power
64 mode or changes link frequency.
65
66 Following values are supported:
67
68 * 0 = PTM context invalid (default)
69
70 * 1 = PTM context valid