Re: [PATCH kernel v3] PCI: Enable access to custom VPD for Chelsio devices (cxgb3)

2016-11-23 Thread Bjorn Helgaas
On Mon, Oct 24, 2016 at 06:04:17PM +1100, Alexey Kardashevskiy wrote: > There is at least one Chelsio 10Gb card which uses VPD area to store > some custom blocks (example below). However pci_vpd_size() returns > the length of the first block only assuming that there can be only > one VPD "End Tag"

[PATCH kernel v3] PCI: Enable access to custom VPD for Chelsio devices (cxgb3)

2016-10-24 Thread Alexey Kardashevskiy
There is at least one Chelsio 10Gb card which uses VPD area to store some custom blocks (example below). However pci_vpd_size() returns the length of the first block only assuming that there can be only one VPD "End Tag" and VFIO blocks access beyond that offset (since 4e1a63555) which leads to