Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934487AbbLQLH5 (ORCPT ); Thu, 17 Dec 2015 06:07:57 -0500 Received: from g4t3426.houston.hp.com ([15.201.208.54]:43185 "EHLO g4t3426.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932318AbbLQLH4 convert rfc822-to-8bit (ORCPT ); Thu, 17 Dec 2015 06:07:56 -0500 From: "Seymour, Shane M" To: Hannes Reinecke , Bjorn Helgaas CC: Alexander Duyck , Michal Kubecek , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Bjorn Helgaas Subject: RE: [PATCH 2/2] pci: Update VPD size with correct length Thread-Topic: [PATCH 2/2] pci: Update VPD size with correct length Thread-Index: AQHROKDiGXqkUWgeZkelkvdRhpFGfJ7PAitQ Date: Thu, 17 Dec 2015 11:06:53 +0000 Message-ID: References: <1450339169-52542-1-git-send-email-hare@suse.de> <1450339169-52542-3-git-send-email-hare@suse.de> In-Reply-To: <1450339169-52542-3-git-send-email-hare@suse.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [16.210.48.21] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1380 Lines: 29 Tested with a HP AE311-60001 PCIe card. It used to repeat the same VPD every 4k for 32k now only the 154 bytes are returned and lspci -vvvv reports that the data up to and including the end and that the check sum is good: ... Capabilities: [74] Vital Product Data Product Name: PCI-Express 4Gb Fibre Channel HBA Read-only fields: [PN] Part number: AE311-60001 [EC] Engineering changes: C-4830 [SN] Serial number: CN80847W3U [V0] Vendor specific: PW=15W [V2] Vendor specific: 4847 [MN] Manufacture ID: 50 58 32 35 31 30 34 30 31 2d 37 30 20 20 42 [V1] Vendor specific: 02.22 [V3] Vendor specific: 05.03.15 [V4] Vendor specific: 03.13 [V5] Vendor specific: 02.03 [YA] Asset tag: NA [RV] Reserved: checksum good, 0 byte(s) reserved End ... --- Tested-by: Shane Seymour -- 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/