Re: [PATCH] Create sysfs entries for PCI VPDI and VPDR tags

2016-02-19 Thread Jordan_Hargrave
>On 02/19/2016 03:07 PM, Jordan Hargrave wrote: >> On Fri, Feb 19, 2016 at 4:00 AM, Hannes Reinecke wrote: >>> >>> On 02/18/2016 09:04 PM, Jordan Hargrave wrote: The VPD-R is a readonly area of the PCI Vital Product Data region. There are some standard keywords for serial

Re: [PATCH] Create sysfs entries for PCI VPDI and VPDR tags

2016-02-19 Thread Jordan_Hargrave
>On 02/19/2016 03:07 PM, Jordan Hargrave wrote: >> On Fri, Feb 19, 2016 at 4:00 AM, Hannes Reinecke wrote: >>> >>> On 02/18/2016 09:04 PM, Jordan Hargrave wrote: The VPD-R is a readonly area of the PCI Vital Product Data region. There are some standard keywords for serial number,

[PATCH v3] Create pci slot files for SMBIOS Type 9 entries

2016-02-18 Thread Jordan_Hargrave
The following diff builds on the "[PATCHv3] Save SMBIOS Type 9 System Slots" This will create a /sys/bus/pci/slots/XXX file for each Type 9 entry. This will be \ used for systemd enumeration of NICs. Only build if CONFIG_DMI is set Signed-off-by: Jordan Hargrave ---

[PATCH v3] Create pci slot files for SMBIOS Type 9 entries

2016-02-18 Thread Jordan_Hargrave
The following diff builds on the "[PATCHv3] Save SMBIOS Type 9 System Slots" This will create a /sys/bus/pci/slots/XXX file for each Type 9 entry. This will be \ used for systemd enumeration of NICs. Only build if CONFIG_DMI is set Signed-off-by: Jordan Hargrave --- arch/x86/pci/common.c |

[PATCH] Create pci slot files for SMBIOS Type 9 entries

2016-02-09 Thread Jordan_Hargrave
The following diff builds on the "[PATCHv3] Save SMBIOS Type 9 System Slots" This will create a /sys/bus/pci/slots/XXX file for each Type 9 entry. This will be used for systemd enumeration of NICs. Signed-off-by: Jordan Hargrave --- arch/x86/pci/common.c | 17 + 1 files

[PATCH] Create pci slot files for SMBIOS Type 9 entries

2016-02-09 Thread Jordan_Hargrave
The following diff builds on the "[PATCHv3] Save SMBIOS Type 9 System Slots" This will create a /sys/bus/pci/slots/XXX file for each Type 9 entry. This will be used for systemd enumeration of NICs. Signed-off-by: Jordan Hargrave --- arch/x86/pci/common.c | 17

RE: [PATCH RFC] pci: Blacklist vpd access for buggy devices

2016-01-21 Thread Jordan_Hargrave
>From: Babu Moger [babu.mo...@oracle.com] >Sent: Tuesday, January 19, 2016 2:39 PM >To: Hargrave, Jordan; bhelg...@google.com >Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; >alexander.du...@gmail.com; h...@suse.de; mkube...@suse.com; >shane.seym...@hpe.com; myron.st...@gmail.com

RE: [PATCH RFC] pci: Blacklist vpd access for buggy devices

2016-01-21 Thread Jordan_Hargrave
>From: Babu Moger [babu.mo...@oracle.com] >Sent: Tuesday, January 19, 2016 2:39 PM >To: Hargrave, Jordan; bhelg...@google.com >Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; >alexander.du...@gmail.com; h...@suse.de; mkube...@suse.com; >shane.seym...@hpe.com; myron.st...@gmail.com

RE: [PATCH 2/2] pci: Update VPD size with correct length

2015-12-29 Thread Jordan_Hargrave
>On Mon, Dec 28, 2015 at 9:29 PM, wrote: >> I had posted a patch recently to enable exposing the VPD-R valyes to sysfs. >> I need access >> to these to parse into systemd for network naming (biosdevname style names). >> >> >> The VPD-R is a readonly area contained within the PCI Vital Product

RE: [PATCH 2/2] pci: Update VPD size with correct length

2015-12-29 Thread Jordan_Hargrave
>On Mon, Dec 28, 2015 at 9:29 PM, wrote: >> I had posted a patch recently to enable exposing the VPD-R valyes to sysfs. >> I need access >> to these to parse into systemd for network naming (biosdevname style names). >> >> >> The VPD-R is a readonly area contained

RE: [PATCH 2/2] pci: Update VPD size with correct length

2015-12-28 Thread Jordan_Hargrave
>On 12/18/2015 03:02 PM, Alexander Duyck wrote: >> On Fri, Dec 18, 2015 at 5:57 AM, Hannes Reinecke wrote: >>> On 12/18/2015 02:49 PM, Alexander Duyck wrote: On Fri, Dec 18, 2015 at 12:35 AM, Hannes Reinecke wrote: > > PCI-2.2 VPD entries have a maximum size of 32k, but might

RE: [PATCH 2/2] pci: Update VPD size with correct length

2015-12-28 Thread Jordan_Hargrave
>On 12/18/2015 03:02 PM, Alexander Duyck wrote: >> On Fri, Dec 18, 2015 at 5:57 AM, Hannes Reinecke wrote: >>> On 12/18/2015 02:49 PM, Alexander Duyck wrote: On Fri, Dec 18, 2015 at 12:35 AM, Hannes Reinecke wrote: > > PCI-2.2 VPD entries have a

[PATCH 1/2] Save SMBIOS Type 9 System Slots during DMI Scan

2015-11-18 Thread Jordan_Hargrave
PCI address of onboard devices is currently saved but not for slots. Signed-off-by: Jordan Hargrave --- drivers/firmware/dmi_scan.c | 39 +++ include/linux/dmi.h | 1 + 2 files changed, 40 insertions(+) diff --git a/drivers/firmware/dmi_scan.c

[PATCH 1/2] Save SMBIOS Type 9 System Slots during DMI Scan

2015-11-18 Thread Jordan_Hargrave
PCI address of onboard devices is currently saved but not for slots. Signed-off-by: Jordan Hargrave --- drivers/firmware/dmi_scan.c | 39 +++ include/linux/dmi.h | 1 + 2 files changed, 40 insertions(+) diff --git

PCI Max payload setting

2014-11-12 Thread Jordan_Hargrave
Jon, We are still seeing problems with the current implementation of PCIE MaxPayload setting with hotplug devices (PCIE SSD). The original implementation I proposed a few years ago used a bottom-up approach for configuring a PCI device when it was added to the system. It would read the

PCI Max payload setting

2014-11-12 Thread Jordan_Hargrave
Jon, We are still seeing problems with the current implementation of PCIE MaxPayload setting with hotplug devices (PCIE SSD). The original implementation I proposed a few years ago used a bottom-up approach for configuring a PCI device when it was added to the system. It would read the