From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> This is a follow-up to the conversation here: https://lore.kernel.org/r/1cdda5f1-e1ea-af9f-cfbe-952b7d37e246@xxxxxxxxx about how and whether we should validate the contents of VPD. My proposal is to basically do minimal validation since the kernel really doesn't care about the actual *contents* of VPD and mainly provides an access mechanism (although there a few drivers that get part numbers and maybe even clocking information from VPD). I welcome any feedback! Bjorn Helgaas (5): PCI/VPD: Correct diagnostic for VPD read failure PCI/VPD: Check Resource tags against those valid for type PCI/VPD: Consolidate missing EEPROM checks PCI/VPD: Don't check Large Resource types for validity PCI/VPD: Allow access to valid parts of VPD if some is invalid drivers/pci/vpd.c | 63 +++++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 30 deletions(-) -- 2.25.1