[Kernel-packages] [Bug 1712580] Re: [SRU][Zesty]PCI: Add pci_mmap_resource_range() and use it for ARM64

2017-09-20 Thread Manoj Iyer
= Testing AMD64 = == Before patch == ubuntu@betelnut:~$ lspci | grep Mellanox 01:00.0 Ethernet controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro] ubuntu@betelnut:~$ ls /sys/bus/pci/devices/\:01\:00.0/resource* /sys/bus/pci/devices/:01:00.0/resource

[Kernel-packages] [Bug 1712580] Re: [SRU][Zesty]PCI: Add pci_mmap_resource_range() and use it for ARM64

2017-09-20 Thread Manoj Iyer
** Description changed: [Impact] uio device binding inside VM would fail with errors EAL: Detected 3 lcore(s) EAL: Probing VFIO support... EAL: PCI device :00:01.0 on NUMA socket -1 EAL: probe driver: 1af4:1000 net_virtio EAL: Cannot open

[Kernel-packages] [Bug 1712580] Re: [SRU][Zesty]PCI: Add pci_mmap_resource_range() and use it for ARM64

2017-09-20 Thread Manoj Iyer
= Testing ppc64el = == Before the patch == ubuntu@cameron:~$ lspci | grep PCIe 0005:05:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01) 0005:05:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)

[Kernel-packages] [Bug 1712580] Re: [SRU][Zesty]PCI: Add pci_mmap_resource_range() and use it for ARM64

2017-09-20 Thread Manoj Iyer
** Description changed: [Impact] uio device binding inside VM would fail with errors EAL: Detected 3 lcore(s) EAL: Probing VFIO support... EAL: PCI device :00:01.0 on NUMA socket -1 EAL: probe driver: 1af4:1000 net_virtio EAL: Cannot open

[Kernel-packages] [Bug 1712580] Re: [SRU][Zesty]PCI: Add pci_mmap_resource_range() and use it for ARM64

2017-09-20 Thread Manoj Iyer
= Testing = == Before applying the patch == $ lspci :00:00.0 PCI bridge: Airgo Networks, Inc. Device 0401 :01:00.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4] 0004:00:00.0 PCI bridge: Airgo Networks, Inc. Device 0401 0005:00:00.0 PCI bridge: Airgo Networks,

[Kernel-packages] [Bug 1712580] Re: [SRU][Zesty]PCI: Add pci_mmap_resource_range() and use it for ARM64

2017-09-20 Thread Manoj Iyer
>From WuFan: HI Manoj, Sorry for the delay. I haven't got chance to test your patch but I do find a (much) simple way to verify it. In a working system you have: /home/ubuntu>ls /sys/bus/pci/devices/0002\:01\:00.0/resource* /sys/bus/pci/devices/0002:01:00.0/resource