------- Comment From mauri...@br.ibm.com 2016-11-29 17:04 EDT------- Hi Canonical (@hendrix @timg-tpi)
Attaching proper backports of the 3 patches [1] for 16.04.x. Built and verified on top of ubuntu-xenial.git master-next -- currently, 52.73 at 44b1707bf297 ("kvm/irqchip: kvm_arch_irq_routing_update renaming split"). This is the test-case. A bunch of 64k writes to partitions on NVMe drive, simultaneously. No messages are printed to dmesg. Linux ubuntu 4.4.0-52-generic #73+bz142128v1 SMP Tue Nov 29 13:06:49 CST 2016 ppc64le ppc64le ppc64le GNU/Linux root@ubuntu:~# dmesg -c >/dev/null; for p in 2 {5..11}; do echo $p; dd if=/dev/zero of=/dev/nvme0n1p$p bs=64k count=128k & done; wait; echo dmesg begin; dmesg; echo dmesg end <...> [1] Done dd if=/dev/zero of=/dev/nvme0n1p$p bs=64k count=128k <...> [8]+ Done dd if=/dev/zero of=/dev/nvme0n1p$p bs=64k count=128k dmesg begin dmesg end [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?qt=grep&q=DMA_ATTR_NO_WARN -- 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/1633128 Title: ISST-LTE:pVM nvme 0000:a0:00.0: iommu_alloc failed on NVMe card Status in linux package in Ubuntu: In Progress Status in linux source package in Xenial: In Progress Status in linux source package in Yakkety: Fix Committed Bug description: == Comment: #0 - Chanh H. Nguyen <chngu...@us.ibm.com> - 2016-06-02 14:22:00 == There are a huge iommu_alloc failure on the dmesg log during our ST run on the nvme card. root@br502lp2:~# uname -r 4.4.0-22-generic root@br502lp2:~# free -g total used free shared buff/cache available Mem: 376 1 101 0 273 373 Swap: 10 0 10 root@br502lp2:~# dmesg |grep "iommu_alloc" [ 844.572656] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c0000001c1a70000 npages 16 [ 844.572658] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c0000000c3510000 npages 16 [ 844.572664] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c0000023c0260000 npages 16 [ 844.572694] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c0000000c35b0000 npages 16 [ 844.572700] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c0000001c1a70000 npages 16 [ 844.572703] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c0000023c7a90000 npages 16 [ 844.572718] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c0000000c35b0000 npages 16 [ 844.572727] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c0000001c1a70000 npages 16 [ 844.572730] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c0000023c7a90000 npages 16 [ 844.572746] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c0000023c7a90000 npages 16 [ 1033.500635] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c000002a64500000 npages 16 [ 1033.500894] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c000002a64500000 npages 16 [ 1033.501290] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c000003b80d10000 npages 16 [ 1033.501337] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 vaddr c000002903910000 npages 16 [ 1033.501590] nvme 0001:01:00.0: iommu_alloc failed, tbl c00000466a2bfc00 root@br502lp2:~# cat /proc/cmdline BOOT_IMAGE=/boot/vmlinux-4.4.0-22-generic root=UUID=2852021a-6954-42a9-8c69-7a58ccfbb65d ro xmon=on disable_ddw splash quiet crashkernel=384M-:128M root@br502lp2:~# lsmcode Version of System Firmware is FW840.20 (SC840_100) (t) FW840.10 (SC840_079) (p) FW840.20 (SC840_100) (b) Version of PFW is 14492016042881CF0681 == Comment: #4 - Mauricio Faria De Oliveira <mauri...@br.ibm.com> - 2016-10-13 10:16:40 == Hi Canonical, This patch series that resolves this problem made linux mainline in the 4.9 merge window: ("dma-mapping, powerpc, nvme: introduce the DMA_ATTR_NO_WARN attribute") Can you please apply it on 16.04.x? Thanks! Links/commits --- [1] "dma-mapping: introduce the DMA_ATTR_NO_WARN attribute" https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a9a62c9384417545620aee1b5ad1d9357350c17a [2] "powerpc: implement the DMA_ATTR_NO_WARN attribute" https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=af8a24988e48f9ed20acf4d5230ac216d5baf723 [3] "nvme: use the DMA_ATTR_NO_WARN attribute" https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2b6b535d9158b822a45080b3d6d5b2993fd49e5a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1633128/+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