= 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/0000\:01\:00.0/resource* /sys/bus/pci/devices/0000:01:00.0/resource /sys/bus/pci/devices/0000:01:00.0/resource0 /sys/bus/pci/devices/0000:01:00.0/resource2 /sys/bus/pci/devices/0000:01:00.0/resource2_wc == After patch == ubuntu@betelnut:~$ uname -a Linux betelnut 4.10.0-33-generic #37~lp1712580+build.3-Ubuntu SMP Thu Aug 24 18:57:45 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux ubuntu@betelnut:~$ lspci | grep Mellanox01:00.0 Ethernet controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro] ubuntu@betelnut:~$ ls /sys/bus/pci/devices/0000\:01\:00.0/resource* /sys/bus/pci/devices/0000:01:00.0/resource /sys/bus/pci/devices/0000:01:00.0/resource0 /sys/bus/pci/devices/0000:01:00.0/resource2 /sys/bus/pci/devices/0000:01:00.0/resource2_wc -- 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 on QDF2400 system, 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