Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1293629

RE: [PATCHv2] pci: Update VPD size with correct length

From "Seymour, Shane M" <shane.seymour@hpe.com>
Newsgroups linux.kernel
Subject RE: [PATCHv2] pci: Update VPD size with correct length
Date 2015-12-17 06:30 +0100
Message-ID <qGziz-3tt-37@gated-at.bofh.it> (permalink)
References <qGhYm-Gy-21@gated-at.bofh.it> <qGnKq-4Bl-31@gated-at.bofh.it> <qGnU5-4Ey-7@gated-at.bofh.it> <qGpsS-5tw-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> The only 'error' cases I've encountered so far is a read of all zeroes (and a
> halting the machine once you've read beyond a certain point) or a read of
> 0xff throughout the entire area. So that approach would work for both of them.

I should add that I'd tested the previous patch and this patch. I'll retest once v3 is available.

I have a card that repeats the vpd data every 4k for all 32k. The patch as it stands truncates that to just the valid data and lspci -vvvv shows the vpd data correctly.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCHv2] pci: Update VPD size with correct length Hannes Reinecke <hare@suse.de> - 2015-12-16 12:00 +0100
  Re: [PATCHv2] pci: Update VPD size with correct length Alexander Duyck <alexander.duyck@gmail.com> - 2015-12-16 18:00 +0100
    Re: [PATCHv2] pci: Update VPD size with correct length Hannes Reinecke <hare@suse.de> - 2015-12-16 18:10 +0100
      Re: [PATCHv2] pci: Update VPD size with correct length Alexander Duyck <alexander.duyck@gmail.com> - 2015-12-16 18:20 +0100
        Re: [PATCHv2] pci: Update VPD size with correct length Hannes Reinecke <hare@suse.de> - 2015-12-16 20:00 +0100
          RE: [PATCHv2] pci: Update VPD size with correct length "Seymour, Shane M" <shane.seymour@hpe.com> - 2015-12-17 06:30 +0100

csiph-web