[PATCH v2] PCI: create revision file in sysfs

2016-11-14 Thread Michel Dänzer
On 11/11/16 08:59 AM, Bjorn Helgaas wrote: > On Thu, Nov 10, 2016 at 01:14:35PM +, Emil Velikov wrote: >> On 10 November 2016 at 07:13, Greg KH wrote: >>> On Wed, Nov 09, 2016 at 04:56:07PM +, Emil Velikov wrote: From: Emil Velikov Currently the revision isn't available via

[PATCH v2] PCI: create revision file in sysfs

2016-11-14 Thread Bjorn Helgaas
On Fri, Nov 11, 2016 at 06:56:51PM +, Emil Velikov wrote: > Hi Bjorn, > > On 11 November 2016 at 14:49, Bjorn Helgaas wrote: > > On Fri, Nov 11, 2016 at 12:31:47AM +, Emil Velikov wrote: > >> On 10 November 2016 at 23:59, Bjorn Helgaas wrote: > >> > Hi Emil, > >> > > >> > On Thu, Nov 10,

[PATCH v2] PCI: create revision file in sysfs

2016-11-11 Thread Emil Velikov
Hi Bjorn, On 11 November 2016 at 14:49, Bjorn Helgaas wrote: > On Fri, Nov 11, 2016 at 12:31:47AM +, Emil Velikov wrote: >> On 10 November 2016 at 23:59, Bjorn Helgaas wrote: >> > Hi Emil, >> > >> > On Thu, Nov 10, 2016 at 01:14:35PM +, Emil Velikov wrote: >> >> On 10 November 2016 at 07

[PATCH v2] PCI: create revision file in sysfs

2016-11-11 Thread Bjorn Helgaas
On Fri, Nov 11, 2016 at 12:31:47AM +, Emil Velikov wrote: > On 10 November 2016 at 23:59, Bjorn Helgaas wrote: > > Hi Emil, > > > > On Thu, Nov 10, 2016 at 01:14:35PM +, Emil Velikov wrote: > >> On 10 November 2016 at 07:13, Greg KH > >> wrote: > >> > On Wed, Nov 09, 2016 at 04:56:07PM +

[PATCH v2] PCI: create revision file in sysfs

2016-11-11 Thread Emil Velikov
On 10 November 2016 at 23:59, Bjorn Helgaas wrote: > Hi Emil, > > On Thu, Nov 10, 2016 at 01:14:35PM +, Emil Velikov wrote: >> On 10 November 2016 at 07:13, Greg KH wrote: >> > On Wed, Nov 09, 2016 at 04:56:07PM +, Emil Velikov wrote: >> >> From: Emil Velikov >> >> >> >> Currently the re

[PATCH v2] PCI: create revision file in sysfs

2016-11-10 Thread Bjorn Helgaas
Hi Emil, On Thu, Nov 10, 2016 at 01:14:35PM +, Emil Velikov wrote: > On 10 November 2016 at 07:13, Greg KH wrote: > > On Wed, Nov 09, 2016 at 04:56:07PM +, Emil Velikov wrote: > >> From: Emil Velikov > >> > >> Currently the revision isn't available via sysfs/libudev thus if one > >> want

[PATCH v2] PCI: create revision file in sysfs

2016-11-10 Thread Emil Velikov
On 10 November 2016 at 07:13, Greg KH wrote: > On Wed, Nov 09, 2016 at 04:56:07PM +, Emil Velikov wrote: >> From: Emil Velikov >> >> Currently the revision isn't available via sysfs/libudev thus if one >> wants to know the value they need to read through the config file. >> >> This in itself

[PATCH v2] PCI: create revision file in sysfs

2016-11-10 Thread Greg KH
On Wed, Nov 09, 2016 at 04:56:07PM +, Emil Velikov wrote: > From: Emil Velikov > > Currently the revision isn't available via sysfs/libudev thus if one > wants to know the value they need to read through the config file. > > This in itself wakes/powers up the device, causing unwanted delays.

[PATCH v2] PCI: create revision file in sysfs

2016-11-09 Thread Emil Velikov
From: Emil Velikov Currently the revision isn't available via sysfs/libudev thus if one wants to know the value they need to read through the config file. This in itself wakes/powers up the device, causing unwanted delays. There are at least two userspace components which could make use the new