Skip to content
Commit e00dc69b authored by Arun Easi's avatar Arun Easi Committed by Bjorn Helgaas
Browse files

PCI: Allow VPD access for QLogic ISP2722

0d5370d1 ("PCI: Prevent VPD access for QLogic ISP2722") disabled access
to VPD of the ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter because
reading past the end of the VPD caused NMIs.

104daa71 ("PCI: Determine actual VPD size on first access") limits
reads to the actual size of VPD, which should prevent these NMIs.

104daa71 was merged *before* 0d5370d1, but we think the testing
that prompted 0d5370d1 ("PCI: Prevent VPD access for QLogic ISP2722")
was done with a kernel that lacked 104daa71.  See [1, 2].

Remove the quirk added by 0d5370d1 ("PCI: Prevent VPD access for QLogic
ISP2722") so customers can read the HBA VPD.

[1] https://lore.kernel.org/linux-pci/alpine.LRH.2.21.9999.2012161641230.28924@irv1user01.caveonetworks.com/
[2] https://lore.kernel.org/linux-pci/alpine.LRH.2.21.9999.2104071535110.13940@irv1user01.caveonetworks.com/
[bhelgaas: commit log]
Link: https://lore.kernel.org/r/20210409215153.16569-2-aeasi@marvell.com


Signed-off-by: default avatarArun Easi <aeasi@marvell.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org      # v4.6+
parent 5881b389
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment