66e0c5e297
modified is managed by libvirt and print warning if it is. xl-check-for-libvirt-managed-domain.patch - Upstream patches from Jan 53455585-x86-AMD-feature-masking-is-unavailable-on-Fam11.patch 5346a7a0-x86-AMD-support-further-feature-masking-MSRs.patch 534bbd90-x86-nested-HAP-don-t-BUG-on-legitimate-error.patch 534bdf47-x86-HAP-also-flush-TLB-when-altering-a-present-1G-or-intermediate-entry.patch 53563ea4-x86-MSI-drop-workaround-for-insecure-Dom0-kernels.patch 5357baff-x86-add-missing-break-in-dom0_pit_access.patch - XSA-92 xsa92.patch - Add # needssslcertforbuild to use the project's certificate when building in a home project. (bnc#872354) OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=312
24 lines
767 B
Diff
24 lines
767 B
Diff
# Commit c82fbfe6ec8be597218eb943641d1f7a81c4c01e
|
|
# Date 2014-04-14 15:14:47 +0200
|
|
# Author Jan Beulich <jbeulich@suse.com>
|
|
# Committer Jan Beulich <jbeulich@suse.com>
|
|
x86/HAP: also flush TLB when altering a present 1G or intermediate entry
|
|
|
|
Signed-off-by: Jan Beulich <jbeulich@suse.com>
|
|
Acked-by: Tim Deegan <tim@xen.org>
|
|
|
|
--- a/xen/arch/x86/mm/hap/hap.c
|
|
+++ b/xen/arch/x86/mm/hap/hap.c
|
|
@@ -711,9 +711,8 @@ hap_write_p2m_entry(struct vcpu *v, unsi
|
|
}
|
|
|
|
safe_write_pte(p, new);
|
|
- if ( (old_flags & _PAGE_PRESENT)
|
|
- && (level == 1 || (level == 2 && (old_flags & _PAGE_PSE))) )
|
|
- flush_tlb_mask(d->domain_dirty_cpumask);
|
|
+ if ( old_flags & _PAGE_PRESENT )
|
|
+ flush_tlb_mask(d->domain_dirty_cpumask);
|
|
|
|
paging_unlock(d);
|
|
|