Re: x86/PCI: Scan all functions during probing

2016-08-24 Thread Thomas Gleixner
On Wed, 24 Aug 2016, Jan Kiszka wrote: > On 2016-08-24 04:39, Thomas Gleixner wrote: > > On Thu, 18 Aug 2016, Bjorn Helgaas wrote: > >> I looked up the spec: PCI (not PCIe) r3.0, sec 3.2.2.3.4, says: > >> > >> A single-function device may optionally respond to all function > >> numbers as the

Re: x86/PCI: Scan all functions during probing

2016-08-24 Thread Thomas Gleixner
On Wed, 24 Aug 2016, Jan Kiszka wrote: > On 2016-08-24 04:39, Thomas Gleixner wrote: > > On Thu, 18 Aug 2016, Bjorn Helgaas wrote: > >> I looked up the spec: PCI (not PCIe) r3.0, sec 3.2.2.3.4, says: > >> > >> A single-function device may optionally respond to all function > >> numbers as the

Re: x86/PCI: Scan all functions during probing

2016-08-24 Thread Jan Kiszka
On 2016-08-24 04:39, Thomas Gleixner wrote: > On Thu, 18 Aug 2016, Bjorn Helgaas wrote: >> I looked up the spec: PCI (not PCIe) r3.0, sec 3.2.2.3.4, says: >> >> A single-function device may optionally respond to all function >> numbers as the same function or may ... respond only to function 0

Re: x86/PCI: Scan all functions during probing

2016-08-24 Thread Jan Kiszka
On 2016-08-24 04:39, Thomas Gleixner wrote: > On Thu, 18 Aug 2016, Bjorn Helgaas wrote: >> I looked up the spec: PCI (not PCIe) r3.0, sec 3.2.2.3.4, says: >> >> A single-function device may optionally respond to all function >> numbers as the same function or may ... respond only to function 0

Re: x86/PCI: Scan all functions during probing

2016-08-24 Thread Thomas Gleixner
On Thu, 18 Aug 2016, Bjorn Helgaas wrote: > I looked up the spec: PCI (not PCIe) r3.0, sec 3.2.2.3.4, says: > > A single-function device may optionally respond to all function > numbers as the same function or may ... respond only to function 0 > and not respond to the other function

Re: x86/PCI: Scan all functions during probing

2016-08-24 Thread Thomas Gleixner
On Thu, 18 Aug 2016, Bjorn Helgaas wrote: > I looked up the spec: PCI (not PCIe) r3.0, sec 3.2.2.3.4, says: > > A single-function device may optionally respond to all function > numbers as the same function or may ... respond only to function 0 > and not respond to the other function

Re: x86/PCI: Scan all functions during probing

2016-08-18 Thread Bjorn Helgaas
On Tue, Aug 09, 2016 at 08:44:53AM -0500, Bjorn Helgaas wrote: > [+cc Lukas] > > On Tue, Aug 09, 2016 at 01:22:30PM +0200, Thomas Gleixner wrote: > > From: Benedikt Spranger > > > > PCI and PCIBIOS probing only scans devices at function number 0/8/16/... > > Subdevices

Re: x86/PCI: Scan all functions during probing

2016-08-18 Thread Bjorn Helgaas
On Tue, Aug 09, 2016 at 08:44:53AM -0500, Bjorn Helgaas wrote: > [+cc Lukas] > > On Tue, Aug 09, 2016 at 01:22:30PM +0200, Thomas Gleixner wrote: > > From: Benedikt Spranger > > > > PCI and PCIBIOS probing only scans devices at function number 0/8/16/... > > Subdevices (e.g. multiqueue) have

Re: x86/PCI: Scan all functions during probing

2016-08-09 Thread Bjorn Helgaas
[+cc Lukas] On Tue, Aug 09, 2016 at 01:22:30PM +0200, Thomas Gleixner wrote: > From: Benedikt Spranger > > PCI and PCIBIOS probing only scans devices at function number 0/8/16/... > Subdevices (e.g. multiqueue) have function numbers which are not a > multiple of 8. >

Re: x86/PCI: Scan all functions during probing

2016-08-09 Thread Bjorn Helgaas
[+cc Lukas] On Tue, Aug 09, 2016 at 01:22:30PM +0200, Thomas Gleixner wrote: > From: Benedikt Spranger > > PCI and PCIBIOS probing only scans devices at function number 0/8/16/... > Subdevices (e.g. multiqueue) have function numbers which are not a > multiple of 8. > > Simple hypervisors (e.g.

Re: x86/PCI: Scan all functions during probing

2016-08-09 Thread Lukas Wunner
On Tue, Aug 09, 2016 at 01:22:30PM +0200, Thomas Gleixner wrote: > From: Benedikt Spranger > > PCI and PCIBIOS probing only scans devices at function number 0/8/16/... > Subdevices (e.g. multiqueue) have function numbers which are not a > multiple of 8. > > Simple

Re: x86/PCI: Scan all functions during probing

2016-08-09 Thread Lukas Wunner
On Tue, Aug 09, 2016 at 01:22:30PM +0200, Thomas Gleixner wrote: > From: Benedikt Spranger > > PCI and PCIBIOS probing only scans devices at function number 0/8/16/... > Subdevices (e.g. multiqueue) have function numbers which are not a > multiple of 8. > > Simple hypervisors (e.g. Jailhouse)

x86/PCI: Scan all functions during probing

2016-08-09 Thread Thomas Gleixner
From: Benedikt Spranger PCI and PCIBIOS probing only scans devices at function number 0/8/16/... Subdevices (e.g. multiqueue) have function numbers which are not a multiple of 8. Simple hypervisors (e.g. Jailhouse) pass subdevices directly w/o providing virtual PCI

x86/PCI: Scan all functions during probing

2016-08-09 Thread Thomas Gleixner
From: Benedikt Spranger PCI and PCIBIOS probing only scans devices at function number 0/8/16/... Subdevices (e.g. multiqueue) have function numbers which are not a multiple of 8. Simple hypervisors (e.g. Jailhouse) pass subdevices directly w/o providing virtual PCI mappings like KVM. As a