diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2020-09-27 17:48:33 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-09-28 00:37:00 +0200 |
commit | f402571b496467ea4d55edc6ba98fcbaf37d4e34 (patch) | |
tree | 2009fce81a24aa43163749e79b44bb7e86145623 /target/linux/layerscape/patches-4.9/818-vfio-support-layerscape.patch | |
parent | 1da8cc1bbc251ad68cad01456e427d97f9c61cbd (diff) | |
download | upstream-f402571b496467ea4d55edc6ba98fcbaf37d4e34.tar.gz upstream-f402571b496467ea4d55edc6ba98fcbaf37d4e34.tar.bz2 upstream-f402571b496467ea4d55edc6ba98fcbaf37d4e34.zip |
kernel: Update kernel 4.9 to version 4.9.237
Compile and runtime tested on lantiq/xrx200 + ar71xx/generic.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/layerscape/patches-4.9/818-vfio-support-layerscape.patch')
-rw-r--r-- | target/linux/layerscape/patches-4.9/818-vfio-support-layerscape.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/layerscape/patches-4.9/818-vfio-support-layerscape.patch b/target/linux/layerscape/patches-4.9/818-vfio-support-layerscape.patch index 84eda53467..1840e9e261 100644 --- a/target/linux/layerscape/patches-4.9/818-vfio-support-layerscape.patch +++ b/target/linux/layerscape/patches-4.9/818-vfio-support-layerscape.patch @@ -1086,7 +1086,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> #define DRIVER_VERSION "0.2" #define DRIVER_AUTHOR "Alex Williamson <alex.williamson@redhat.com>" -@@ -733,6 +735,27 @@ static void vfio_test_domain_fgsp(struct +@@ -763,6 +765,27 @@ static void vfio_test_domain_fgsp(struct __free_pages(pages, order); } @@ -1114,7 +1114,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> static int vfio_iommu_type1_attach_group(void *iommu_data, struct iommu_group *iommu_group) { -@@ -741,6 +764,8 @@ static int vfio_iommu_type1_attach_group +@@ -771,6 +794,8 @@ static int vfio_iommu_type1_attach_group struct vfio_domain *domain, *d; struct bus_type *bus = NULL; int ret; @@ -1123,7 +1123,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> mutex_lock(&iommu->lock); -@@ -787,11 +812,15 @@ static int vfio_iommu_type1_attach_group +@@ -817,11 +842,15 @@ static int vfio_iommu_type1_attach_group if (ret) goto out_domain; @@ -1141,7 +1141,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> pr_warn("%s: No interrupt remapping support. Use the module param \"allow_unsafe_interrupts\" to enable VFIO IOMMU support on this platform\n", __func__); ret = -EPERM; -@@ -833,6 +862,12 @@ static int vfio_iommu_type1_attach_group +@@ -863,6 +892,12 @@ static int vfio_iommu_type1_attach_group if (ret) goto out_detach; |