Re: [PATCH] pci: Update VPD size with correct length

2015-12-16 Thread kbuild test robot
Hi Hannes, [auto build test ERROR on pci/next] [also build test ERROR on v4.4-rc5 next-20151216] url: https://github.com/0day-ci/linux/commits/Hannes-Reinecke/pci-Update-VPD-size-with-correct-length/20151216-183013 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next c

[PATCH] pci: Update VPD size with correct length

2015-12-16 Thread Hannes Reinecke
PCI-2.2 VPD entries have a maximum size of 32k, but might actually be smaller than that. To figure out the actual size one has to read the VPD area until the 'end marker' is reached. Trying to read VPD data beyond that marker results in 'interesting' effects, from simple read errors to crashing the

Re: [PATCH] pci: Update VPD size with correct length

2015-11-25 Thread Alexander Duyck
On 11/25/2015 09:17 AM, Bjorn Helgaas wrote: Hi Hannes, On Sun, Oct 25, 2015 at 04:34:34AM +0100, Hannes Reinecke wrote: On 10/24/2015 02:52 AM, Alexander Duyck wrote: On 10/23/2015 02:09 AM, Hannes Reinecke wrote: PCI-2.2 VPD entries have a maximum size of 32k, but might actually be smaller

Re: [PATCH] pci: Update VPD size with correct length

2015-11-25 Thread Bjorn Helgaas
Hi Hannes, On Sun, Oct 25, 2015 at 04:34:34AM +0100, Hannes Reinecke wrote: > On 10/24/2015 02:52 AM, Alexander Duyck wrote: > > On 10/23/2015 02:09 AM, Hannes Reinecke wrote: > >> PCI-2.2 VPD entries have a maximum size of 32k, but might actually > >> be smaller than that. To figure out the actua

Re: [PATCH] pci: Update VPD size with correct length

2015-10-24 Thread Hannes Reinecke
On 10/24/2015 02:52 AM, Alexander Duyck wrote: > On 10/23/2015 02:09 AM, Hannes Reinecke wrote: >> PCI-2.2 VPD entries have a maximum size of 32k, but might actually >> be smaller than that. To figure out the actual size one has to read >> the VPD area until the 'end marker' is reached. >> Trying t

Re: [PATCH] pci: Update VPD size with correct length

2015-10-23 Thread Alexander Duyck
On 10/23/2015 02:09 AM, Hannes Reinecke wrote: PCI-2.2 VPD entries have a maximum size of 32k, but might actually be smaller than that. To figure out the actual size one has to read the VPD area until the 'end marker' is reached. Trying to read VPD data beyond that marker results in 'interesting'

Re: [PATCH] pci: Update VPD size with correct length

2015-10-23 Thread kbuild test robot
Hi Hannes, [auto build test WARNING on pci/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Hannes-Reinecke/pci-Update-VPD-size-with-correct-length/20151023-171224 reproduce: # apt-get install

[PATCH] pci: Update VPD size with correct length

2015-10-23 Thread Hannes Reinecke
PCI-2.2 VPD entries have a maximum size of 32k, but might actually be smaller than that. To figure out the actual size one has to read the VPD area until the 'end marker' is reached. Trying to read VPD data beyond that marker results in 'interesting' effects, from simple read errors to crashing the