I am able to reproduce the bug with the 4.4.0-15 kernel, but this kernel is installed on a 14.04.4 userspace. Here is the test results with the 4.4.0-15 kernel:
*First read:* /sys/bus/pci/devices/0000:04:00.0/resource0 opened. Target offset is 0x10080, page size is 4096 mmap(0, 4096, 0x3, 0x1, 3, 0x10080) PCI Memory mapped to address 0x7fa38654f000. *Value at offset 0x10080 (0x7fa38654f080): 0x0000000000000800* *Perfom write:* /sys/bus/pci/devices/0000:04:00.0/resource0 opened. Target offset is 0x10080, page size is 4096 mmap(0, 4096, 0x3, 0x1, 3, 0x10080) PCI Memory mapped to address 0x7f1ce3a01000. Value at offset 0x10080 (0x7f1ce3a01080): 0x0000000000000800 *Written 0x0000000000000800; readback 0x0000000000000800* *Second read:* /sys/bus/pci/devices/0000:04:00.0/resource0 opened. Target offset is 0x10080, page size is 4096 mmap(0, 4096, 0x3, 0x1, 3, 0x10080) PCI Memory mapped to address 0x7ff5e09b3000. *Value at offset 0x10080 (0x7ff5e09b3080): 0x0000000000001000 <--- Two time the value of **0x0000000000000800* -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1563375 Title: A a single PCI read or write appears twice on the PCIe bus. This happens when using the SR-IOV feature with Cavium's liquidIO card To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1563375/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
