From: Greg Kroah-Hartman Date: Tue, 3 Mar 2020 15:27:18 +0000 (+0100) Subject: fix up queue-4.14/kvm-svm-override-default-mmio-mask-if-memory-encryption-is-enabled... X-Git-Tag: v4.19.108~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a07600c7e26e8d5d323cdc1b99092aa1b831649d;p=thirdparty%2Fkernel%2Fstable-queue.git fix up queue-4.14/kvm-svm-override-default-mmio-mask-if-memory-encryption-is-enabled.patch --- diff --git a/queue-4.14/kvm-svm-override-default-mmio-mask-if-memory-encryption-is-enabled.patch b/queue-4.14/kvm-svm-override-default-mmio-mask-if-memory-encryption-is-enabled.patch index 88124b7b661..3e5e93231b3 100644 --- a/queue-4.14/kvm-svm-override-default-mmio-mask-if-memory-encryption-is-enabled.patch +++ b/queue-4.14/kvm-svm-override-default-mmio-mask-if-memory-encryption-is-enabled.patch @@ -72,7 +72,7 @@ Signed-off-by: Greg Kroah-Hartman + */ + mask = (mask_bit < 52) ? rsvd_bits(mask_bit, 51) | PT_PRESENT_MASK : 0; + -+ kvm_mmu_set_mmio_spte_mask(mask, mask, PT_WRITABLE_MASK | PT_USER_MASK); ++ kvm_mmu_set_mmio_spte_mask(mask, PT_WRITABLE_MASK | PT_USER_MASK); +} + static __init int svm_hardware_setup(void)