lspci: Decode PTM Registers
Subsystems (2)
PATCH 1/1 lspci: Decode PTM Registers
This patch allows lspci to decode Precision Time Measurement as per the PCI Express 3.1 specification.
Yong, Jonathan (1):
lspci: Decode Precision Time Measurement capabiltity
lib/header.h | 1 + ls-ecaps.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+)
Signature · 1 line
2.7.3
PATCH 1/1 lspci: Decode Precision Time Measurement capabiltity
Section 7.32 Precision Time Management (or Measurement) from the PCI Express Base 3.1 specification is an optional Extended Capability for discovering and controlling the distribution of a PTM Hierarchy.
--- lib/header.h | 1 + ls-ecaps.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+)
lib/header.h +1 -0
@@ -230,6 +230,7 @@#define PCI_EXT_CAP_ID_LTR 0x18/* Latency Tolerance Reporting */ #define PCI_EXT_CAP_ID_PASID 0x1b/* Process Address Space ID */ #define PCI_EXT_CAP_ID_L1PM 0x1e/* L1 PM Substates */ +#define PCI_EXT_CAP_ID_PTM 0x1f/* Precision Time Measurement */ /*** Definitions of capabilities ***/
ls-ecaps.c +62 -0
74 lines not on this page · raw message
Signature · 1 line
2.7.3
Martin Mares
AppliedRe: [PATCH] lspci: Decode Precision Time Measurement capabiltity
Hello!
Quoted 3 lines
Section 7.32 Precision Time Management (or Measurement) from the PCI Express Base 3.1 specification is an optional Extended Capability for discovering and controlling the distribution of a PTM Hierarchy.
Thanks, applied.
Could you please provide a test case, similar to those in tests/* ?
Have a nice fortnight
Signature · 3 lines
Martin `MJ' Mares <[email protected]> http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth Weather forecast for tonight: dark.
Re: [PATCH] lspci: Decode Precision Time Measurement capabiltity
Quoted 6 lines · Martin Mares
Hello!
Quoted 3 lines
Section 7.32 Precision Time Management (or Measurement) from the PCI Express Base 3.1 specification is an optional Extended Capability for discovering and controlling the distribution of a PTM Hierarchy.
Quoted 6 lines
Thanks, applied.
Could you please provide a test case, similar to those in tests/* ?
Have a nice fortnight
Hi,
How do I generate those? Looks like a dump of lspci -vvnnxxxx against a specific device.
Re: [PATCH] lspci: Decode Precision Time Measurement capabiltity
Hi!
Quoted 2 lines
How do I generate those? Looks like a dump of lspci -vvnnxxxx against a specific device.
It's exactly that :)
Martin