Re: [PATCH v2 2/6] PCI: Scan all functions when running over Jailhouse

2018-02-28 Thread Jan Kiszka
On 2018-02-28 09:44, Thomas Gleixner wrote: > On Wed, 28 Feb 2018, Jan Kiszka wrote: > >> From: Jan Kiszka >> >> Per PCIe r4.0, sec 7.5.1.1.9, multi-function devices are required to >> have a function 0. Therefore, Linux scans for devices at function 0 >> (devfn 0/8/16/...) and only scans for ot

Re: [PATCH v2 2/6] PCI: Scan all functions when running over Jailhouse

2018-02-28 Thread Thomas Gleixner
On Wed, 28 Feb 2018, Jan Kiszka wrote: > From: Jan Kiszka > > Per PCIe r4.0, sec 7.5.1.1.9, multi-function devices are required to > have a function 0. Therefore, Linux scans for devices at function 0 > (devfn 0/8/16/...) and only scans for other functions if function 0 > has its Multi-Function

[PATCH v2 2/6] PCI: Scan all functions when running over Jailhouse

2018-02-27 Thread Jan Kiszka
From: Jan Kiszka Per PCIe r4.0, sec 7.5.1.1.9, multi-function devices are required to have a function 0. Therefore, Linux scans for devices at function 0 (devfn 0/8/16/...) and only scans for other functions if function 0 has its Multi-Function Device bit set or ARI or SR-IOV indicate there are