]> xenbits.xensource.com Git - people/jgross/xen.git/commit
x86/viridian: remove the viridian_vcpu msg_pending bit mask origin/coverity-tested/smoke
authorPaul Durrant <pdurrant@amazon.com>
Thu, 13 Aug 2020 10:35:53 +0000 (11:35 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 13 Aug 2020 11:42:26 +0000 (12:42 +0100)
commit391a8b6d20b72c4f24f8511f78ef75a6119cbe22
tree4f5e8f5ddf9d8db0b2a4a4b7cad4c930fd3bbe14
parente44d986084760929e32bd4f5456677d370206d7f
x86/viridian: remove the viridian_vcpu msg_pending bit mask

The mask does not actually serve a useful purpose as we only use the SynIC
for timer messages. Dropping the mask means that the EOM MSR handler
essentially becomes a no-op. This means we can avoid setting 'message_pending'
for timer messages and hence avoid a VMEXIT for the EOM.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
xen/arch/x86/hvm/viridian/synic.c
xen/arch/x86/hvm/vlapic.c
xen/include/asm-x86/hvm/viridian.h