Re: [PATCH v2] pci: Expose offset, stride, and VF device ID via sysfs

2017-10-10 Thread Bjorn Helgaas
On Mon, Oct 09, 2017 at 01:09:11AM +0200, Filippo Sironi wrote: > ... to make it easier for userspace applications to consume them. > > Signed-off-by: Filippo Sironi > Cc: Bjorn Helgaas > Cc: linux-...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org Applied to pci/virtualization for v4.15, t

[PATCH v2] pci: Expose offset, stride, and VF device ID via sysfs

2017-10-08 Thread Filippo Sironi
... to make it easier for userspace applications to consume them. Signed-off-by: Filippo Sironi Cc: Bjorn Helgaas Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- v2: * follow up with the rename of vf_did to vf_device drivers/pci/pci-sysfs.c | 33 +

[PATCH v2] pci: Expose offset, stride, and VF device ID via sysfs

2017-10-08 Thread Filippo Sironi
Testing done: $ ls -l /sys/bus/pci/devices/\:03\:00.0/ total 0 -rw-r--r-- 1 root root4096 Oct 9 00:48 broken_parity_status -r--r--r-- 1 root root4096 Oct 9 00:48 class -rw-r--r-- 1 root root4096 Oct 9 00:46 config -r--r--r-- 1 root root4096 Oct 9 00:48 consistent_dma_mask_b