x86/hypervisor: pass flags to hypervisor_flush_tlb
authorWei Liu <wl@xen.org>
Thu, 9 Apr 2020 17:41:02 +0000 (18:41 +0100)
committerWei Liu <wl@xen.org>
Wed, 29 Apr 2020 09:32:18 +0000 (10:32 +0100)
commit3d2a0c7d58f729ed4f1920e5d41403e8a93301ff
tree27d341187f43c06bf2f4e47d07e650bf1921309e
parente9aca9470ed86966f9c0fd0db85132ff28d652c4
x86/hypervisor: pass flags to hypervisor_flush_tlb

Hyper-V's L0 assisted flush has fine-grained control over what gets
flushed. We need all the flags available to make the best decisions
possible.

No functional change because Xen's implementation doesn't care about
what is passed to it.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Paul Durrant <pdurrant@amazon.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/guest/hypervisor.c
xen/arch/x86/guest/xen/xen.c
xen/arch/x86/smp.c
xen/include/asm-x86/guest/hypervisor.h