]> git.itanic.dy.fi Git - linux-stable/commit
PCI: aardvark: Add support for PCI Bridge Subsystem Vendor ID on emulated bridge
authorPali Rohár <pali@kernel.org>
Mon, 11 Jul 2022 22:59:15 +0000 (00:59 +0200)
committerLorenzo Pieralisi <lpieralisi@kernel.org>
Fri, 16 Sep 2022 12:39:44 +0000 (14:39 +0200)
commita080f9ad604598a4d32ea36fbf96437c92ccacb4
tree7be25b792ed458fa240617dc4527878636812688
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
PCI: aardvark: Add support for PCI Bridge Subsystem Vendor ID on emulated bridge

Register with Subsystem Device/Vendor ID is at offset 0x2c.

Export it via the emulated bridge to enable support for the Subsystem
Device/Vendor ID - by reading it in the PCI controller config space and
storing it in the emulated bridge control structures, so that it is
exposed in the respective PCI capability.

After this change Subsystem ID is visible in lspci output at line:

  Capabilities: [40] Subsystem

Link: https://lore.kernel.org/r/20220711225915.13896-1-pali@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
drivers/pci/controller/pci-aardvark.c