------- Comment From mauri...@br.ibm.com 2016-11-28 15:44 EDT------- Apologies.
I verified the code was present, but we failed to realize the DMA attributes structure in Xenial is different. When it was applied as is, the problem was introduced. The commit "dma-mapping: introduce the DMA_ATTR_NO_WARN attribute" should be modified for the older structure. That is what I submitted in v3 [1,2,3]. I'll provide an actual backport this time. Sorry for the inconvenience. [1] https://patchwork.kernel.org/patch/9220769/ [2] https://patchwork.kernel.org/patch/9220777/ [3] https://patchwork.kernel.org/patch/9220783/ -- 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