royger 3aa70f10cc xen/x86: don't lose event interrupts
On slow platforms with unreliable TSC, such as QEMU emulated machines,
it is possible for the FreeBSD kernel to request the next event in the
past. In that case, in the current implementation of
xentimer_vcpu_start_timer, we simply return -ETIME. To be precise Xen
returns -ETIME and we pass it on. As a consequence we need to loop
around to function to make sure that the timer is properly set.

Instead it is better to always ask the hypervisor for a timer event,
even if the timeout is past. To do that, remove the VCPU_SSHOTTMR_future
flag.

Submitted by:	Stefano Stabellini <sstabellini@kernel.org>
Reviewed by:	royger
MFC after:	2 weeks
2016-05-02 16:13:11 +00:00
..
2016-04-29 21:05:48 +00:00
2016-04-30 00:53:10 +00:00
2016-05-02 16:13:11 +00:00
2016-04-20 14:29:03 +00:00
2016-04-27 19:38:24 +00:00
2016-04-29 16:07:25 +00:00
2016-04-24 15:56:05 +00:00
2016-04-29 20:43:51 +00:00