]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/VPD: Prevent VPD access for Amazon's Annapurna Labs Root Port
authorJonathan Chocron <jonnyc@amazon.com>
Thu, 12 Sep 2019 13:00:41 +0000 (16:00 +0300)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 16 Sep 2019 13:10:09 +0000 (14:10 +0100)
commit833a49f3127a455b0e509fbd3a251a8716beba24
treece8e850f38727425a314e607d9ed4510e74f7108
parent7a5e90e4d1e72c9e1e2eb53d9bc91e8ed7fa3bf6
PCI/VPD: Prevent VPD access for Amazon's Annapurna Labs Root Port

The Amazon Annapurna Labs PCIe Root Port exposes the VPD capability,
but there is no actual support for it.

Trying to access the VPD (for example, as part of lspci -vv or when
reading the vpd sysfs file), results in the following warning print:

  pcieport 0001:00:00.0: VPD access failed.  This is likely a firmware bug on this device.  Contact the card vendor for a firmware update

Signed-off-by: Jonathan Chocron <jonnyc@amazon.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/vpd.c