mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] cxl: Fix link latency calculations and QTG latency units
@ 2026-10-09  4:54 Koichiro Den
  2026-10-09  4:54 ` [PATCH 1/3] cxl/port: Convert PCIe link latency to nanoseconds Koichiro Den
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Koichiro Den @ 2026-10-09  4:54 UTC (permalink / raw)
  To: Dave Jiang, Davidlohr Bueso, Jonathan Cameron, Alison Schofield,
	Vishal Verma, Dan Williams, Bjorn Helgaas
  Cc: Ira Weiny, Li Ming, Richard Cheng, Terry Bowman,
	Alejandro Lucero, linux-cxl, linux-kernel, linux-pci

Hi,

This small series intends to correct the FlitLatency portion of the link
latency calculation, as per Intel CXL Type 3 Memory Device Software
Guide 1.1, and restore picosecond latency units for the QTG _DSM input.

The first two issues were found while debugging a QEMU guest. The third
issue was spotted while looking through the code that uses the coord
values. I haven't tested it on real hardware.

Best regards,
Koichiro Den


Koichiro Den (3):
  cxl/port: Convert PCIe link latency to nanoseconds
  cxl: Account for link width in latency calculation
  cxl/acpi: Convert QTG _DSM latencies to picoseconds

 drivers/cxl/acpi.c      | 10 ++++++++--
 drivers/cxl/core/pci.c  | 22 ++++++++--------------
 drivers/cxl/core/port.c |  3 +++
 drivers/pci/pci.c       | 23 ++++++++++++++++++-----
 include/linux/pci.h     |  2 +-
 5 files changed, 38 insertions(+), 22 deletions(-)


base-commit: 71392a644e88c6bb921cdf12cb2b00adec070fe4
-- 
2.51.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-10-09 21:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09  4:54 [PATCH 0/3] cxl: Fix link latency calculations and QTG latency units Koichiro Den
2026-10-09  4:54 ` [PATCH 1/3] cxl/port: Convert PCIe link latency to nanoseconds Koichiro Den
2026-10-09 18:22   ` Alison Schofield
2026-10-09  4:54 ` [PATCH 2/3] cxl: Account for link width in latency calculation Koichiro Den
2026-10-09 15:09   ` Bjorn Helgaas
2026-10-09 18:26   ` Alison Schofield
2026-10-09  4:54 ` [PATCH 3/3] cxl/acpi: Convert QTG _DSM latencies to picoseconds Koichiro Den
2026-10-09 18:27   ` Alison Schofield
2026-10-09 17:15 ` [PATCH 0/3] cxl: Fix link latency calculations and QTG latency units Dave Jiang
2026-10-09 21:49 ` Dave Jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®