[Kernel-packages] [Bug 1988806] Re: Add support for mdev_set_iommu_device() kABI in Ubuntu 22.10 kernel

2023-09-15 Thread Tarun Gupta
Hi Dimitri and Jose,

I've posted the patch for review as requested for 23.10 kernel. Refer
https://lists.ubuntu.com/archives/kernel-team/2023-September/142909.html
.

Please help review

Thanks,
Tarun

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-hwe-5.19 in Ubuntu.
https://bugs.launchpad.net/bugs/1988806

Title:
  Add support for mdev_set_iommu_device() kABI in Ubuntu 22.10 kernel

Status in Release Notes for Ubuntu:
  New
Status in linux package in Ubuntu:
  Triaged
Status in linux-hwe-5.19 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-hwe-5.19 source package in Jammy:
  Fix Released
Status in linux source package in Kinetic:
  Fix Released
Status in linux-hwe-5.19 source package in Kinetic:
  Invalid
Status in linux source package in Lunar:
  Fix Released
Status in linux-hwe-5.19 source package in Lunar:
  Invalid
Status in linux source package in Mantic:
  Triaged
Status in linux-hwe-5.19 source package in Mantic:
  Invalid

Bug description:
  With below commit in 5.16 upstream kernel, support for
  mdev_set_iommu_device() kABI was removed from kernel as there were no
  in-tree drivers making use of the kABI.

  fda49d97f2c4 ("vfio: remove the unused mdev iommu hook")

  This kABI is used by SRIOV based Nvidia vGPU on Ubuntu 22.04. Ampere+
  (SRIOV based) Nvidia vGPU use kernel's mdev framework and use this
  kABI to pin all guest memory during VM boot.

  As HWE kernel (for Ubuntu 22.04) will switch to 5.19 upstream kernel,
  it will not include this kABI and as a result will break SRIOV based
  Nvidia vGPU. So, filing this bug to request to have a custom patch in
  HWE kernel which doesn't remove the support for
  mdev_set_iommu_device() kABI.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1988806/+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


[Kernel-packages] [Bug 1988806] Re: Add support for mdev_set_iommu_device() kABI in Ubuntu 22.10 kernel

2023-04-13 Thread Tarun Gupta
Hi Dimitri,

Yes, this patch is still needed with Ubuntu 23.04 for making sure vGPU
works with it.

You're right that the patch will not apply cleanly due to upstream
changes in the code, should I post a new patch for this? Can you also
let me know the latest by which this patch can go in Ubuntu 23.04
(Lunar)?

-- 
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/1988806

Title:
  Add support for mdev_set_iommu_device() kABI in Ubuntu 22.10 kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux-hwe-5.19 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-hwe-5.19 source package in Jammy:
  Fix Released
Status in linux source package in Kinetic:
  Fix Released
Status in linux-hwe-5.19 source package in Kinetic:
  Invalid
Status in linux source package in Lunar:
  Incomplete
Status in linux-hwe-5.19 source package in Lunar:
  Invalid

Bug description:
  With below commit in 5.16 upstream kernel, support for
  mdev_set_iommu_device() kABI was removed from kernel as there were no
  in-tree drivers making use of the kABI.

  fda49d97f2c4 ("vfio: remove the unused mdev iommu hook")

  This kABI is used by SRIOV based Nvidia vGPU on Ubuntu 22.04. Ampere+
  (SRIOV based) Nvidia vGPU use kernel's mdev framework and use this
  kABI to pin all guest memory during VM boot.

  As HWE kernel (for Ubuntu 22.04) will switch to 5.19 upstream kernel,
  it will not include this kABI and as a result will break SRIOV based
  Nvidia vGPU. So, filing this bug to request to have a custom patch in
  HWE kernel which doesn't remove the support for
  mdev_set_iommu_device() kABI.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1988806/+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


[Kernel-packages] [Bug 1988806] [NEW] Add support for mdev_set_iommu_device() kABI in Ubuntu 22.10 kernel

2022-09-06 Thread Tarun Gupta
Public bug reported:

With below commit in 5.16 upstream kernel, support for
mdev_set_iommu_device() kABI was removed from kernel as there were no
in-tree drivers making use of the kABI.

fda49d97f2c4 ("vfio: remove the unused mdev iommu hook")

This kABI is used by SRIOV based Nvidia vGPU on Ubuntu 22.04. Ampere+
(SRIOV based) Nvidia vGPU use kernel's mdev framework and use this kABI
to pin all guest memory during VM boot.

As HWE kernel (for Ubuntu 22.04) will switch to 5.19 upstream kernel, it
will not include this kABI and as a result will break SRIOV based Nvidia
vGPU. So, filing this bug to request to have a custom patch in HWE
kernel which doesn't remove the support for mdev_set_iommu_device()
kABI.

** Affects: linux-meta (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1988806

Title:
  Add support for mdev_set_iommu_device() kABI in Ubuntu 22.10 kernel

Status in linux-meta package in Ubuntu:
  New

Bug description:
  With below commit in 5.16 upstream kernel, support for
  mdev_set_iommu_device() kABI was removed from kernel as there were no
  in-tree drivers making use of the kABI.

  fda49d97f2c4 ("vfio: remove the unused mdev iommu hook")

  This kABI is used by SRIOV based Nvidia vGPU on Ubuntu 22.04. Ampere+
  (SRIOV based) Nvidia vGPU use kernel's mdev framework and use this
  kABI to pin all guest memory during VM boot.

  As HWE kernel (for Ubuntu 22.04) will switch to 5.19 upstream kernel,
  it will not include this kABI and as a result will break SRIOV based
  Nvidia vGPU. So, filing this bug to request to have a custom patch in
  HWE kernel which doesn't remove the support for
  mdev_set_iommu_device() kABI.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/1988806/+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