viridian: introduce a per-cpu hypercall_vpmask and accessor functions...
authorPaul Durrant <pdurrant@amazon.com>
Fri, 4 Dec 2020 12:14:03 +0000 (13:14 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 4 Dec 2020 12:14:03 +0000 (13:14 +0100)
commit33c1a1c378e38d73d1b35b4bec6bdcd94bae41c2
tree28e8036440b1d7b66a7d775e5548cce08e7bb2bd
parent905d931bcafa7be77dfe21ee5a839286bb52cfaa
viridian: introduce a per-cpu hypercall_vpmask and accessor functions...

... and make use of them in hvcall_flush()/need_flush().

Subsequent patches will need to deal with virtual processor masks potentially
wider than 64 bits. Thus, to avoid using too much stack, this patch
introduces global per-cpu virtual processor masks and converts the
implementation of hvcall_flush() to use them.

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