Thread (13 messages) flat view 13 messages, 5 authors, 2016-09-12
STALE3615d REVIEWED: 1 (0M)

1 review trailer.

[PATCH v2] arm64:pci: fix the IOV device access config space valid condition

From: Ley Foon Tan <hidden>
Date: 2016-09-01 00:58:42
Also in: linux-pci

On Mon, Aug 29, 2016 at 3:26 PM, Po Liu [off-list ref] wrote:
When echo a number to /sys/bus/pci/devices/xxx/sriov_numvfs to enable the
VF devices. A crash log occurred. This found to be access the IOV devices
config space failure issue.

The read/write config space from host would judge the pcie device plugin
or not by(Designware platform as example):

if (bus->primary == pp->root_bus_nr && dev > 0)
    return 0;

Although all PCIe devices for dev(coming from the device and function
number) is zero. But the dev is not zero for VF devices. So remove the
condition.

These PCI hosts were changed: designware, altera, xilinx.

Signed-off-by: Po Liu <redacted>
---
For pcie-altera.c:
Acked-by: Ley Foon Tan <redacted>

Thanks.

Regards
Ley Foon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help