** 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
+   Cause: Requested device 0000:00:01.0 cannot be used
  
  [Fix]
- Fixed in linus kernel by patch 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm64/include/asm/pci.h?h=v4.13-rc4&id=f719582435afe9c7985206e42d804ea6aa315d33
+ 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
  
  [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

  [Regression Potential]
  Patch touches PCI subsystem on all architectures, and PCI drivers. Regression 
tested on ARM64.

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

Reply via email to