[Bug 1907421] Comment bridged from LTC Bugzilla
--- Comment From heinz-werner_se...@de.ibm.com 2021-03-16 03:14 EDT--- IBM BuzgilL status->closed, Fix Released with all requested distros -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907421 Title: [UBUNTU 21.04] vfio: pass DMA availability information to userspace To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1907421/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1907421] Comment bridged from LTC Bugzilla
--- Comment From heinz-werner_se...@de.ibm.com 2021-01-29 03:46 EDT--- Already sucessfully verified by IBM -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907421 Title: [UBUNTU 21.04] vfio: pass DMA availability information to userspace To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1907421/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1907421] Comment bridged from LTC Bugzilla
--- Comment From mjros...@us.ibm.com 2021-01-21 17:05 EDT--- Hi Frank, I applied the groovy PPA above and, using a custom qemu build, verified that the DMA limit is now being properly provided to userspace. Happy to do the same for focal once the fix is there -- Just let me know. I'll send along a separate bugzilla for the related qemu fix with proposed 4.2/5.0 backports early next week. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907421 Title: [UBUNTU 21.04] vfio: pass DMA availability information to userspace To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1907421/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1907421] Comment bridged from LTC Bugzilla
> --- Comment From mjros...@us.ibm.com 2021-01-20 10:02 EDT--- > re: backporting of the qemu patches... I was planning to open a separate bug > for this once we determined whether the kernel fix would actually get > integrated into focal/groovy. Ok and thanks for the extra details that followed. In that case I'll ignore this bug here (as it is for now kernel-only) and you (Or Frank) will let me know when the time for qemu has come. In advance - if you happened to try and backported the changes needed to 4.2/5.0 then you can as well point me to them. I'll then happily review, test and re-use those. I haven't checked these commits in detail, but sometimes those backports are much easier for the Author :-) Waiting until the qemu bug shows up then ... o/ Christian -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907421 Title: [UBUNTU 21.04] vfio: pass DMA availability information to userspace To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1907421/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1907421] Comment bridged from LTC Bugzilla
--- Comment From mjros...@us.ibm.com 2021-01-20 10:02 EDT--- re: backporting of the qemu patches... I was planning to open a separate bug for this once we determined whether the kernel fix would actually get integrated into focal/groovy. The primary difference from 5.2 and focal/groovy would be the state of the qemu build system as it went through some recent changes, so there may be some accomodation required to backport. The list you provided is mostly accurate. We can definitely skip: 84567ea763 update-linux-headers: Add vfio_zdev.h as this is for a different feature that integrated in the same pull request, not part of this bugfix And we might also be able to skip: 408b55db8b s390x/pci: Move header files to include/hw/s390x but this would require a minor header change to an include statment. Testing for the kernel alone is tricky (you need to create a vfio-pci device and then issue the VFIO_IOMMU_GET_INFO ioctl and validate that the DMA limit is included in the response -- I've used a custom QEMU build to do that). Creating a test when both kernel and QEMU changes are available is much easier (but does still require special PCI hardware like a mellanox adapter to pass through to the guest). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907421 Title: [UBUNTU 21.04] vfio: pass DMA availability information to userspace To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1907421/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1907421] Comment bridged from LTC Bugzilla
--- Comment From mjros...@us.ibm.com 2021-01-20 09:51 EDT--- Re: the kernel patch to groovy... My understanding is that the window for both 5.8.y and 5.9.y are already closed since they are not LTS releases... The 5.10 window is still open and will be for a while as the most recent LTS -- the fix is already in 5.10. The upstream 5.10 fix is very close to fitting on groovy. The significant difference with groovy is that vfio_iommu_type1_get_info does not yet exist, so an identical change has to be made in vfio_iommu_type1_ioctl instead (vfio_iommu_type1_ioctl got turned into a switch statement that calls sub-functions by ccd59dce1a21, so code got moved - 5.4 backport needed further changes, but you can see the same sort of accommodation there). I could provide a patch that does this fitting. Or, it looks like upstream ccd59dce1a21 + 7d6e1329652e fits cleanly on groovy. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907421 Title: [UBUNTU 21.04] vfio: pass DMA availability information to userspace To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1907421/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1907421] Comment bridged from LTC Bugzilla
--- Comment From mjros...@us.ibm.com 2021-01-19 15:52 EDT--- The associated commit is now available in 5.4 stable as of 5.4.90 -- the commit ID from the 5.4.y stable branch is 5597557244d44989a7310755d0a8ec40ae603acb 'vfio iommu: Add dma available capability' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907421 Title: [UBUNTU 21.04] vfio: pass DMA availability information to userspace To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1907421/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs