linux/arch/s390/include
Niklas Schnelle fbb370c01e s390/pci: Use topology ID for multi-function devices
[ Upstream commit 126034faaa ]

The newly introduced topology ID (TID) field in the CLP Query PCI
Function explicitly identifies groups of PCI functions whose RIDs belong
to the same (sub-)topology. When available use the TID instead of the
PCHID to match zPCI busses/domains for multi-function devices. Note that
currently only a single PCI bus per TID is supported. This change is
required because in future machines the PCHID will not identify a PCI
card but a specific port in the case of some multi-port NICs while from
a PCI point of view the entire card is a subtopology.

Reviewed-by: Gerd Bayer <gbayer@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-12-14 20:03:35 +01:00
..
asm s390/pci: Use topology ID for multi-function devices 2024-12-14 20:03:35 +01:00
uapi/asm s390/pkey: Add AES xts and HMAC clear key token support 2024-09-05 15:17:23 +02:00