intel-technology-enabling-for-openshift icon indicating copy to clipboard operation
intel-technology-enabling-for-openshift copied to clipboard

avoid MCO for vfio-pci. Find more elegent way to load vfio-pci by default

Open mregmi opened this issue 2 years ago • 3 comments

Issue: vfio-pci driver is needed by QAT and needs to be loaded before plugin is deployed. For now there is a MCO that loads the driver. We want to move away from the MCO.

Potential solution We can load the vfio-pci driver using initcontainers.

mregmi avatar Sep 13 '23 14:09 mregmi

We want to move away from the MCO.

It's not clear why this is the goal. How do you plan to get rid of setting kernel cmdline args for intel_iommu etc?

mythi avatar Sep 14 '23 07:09 mythi

We want to move away from the MCO.

It's not clear why this is the goal. How do you plan to get rid of setting kernel cmdline args for intel_iommu etc?

To achieve the final bootless goal. If we can't make the intel_iommu as the default kernel parameter for RHCOS. We will figure out a way and suggest user use this way to set it as the default parameter on day 1 when the user provisions the cluster.

uMartinXu avatar Sep 15 '23 23:09 uMartinXu

If we can't make the intel_iommu as the default kernel parameter for RHCOS.

It's probably not going to work out because this may need to be modifiable depending on the features users want.

For DSA/IAA, you are already going to need intel_iommu=on,sm_on but some may also want to turn if off intel_iommu=on,sm_off

mythi avatar Sep 18 '23 05:09 mythi