On 06/04/18 13:21, Andrew Cooper wrote: > On 06/04/18 08:52, Juergen Gross wrote: >> When switching to a 64-bit pv context the TLB is flushed twice today: >> the first time when switching to the new address space in >> write_ptbase(), the second time when switching to guest mode in >> restore_to_guest. >> >> Limit the first flush to non-global entries in that case. >> >> Signed-off-by: Juergen Gross <jgr...@suse.com> >> Reviewed-by: Jan Beulich <jbeul...@suse.com> > > This isn't safe. If any speculation/prefetching happens into the new > guest mappings, we will get machine check exceptions.
Okay, I'll drop that patch (it is more or less undone by patch 4 anyway). Juergen _______________________________________________ Xen-devel mailing list Xenfirstname.lastname@example.org https://lists.xenproject.org/mailman/listinfo/xen-devel