From 2ee40027e5d34bb8ef5daea5f14146140352b0cb Mon Sep 17 00:00:00 2001 From: Jakob-Naucke Date: Tue, 25 Aug 2020 17:10:35 +0200 Subject: [PATCH] packaging: Add VFIO-AP fragment for s390x Add vfio-ap.conf to the s390 kernel config fragments, which includes the necessary flags for passing an IBM Adjunct Processor (AP) device over VFIO. Fixes: #567 Signed-off-by: Jakob-Naucke Reviewed-by: alicefr --- .../kernel/configs/fragments/s390/vfio-ap.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tools/packaging/kernel/configs/fragments/s390/vfio-ap.conf diff --git a/tools/packaging/kernel/configs/fragments/s390/vfio-ap.conf b/tools/packaging/kernel/configs/fragments/s390/vfio-ap.conf new file mode 100644 index 0000000000..920142dd8c --- /dev/null +++ b/tools/packaging/kernel/configs/fragments/s390/vfio-ap.conf @@ -0,0 +1,13 @@ +# see https://www.kernel.org/doc/html/latest/s390/vfio-ap.html for more information + +# VFIO support for AP devices +CONFIG_VFIO_AP=y +CONFIG_VFIO_IOMMU_TYPE1=y +# VFIO Non-Privileged userspace driver framework +CONFIG_VFIO=y +# Mediated device driver framework +CONFIG_VFIO_MDEV=y +# VFIO driver for Mediated devices +CONFIG_VFIO_MDEV_DEVICE=y +# S390 AP IOMMU Support +CONFIG_S390_AP_IOMMU=y