aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-5.4/811-kvm-0003-arm-arm64-KVM-drop-qman-mmio-cacheable-mapping-hack.patch
diff options
context:
space:
mode:
authorJohn Audia <graysky@archlinux.us>2020-08-26 06:29:39 -0400
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-30 19:44:47 +0200
commit05b8e84362b8455dec6db9b862826f21e8f24341 (patch)
treefc8ec494e6ca0531225d94be7346713d91e65893 /target/linux/layerscape/patches-5.4/811-kvm-0003-arm-arm64-KVM-drop-qman-mmio-cacheable-mapping-hack.patch
parentf589bd9283457f0bfddfeb2af468a413a3802b9b (diff)
downloadupstream-05b8e84362b8455dec6db9b862826f21e8f24341.tar.gz
upstream-05b8e84362b8455dec6db9b862826f21e8f24341.tar.bz2
upstream-05b8e84362b8455dec6db9b862826f21e8f24341.zip
kernel: bump 5.4 to 5.4.61
Manually merged: backport-5.4 011-kbuild-export-SUBARCH.patch layerscape 701-net-0262-net-dsa-ocelot-add-tagger-for-Ocelot-Felix-switches.patch All other modifications made by update_kernel.sh Build-tested: x86/64, lantiq/xrx200, ramips/mt7621 Run-tested: ipq806x (R7800), lantiq/xrx200, x86/64, ramips (RT-AC57U) No dmesg regressions, everything functional Signed-off-by: John Audia <graysky@archlinux.us> [minor commit message adjustments] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/layerscape/patches-5.4/811-kvm-0003-arm-arm64-KVM-drop-qman-mmio-cacheable-mapping-hack.patch')
-rw-r--r--target/linux/layerscape/patches-5.4/811-kvm-0003-arm-arm64-KVM-drop-qman-mmio-cacheable-mapping-hack.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/layerscape/patches-5.4/811-kvm-0003-arm-arm64-KVM-drop-qman-mmio-cacheable-mapping-hack.patch b/target/linux/layerscape/patches-5.4/811-kvm-0003-arm-arm64-KVM-drop-qman-mmio-cacheable-mapping-hack.patch
index 3c8203ea45..47ec98ec24 100644
--- a/target/linux/layerscape/patches-5.4/811-kvm-0003-arm-arm64-KVM-drop-qman-mmio-cacheable-mapping-hack.patch
+++ b/target/linux/layerscape/patches-5.4/811-kvm-0003-arm-arm64-KVM-drop-qman-mmio-cacheable-mapping-hack.patch
@@ -37,7 +37,7 @@ Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
--- a/virt/kvm/arm/mmu.c
+++ b/virt/kvm/arm/mmu.c
-@@ -1375,6 +1375,30 @@ out:
+@@ -1381,6 +1381,30 @@ out:
return ret;
}
@@ -68,7 +68,7 @@ Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
static bool transparent_hugepage_adjust(kvm_pfn_t *pfnp, phys_addr_t *ipap)
{
kvm_pfn_t pfn = *pfnp;
-@@ -1719,8 +1743,23 @@ static int user_mem_abort(struct kvm_vcp
+@@ -1725,8 +1749,23 @@ static int user_mem_abort(struct kvm_vcp
* 3 levels, i.e, PMD is not folded.
*/
if (vma_pagesize == PMD_SIZE ||
@@ -93,7 +93,7 @@ Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
up_read(&current->mm->mmap_sem);
/* We need minimum second+third level pages */
-@@ -1749,6 +1788,11 @@ static int user_mem_abort(struct kvm_vcp
+@@ -1755,6 +1794,11 @@ static int user_mem_abort(struct kvm_vcp
if (is_error_noslot_pfn(pfn))
return -EFAULT;
@@ -105,7 +105,7 @@ Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
if (kvm_is_device_pfn(pfn)) {
mem_type = PAGE_S2_DEVICE;
flags |= KVM_S2PTE_FLAG_IS_IOMAP;
-@@ -2337,6 +2381,9 @@ int kvm_arch_prepare_memory_region(struc
+@@ -2346,6 +2390,9 @@ int kvm_arch_prepare_memory_region(struc
gpa_t gpa = mem->guest_phys_addr +
(vm_start - mem->userspace_addr);
phys_addr_t pa;
@@ -115,7 +115,7 @@ Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
pa = (phys_addr_t)vma->vm_pgoff << PAGE_SHIFT;
pa += vm_start - vma->vm_start;
-@@ -2347,9 +2394,13 @@ int kvm_arch_prepare_memory_region(struc
+@@ -2356,9 +2403,13 @@ int kvm_arch_prepare_memory_region(struc
goto out;
}