summarylogtreecommitdiffstats
path: root/linux-6.3+-vm_flags_set.patch
diff options
context:
space:
mode:
Diffstat (limited to 'linux-6.3+-vm_flags_set.patch')
-rw-r--r--linux-6.3+-vm_flags_set.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/linux-6.3+-vm_flags_set.patch b/linux-6.3+-vm_flags_set.patch
new file mode 100644
index 000000000000..289db448115c
--- /dev/null
+++ b/linux-6.3+-vm_flags_set.patch
@@ -0,0 +1,11 @@
+--- Drivers/Dta/Source/Linux/DtaIal.c 2023-06-06 13:44:08.233215971 +0100
++++ Drivers/Dta/Source/Linux/DtaIal.c 2023-06-06 13:47:26.153399824 +0100
+@@ -786,7 +786,7 @@
+ pDvcData->m_pUserMapping = pUserMapping;
+
+ // Be sure the memory is mapped non-cacheable
+- pVma->vm_flags |= VM_IO;
++ vm_flags_set(pVma, VM_IO);
+ pVma->vm_page_prot = pgprot_noncached(pVma->vm_page_prot);
+
+ RegionStart = pDvcData->m_DtaRegs.m_PciAddr.QuadPart;