]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix up queue-4.19/kvm-svm-override-default-mmio-mask-if-memory-encryption-is-enabled...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Mar 2020 14:31:17 +0000 (15:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Mar 2020 14:31:17 +0000 (15:31 +0100)
queue-4.19/kvm-svm-override-default-mmio-mask-if-memory-encryption-is-enabled.patch

index 63808c8a6b42eebb9b17e6720782c7d511c7e47a..93f437298fcfbd42f593ce89475b0b26be593eca 100644 (file)
@@ -72,7 +72,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 +       */
 +      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)