= Testing =

== Before applying the patch ==
$ lspci 
0000:00:00.0 PCI bridge: Airgo Networks, Inc. Device 0401
0000: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, Inc. Device 0401

$ ls /sys/bus/pci/devices/0000\:01\:00.0/resource*
/sys/bus/pci/devices/0000:01:00.0/resource

== After applying the patch ==
$ 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/resource0_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 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

  [Test]

  [Regression Potential]

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