linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 16-bit _SEG vs 8 bit PCIe Flit mode Segment
@ 2022-11-01 14:49 Bjorn Helgaas
  2022-11-02 15:33 ` Dimitri Sivanich
  0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Helgaas @ 2022-11-01 14:49 UTC (permalink / raw)
  To: Steve Wahl
  Cc: Mike Travis, Dimitri Sivanich, Russ Anderson, Robin Holt,
	Rafael J. Wysocki, linux-acpi, linux-pci, linux-kernel

ACPI r6.5, sec 6.5.6, currently says the low 16 bits of _SEG are the
PCI Segment Group number.  PCIe r6.0, sec 2.2.1.2, added Flit mode
with TLP headers that may contain an 8-bit Segment number.

ACPI currently says _SEG is purely a software thing and has no
connection to any physical entities.  But this may get a little blurry
when Segment numbers appear in TLPs.  For example, AER header logs
will likely contain the Flit Segment, and we'll need to correlate that
with the _SEG-derived identifiers Linux uses.

One possibility is to reduce the width of _SEG to 8 bits to match the
Flit mode Segment and require them to be identical.

I'm trying to figure out whether that would break any existing
systems.  I've heard rumors that large systems like SGI UV may use
more than 8 bits of _SEG.  But I don't know any details.

Bjorn

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

end of thread, other threads:[~2022-11-02 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-01 14:49 16-bit _SEG vs 8 bit PCIe Flit mode Segment Bjorn Helgaas
2022-11-02 15:33 ` Dimitri Sivanich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).