= 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) 0005:05:00.2 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01) 0005:05:00.3 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
ubuntu@cameron:~$ ls /sys/bus/pci/devices/0005\:05\:00.0/resource* /sys/bus/pci/devices/0005:05:00.0/resource /sys/bus/pci/devices/0005:05:00.0/resource0 /sys/bus/pci/devices/0005:05:00.0/resource0_wc /sys/bus/pci/devices/0005:05:00.0/resource2 /sys/bus/pci/devices/0005:05:00.0/resource2_wc /sys/bus/pci/devices/0005:05:00.0/resource4 /sys/bus/pci/devices/0005:05:00.0/resource4_wc == After the patch == ubuntu@cameron:~$ uname -a Linux cameron 4.10.0-33-generic #37~lp1712580+build.3-Ubuntu SMP Thu Aug 24 18:56:29 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux 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) 0005:05:00.2 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01) 0005:05:00.3 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01) ubuntu@cameron:~$ ls /sys/bus/pci/devices/0005\:05\:00.0/resource* /sys/bus/pci/devices/0005:05:00.0/resource /sys/bus/pci/devices/0005:05:00.0/resource0 /sys/bus/pci/devices/0005:05:00.0/resource0_wc /sys/bus/pci/devices/0005:05:00.0/resource2 /sys/bus/pci/devices/0005:05:00.0/resource2_wc /sys/bus/pci/devices/0005:05:00.0/resource4 /sys/bus/pci/devices/0005:05:00.0/resource4_wc ** Description changed: [Impact] uio device binding inside VM would fail with errors EAL: Detected 3 lcore(s) EAL: Probing VFIO support... EAL: PCI device 0000:00:01.0 on NUMA socket -1 EAL: probe driver: 1af4:1000 net_virtio EAL: Cannot open /sys/bus/pci/devices/0000:00:01.0/resource1: No such file or directory EAL: Cannot open /sys/bus/pci/devices/0000:00:01.0/resource0: No such file or directory EAL: Error - exiting with code: 1 Cause: Requested device 0000:00:01.0 cannot be used [Fix] Fixed in linus kernel 4.13 by patch David Woodhouse (4): PCI: Move multiple declarations of pci_mmap_page_range() to <linux/pci.h> PCI: Use BAR index in sysfs attr->private instead of resource pointer PCI: Add BAR index argument to pci_mmap_page_range() PCI: Add pci_mmap_resource_range() and use it for ARM64 [Test] - Please see comment #3 and comment #4 + Please see comment #3 and comment #4 for ARM64 testing, and subsequent comments for testing on other arches. [Regression Potential] Patch touches PCI subsystem on all architectures, and PCI drivers. Regression tested on ARM64. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1712580 Title: [SRU][Zesty]PCI: Add pci_mmap_resource_range() and use it for ARM64 Status in linux package in Ubuntu: Incomplete Bug description: [Impact] uio device binding inside VM would fail with errors EAL: Detected 3 lcore(s) EAL: Probing VFIO support... EAL: PCI device 0000:00:01.0 on NUMA socket -1 EAL: probe driver: 1af4:1000 net_virtio EAL: Cannot open /sys/bus/pci/devices/0000:00:01.0/resource1: No such file or directory EAL: Cannot open /sys/bus/pci/devices/0000:00:01.0/resource0: No such file or directory EAL: Error - exiting with code: 1 Cause: Requested device 0000:00:01.0 cannot be used [Fix] Fixed in linus kernel 4.13 by patch David Woodhouse (4): PCI: Move multiple declarations of pci_mmap_page_range() to <linux/pci.h> PCI: Use BAR index in sysfs attr->private instead of resource pointer PCI: Add BAR index argument to pci_mmap_page_range() PCI: Add pci_mmap_resource_range() and use it for ARM64 [Test] Please see comment #3 and comment #4 for ARM64 testing, and subsequent comments for testing on other arches. [Regression Potential] Patch touches PCI subsystem on all architectures, and PCI drivers. Regression tested on ARM64, ppc64el and AMD64. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1712580/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp