[SRU][Kinetic][PATCH 0/1] UBUNTU: SAUCE: (no-up) Add mdev_set_iommu_device() kABI

Tarun Gupta targupta at nvidia.com
Tue Sep 6 18:08:00 UTC 2022


SRU Justification:

[Impact]

Currently, with below commit present in 5.16 upstream kernel,
mdev_set_iommu_device() kABI is removed.

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

This results in SRIOV based Nvidia vGPU being broken with kernels that
have the above upstream commit present.
So, with Ubuntu 22.04 HWE kernel update (i.e the 5.19.x Kinetic kernel),
SRIOV based Nvidia vGPU is broken.

[Fix]

On 5.19.x HWE kernel, we revert the above patch which removed the
support for mdev_set_iommu_device() kABI so that vGPU works fine.

[Testcase]

Run SRIOV based (Ampere+) Nvidia vGPU on 5.19.x (Kinetic) kernel.


Tarun Gupta (1):
  UBUNTU: SAUCE: (no-up) Add mdev_set_iommu_device() kABI.

 drivers/vfio/vfio_iommu_type1.c | 114 +++++++++++++++++++++++++++++---
 include/linux/mdev.h            |  20 ++++++
 2 files changed, 125 insertions(+), 9 deletions(-)

-- 
2.31.1




More information about the kernel-team mailing list