Re: [Xen-devel] [PATCH] xen/x86/pvh: Use HVM's flush_tlb_others op

From: Boris Ostrovsky
Date: Mon Dec 14 2015 - 09:05:43 EST


On 12/14/2015 08:58 AM, David Vrabel wrote:
On 13/12/15 00:25, Boris Ostrovsky wrote:
Using MMUEXT_TLB_FLUSH_MULTI doesn't buy us much since the hypervisor
will likely perform same IPIs as would have the guest.

More importantly, using MMUEXT_INVLPG_MULTI may not to invalidate the
guest's address on remote CPU (when, for example, VCPU from another guest
is running there).

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
Suggested-by: Jan Beulich <jbeulich@xxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx # 3.14+
Applied to for-linus-4.4, thanks. But given that PVH is experimental
I've dropped the stable Cc.

The reason I want this to go to stable is that I will be removing access to MMUEXT_TLB_FLUSH_MULTI and MMUEXT_INVLPG_MULTI to PVH guests in the hypervisor (as part of merging HVM and PVH hypercall tables) and that will result in essentially unbootable PVH guests due to warnings flood.

-boris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/