viridian: add ExProcessorMasks variant of the IPI hypercall
authorPaul Durrant <pdurrant@amazon.com>
Fri, 4 Dec 2020 12:15:21 +0000 (13:15 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 4 Dec 2020 12:15:21 +0000 (13:15 +0100)
commit9afa867d42ba1818ef0c69f787edc573c11f1f0f
tree538c7ce5a62f5f094250ab7c400d048dd8a0fb0e
parentb4124682db6ead82e856c1d406b5e7590afc228e
viridian: add ExProcessorMasks variant of the IPI hypercall

A previous patch introduced variants of the flush hypercalls that take a
'Virtual Processor Set' as an argument rather than a simple 64-bit mask.
This patch introduces a similar variant of the HVCALL_SEND_IPI hypercall
(HVCALL_SEND_IPI_EX).

NOTE: As with HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE/LIST_EX, a guest should
      not yet issue the HVCALL_SEND_IPI_EX hypercall as support for
      'ExProcessorMasks' is not yet advertised via CPUID.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Acked-by: Wei Liu <wl@xen.org>
xen/arch/x86/hvm/viridian/viridian.c